mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
dark: Add version 3.11 (and mod apps using dark) (#3219)
- Add dark v3.11 - Modify `mro` and `plex-server` which using `dark` as extractor
This commit is contained in:
parent
8fc996be06
commit
ccc4a08585
18
dark.json
Normal file
18
dark.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"homepage": "http://wixtoolset.org/",
|
||||
"license": "MS-RL",
|
||||
"version": "3.11",
|
||||
"url": "https://raw.githubusercontent.com/scoopinstaller/binary-mirror/master/dark/dark-3.11.zip",
|
||||
"hash": "48763b0f63062ccbf4a4d852761008ae59e0c01ef3fb116883592f4a1c67c61d",
|
||||
"bin": "dark.exe",
|
||||
"checkver": {
|
||||
"url": "https://github.com/scoopinstaller/binary-mirror/tree/master/dark",
|
||||
"re": "dark-([0-9.]+).zip"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://raw.githubusercontent.com/scoopinstaller/binary-mirror/master/dark/dark-$version.zip",
|
||||
"hash": {
|
||||
"url": "$url.sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
10
mro.json
10
mro.json
@ -3,7 +3,7 @@
|
||||
"description": "Microsoft R Open: The enhanced distribution of R from Microsoft Corporation",
|
||||
"homepage": "https://mran.microsoft.com/",
|
||||
"license": "GPL-2.0-only",
|
||||
"depends": "wixtoolset",
|
||||
"depends": "dark",
|
||||
"suggest": {
|
||||
"Visual C/C++ Runtime 2015": "extras/vcredist2015"
|
||||
},
|
||||
@ -13,13 +13,13 @@
|
||||
"hash": "30de2b2fefed091452695e03c805fcefcef00ab30b3df04363b72d9d44bac494",
|
||||
"installer": {
|
||||
"script": [
|
||||
"&(scoop which dark) -nologo -x \"$dir\\tmp\" \"$dir\\mro.exe\" | Out-Null",
|
||||
"&(file_path dark dark.exe) -nologo -x \"$dir\\tmp\" \"$dir\\mro.exe\" | Out-Null",
|
||||
"extract_msi \"$dir\\tmp\\AttachedContainer\\ROpen.msi\" \"$dir\\tmp\" | Out-Null",
|
||||
"Move-Item \"$dir\\tmp\\Microsoft\\MRO-$version.0\\*\" \"$dir\" -Force",
|
||||
"movedir \"$dir\\tmp\\Microsoft\\MRO-$version.0\" \"$dir\" | Out-Null",
|
||||
"extract_7zip \"$dir\\Setup\\*.cab\" \"$dir\\Setup\"",
|
||||
"Remove-Item \"$dir\\bin\\x64\\Rblas.dll\", \"$dir\\bin\\x64\\Rlapack.dll\" -Force",
|
||||
"Move-Item \"$dir\\Setup\\bin\\x64\\*\" \"$dir\\bin\\x64\" -Force",
|
||||
"Move-Item \"$dir\\Setup\\library\\*\" \"$dir\\library\" -Force",
|
||||
"movedir \"$dir\\Setup\\bin\\x64\" \"$dir\\bin\\x64\" | Out-Null",
|
||||
"movedir \"$dir\\Setup\\library\" \"$dir\\library\" | Out-Null",
|
||||
"Remove-Item \"$dir\\tmp\", \"$dir\\Setup\", \"$dir\\mro.exe\" -Force -Recurse"
|
||||
]
|
||||
},
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"script": [
|
||||
"$extracted = \"$dir\\extracted\"",
|
||||
"$msi = \"$dir\\msi\"",
|
||||
"&(scoop which dark) -nologo -x \"$extracted\" \"$dir\\installer.exe\" | Out-Null",
|
||||
"&(file_path dark dark.exe) -nologo -x \"$extracted\" \"$dir\\installer.exe\" | Out-Null",
|
||||
"extract_msi \"$extracted\\AttachedContainer\\pms.msi\" \"$msi\"",
|
||||
"Move-Item \"$msi\\Msi\\*\" \"$dir\" -Force",
|
||||
"Remove-Item $extracted, $msi, \"$dir\\installer.exe\" -Force -Recurse"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user