forked from okibcn/ScoopMaster
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update timestamp 2024-10-16T08:53:59Z
- Loading branch information
1 parent
f92a5db
commit dcfa174
Showing
22 changed files
with
145 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,53 @@ | ||
{ | ||
"version": "130.0.6723.59", | ||
"description": "Fast, secure, and free web browser, built for the modern web.", | ||
"homepage": "https://www.google.com/chrome/", | ||
"license": { | ||
"identifier": "Freeware", | ||
"url": "https://www.google.com/chrome/privacy/eula_text.html" | ||
}, | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://dl.google.com/release2/chrome/pokjxtoygfsw4jqgjlhz6qzqhm_130.0.6723.59/130.0.6723.59_chrome_installer.exe#/dl.7z", | ||
"hash": "31de3681fc61de5f8279268142fa364de00c7f13b3f30883788b9c16f7543d4f" | ||
}, | ||
"32bit": { | ||
"url": "https://dl.google.com/release2/chrome/kdjx3n2lzl3l5ntev4iezohyu4_130.0.6723.59/130.0.6723.59_chrome_installer.exe#/dl.7z", | ||
"hash": "fa37dcee4beef7a16fd88e598cdd6cf970727b1f12859a8dfed2d4d87b36291c" | ||
} | ||
}, | ||
"description": "浏览器 Chrome", | ||
"homepage": "https://google.com/chrome", | ||
"url": "https://dl.google.com/release2/chrome/pokjxtoygfsw4jqgjlhz6qzqhm_130.0.6723.59/130.0.6723.59_chrome_installer.exe#/dl.7z", | ||
"hash": "31de3681fc61de5f8279268142fa364de00c7f13b3f30883788b9c16f7543d4f", | ||
"installer": { | ||
"script": "Expand-7zipArchive \"$dir\\chrome.7z\" -ExtractDir 'Chrome-bin' -Removal" | ||
}, | ||
"bin": [ | ||
[ | ||
"chrome.exe", | ||
"chrome", | ||
"--user-data-dir=\"$dir\\User Data\"" | ||
"chrome" | ||
] | ||
], | ||
"shortcuts": [ | ||
[ | ||
"chrome.exe", | ||
"Google Chrome", | ||
"--user-data-dir=\"$dir\\User Data\"" | ||
"Google Chrome" | ||
], | ||
[ | ||
"chrome.exe", | ||
"Google Chrome Proxy", | ||
"--proxy-server=\"socks5://127.0.0.1:1080\"" | ||
] | ||
], | ||
"post_install": [ | ||
"if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\Google\\Chrome\\User Data\")) {", | ||
" info '[Portable Mode]: Copying user data...'", | ||
" Copy-Item \"$env:LocalAppData\\Google\\Chrome\\User Data\\*\" \"$dir\\User Data\" -Recurse", | ||
"}" | ||
], | ||
"env_set": { | ||
"CHROME_EXECUTABLE": "$dir\\chrome.exe" | ||
}, | ||
"persist": "User Data", | ||
"post_install": [ | ||
"$chrome = \"$env:LocalAppData\\Google\\Chrome\"", | ||
"New-Item -ItemType Directory -Force -Path \"$chrome\"", | ||
"if ((Test-Path \"$dir\\User Data\") -and !(Test-Path \"$chrome\\User Data\")) {", | ||
" New-Item -ItemType SymbolicLink -Target \"$dir\\User Data\" -Path \"$chrome\\User Data\"", | ||
"}" | ||
], | ||
"notes": "AutoProxy: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt", | ||
"uninstaller": { | ||
"script": "[Environment]::SetEnvironmentVariable('CHROME_EXECUTABLE', '', 'User')" | ||
}, | ||
"checkver": { | ||
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml", | ||
"regex": "(?sm)<stable32><version>(?<version>[\\d.]+)</version>.+release2/chrome/(?<32>[\\w-]+)_.+<stable64>.+release2/chrome/(?<64>[\\w-]+)_.+</stable64>" | ||
}, | ||
"autoupdate": { | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://dl.google.com/release2/chrome/$match64_$version/$version_chrome_installer.exe#/dl.7z", | ||
"hash": { | ||
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml", | ||
"xpath": "/chromechecker/stable64[version='$version']/sha256" | ||
} | ||
}, | ||
"32bit": { | ||
"url": "https://dl.google.com/release2/chrome/$match32_$version/$version_chrome_installer.exe#/dl.7z", | ||
"hash": { | ||
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml", | ||
"xpath": "/chromechecker/stable32[version='$version']/sha256" | ||
} | ||
} | ||
"url": "https://dl.google.com/release2/chrome/$match64_$version/$version_chrome_installer.exe#/dl.7z", | ||
"hash": { | ||
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml", | ||
"xpath": "/chromechecker/stable64[version='$version']/sha256" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.