mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-03-04 00:04:40 +00:00
84 lines
3.2 KiB
JSON
84 lines
3.2 KiB
JSON
{
|
|
"version": "2.936",
|
|
"description": "A large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.",
|
|
"homepage": "https://cygwin.com",
|
|
"license": {
|
|
"identifier": "GPL-3.0-or-later,X11,Public Domain",
|
|
"url": "https://cygwin.com/faq.html#faq.what.free"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cygwin.com/setup/setup-2.936.x86_64.exe#/cygwin-setup.exe",
|
|
"hash": "sha512:a5a5c8dac943dd70363fc96f6da23486c1f45f3f8077eab72566a323df61aed8197aedd3453dabe8308cde65d40589030ed428c50760fc72482af322fbbc8ed9"
|
|
},
|
|
"32bit": {
|
|
"url": "https://cygwin.com/setup/setup-2.936.x86.exe#/cygwin-setup.exe",
|
|
"hash": "sha512:9a10347ffdf03d88ebc5ed08b907a1e33aa5d82686427ec44917ea5f39371d7fda097c154ae6bc34f0ac018b0b7f37e913cbd9e461e595f5373b474477f7688b"
|
|
}
|
|
},
|
|
"installer": {
|
|
"script": [
|
|
"'root', 'packages' | Foreach-Object { ensure \"$persist_dir\\$_\" | Out-Null }",
|
|
"$install_args = @(",
|
|
" '--site', 'https://mirrors.kernel.org/sourceware/cygwin/'",
|
|
" '--no-admin', '--no-shortcuts', '--quiet-mode', '--upgrade-also'",
|
|
" '--local-package-dir', \"$persist_dir\\packages\", '--root', \"$persist_dir\\root\"",
|
|
")",
|
|
"Start-Process -FilePath \"$dir\\cygwin-setup.exe\" -ArgumentList $install_args -WindowStyle 'Hidden' -Wait",
|
|
"persist_data @{ persist = @('root', 'packages') } $original_dir $persist_dir",
|
|
"persist_permission @{ persist = @('root', 'packages') } $global"
|
|
]
|
|
},
|
|
"bin": [
|
|
[
|
|
"cygwin-setup.exe",
|
|
"cygwin-setup",
|
|
"--no-admin --no-shortcuts --no-version-check --local-package-dir \"$persist_dir\\packages\" --root \"$persist_dir\\root\""
|
|
],
|
|
[
|
|
"root\\bin\\bash.exe",
|
|
"cygwin",
|
|
"--login -i"
|
|
]
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"root\\Cygwin.bat",
|
|
"Cygwin\\Cygwin",
|
|
"",
|
|
"root\\Cygwin-Terminal.ico"
|
|
],
|
|
[
|
|
"cygwin-setup.exe",
|
|
"Cygwin\\Cygwin Setup",
|
|
"--no-admin --no-shortcuts --no-version-check --local-package-dir \"$persist_dir\\packages\" --root \"$persist_dir\\root\""
|
|
],
|
|
[
|
|
"root\\bin\\mintty.exe",
|
|
"Cygwin\\Cygwin Terminal",
|
|
"-i /Cygwin-Terminal.ico -",
|
|
"root\\Cygwin-Terminal.ico"
|
|
]
|
|
],
|
|
"uninstaller": {
|
|
"script": "unlink_persist_data @{ persist = @('root', 'packages') } $dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://cygwin.com/setup/?C=M;O=D",
|
|
"regex": "setup-([\\d.]+)\\.x86_64"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cygwin.com/setup/setup-$version.x86_64.exe#/cygwin-setup.exe"
|
|
},
|
|
"32bit": {
|
|
"url": "https://cygwin.com/setup/setup-$version.x86.exe#/cygwin-setup.exe"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://cygwin.com/setup/sha512.sum"
|
|
}
|
|
}
|
|
}
|