julia: Use installer.script instead of original installer (#79)

* julia: Use installer.script instead of original installer

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
This commit is contained in:
Hsiao-nan Cheung 2019-05-20 17:03:20 +08:00 committed by GitHub
parent 7ae8a613e6
commit 3a8b51a621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,28 +13,12 @@
} }
}, },
"installer": { "installer": {
"file": "julia-installer.exe", "script": [
"args": [ "Expand-7zipArchive \"$dir\\julia-installer.exe\" \"$dir\" -Removal",
"/S", "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe\" -Recurse -Force"
"/D=$dir"
] ]
}, },
"uninstaller": { "bin": "bin\\julia.exe",
"file": "uninstall.exe",
"args": "/S"
},
"env_set": {
"JULIA_HOME": "$dir\\bin",
"JULIA_EXE": "julia.exe",
"JULIA": "$dir\\bin\\julia.exe",
"JL_PRIVATE_LIB_DIR": "bin"
},
"bin": [
[
"bin\\julia.exe",
"julia"
]
],
"checkver": { "checkver": {
"url": "https://julialang.org/downloads/", "url": "https://julialang.org/downloads/",
"re": "Current stable release: v([\\d.]+)" "re": "Current stable release: v([\\d.]+)"