(chore): Stop removing '*.nsis' (#5796)

This commit is contained in:
Hsiao-nan Cheung 2024-05-06 20:30:57 +08:00 committed by GitHub
parent 031c40b508
commit 01671dc526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@
"file": "Install.exe",
"args": "-sasl"
},
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe.nsis\", \"$dir\\vcredist*\" -Force -Recurse",
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\vcredist*\" -Force -Recurse",
"bin": [
"bin\\erl.exe",
"bin\\erlc.exe",

View File

@ -8,7 +8,7 @@
"hash": "sha1:9ffe88554341f28e077ef42150b149a851af2fae",
"installer": {
"script": [
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
"Copy-Item \"$dir\\bin\\gpg.exe\" \"$dir\\bin\\gpg2.exe\"",
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",

View File

@ -8,7 +8,7 @@
"hash": "sha1:9ffe88554341f28e077ef42150b149a851af2fae",
"installer": {
"script": [
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
"Copy-Item \"$dir\\bin\\gpg.exe\" \"$dir\\bin\\gpg2.exe\"",
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",

View File

@ -5,11 +5,11 @@
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
"url": "https://qemu.weilnetz.de/w64/2024/qemu-w64-setup-20240423.exe#/dl.7z_",
"url": "https://qemu.weilnetz.de/w64/2024/qemu-w64-setup-20240423.exe#/dl.7z",
"hash": "sha512:8d71ad28bb4001d2d2d2144c7bed2bfb5956eb627f7884e540a6ca2ff0cb071f79d767aac807f3cff1cc24669dfd1a83945ee4760c751debeac6e72cb25ed295"
}
},
"pre_install": "Expand-7zipArchive \"$dir\\dl.7z_\" \"$dir\" -Removal -Switches '-xr!*.exe.nsis -x!$PLUGINSDIR -x!qemu-uninstall.exe'",
"pre_install": "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\qemu-uninstall.exe\" -Force -Recurse",
"env_add_path": ".",
"checkver": "<strong>(?<year>\\d{4})-(?<month>\\d{2})-(?<day>\\d{2})</strong>: New QEMU installer \\(([\\d.]+)\\)",
"autoupdate": {

View File

@ -12,11 +12,11 @@
},
"architecture": {
"64bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.3.3.20231005.exe#/dl.7z_",
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.3.3.20231005.exe#/dl.7z",
"hash": "79af1f9153b8ff988baffaa164fc70799950078f887e2c93dc3fa7efed674b21"
}
},
"pre_install": "Expand-7zipArchive \"$dir\\dl.7z_\" \"$dir\" -Removal -Switches '-x!*.exe.nsis -x!$PLUGINSDIR'",
"pre_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"post_install": [
"$langdir = versiondir tesseract-languages current $global",
"if (Test-Path $langdir) {",