fix(multiple): Change Expand-DarkArchive parameter order (#56)

This commit is contained in:
Hsiao-nan Cheung 2019-05-16 01:27:08 +08:00 committed by Richard Kuhnt
parent 0dc4efce64
commit 0f0c408b2e
3 changed files with 7 additions and 7 deletions

View File

@ -12,8 +12,8 @@
"hash": "296ff6358d3d9db6723cc7643778b1bf0cf6a3a7492438db4d3a31037391db56",
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\_tmp\" \"$dir\\$fname\" | Out-Null",
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\ROpen.msi\" \"$dir\\_tmp\" | Out-Null",
"Expand-DarkArchive \"$dir\\$fname\" \"$dir\\_tmp\"",
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\ROpen.msi\" \"$dir\\_tmp\"",
"movedir \"$dir\\_tmp\\Microsoft\\MRO-$version.0\" \"$dir\" | Out-Null",
"Expand-7zipArchive \"$dir\\Setup\\*.cab\" \"$dir\\Setup\"",
"Remove-Item \"$dir\\bin\\x64\\Rblas.dll\", \"$dir\\bin\\x64\\Rlapack.dll\" -Force",

View File

@ -7,16 +7,16 @@
"identifier": "Proprietary",
"url": "https://support.plex.tv/articles/204096476-license-information/"
},
"url": "https://downloads.plex.tv/plex-media-server-new/1.15.4.994-107756f7e/windows/PlexMediaServer-1.15.4.994-107756f7e-x86.exe#/installer.exe",
"url": "https://downloads.plex.tv/plex-media-server-new/1.15.4.994-107756f7e/windows/PlexMediaServer-1.15.4.994-107756f7e-x86.exe",
"hash": "sha1:caeb12ae1080db20c11a86dba3b3e9b2e7bffc6d",
"installer": {
"script": [
"$extracted = \"$dir\\extracted\"",
"$msi = \"$dir\\msi\"",
"Expand-DarkArchive \"$extracted\" \"$dir\\installer.exe\" | Out-Null",
"Expand-DarkArchive \"$dir\\$fname\" \"$extracted\"",
"Expand-MsiArchive \"$extracted\\AttachedContainer\\pms.msi\" \"$msi\"",
"Move-Item \"$msi\\Msi\\*\" \"$dir\" -Force",
"Remove-Item $extracted, $msi, \"$dir\\installer.exe\" -Force -Recurse"
"Remove-Item $extracted, $msi, \"$dir\\$fname\" -Force -Recurse"
]
},
"bin": [
@ -36,7 +36,7 @@
"jsonpath": "$.computer.windows.version"
},
"autoupdate": {
"url": "https://downloads.plex.tv/plex-media-server-new/$version/windows/PlexMediaServer-$version-x86.exe#/installer.exe",
"url": "https://downloads.plex.tv/plex-media-server-new/$version/windows/PlexMediaServer-$version-x86.exe",
"hash": {
"url": "https://plex.tv/api/downloads/1.json",
"jsonpath": "$.computer.Windows.releases..checksum"

View File

@ -15,7 +15,7 @@
},
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\_tmp\" \"$dir\\$fname\" | Out-Null",
"Expand-DarkArchive \"$dir\\$fname\" \"$dir\\_tmp\"",
"@('launcher.msi', 'path.msi', 'pip.msi') | ForEach-Object {",
" Remove-Item \"$dir\\_tmp\\AttachedContainer\\$_\"",
"}",