-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplc.scoop
More file actions
26 lines (26 loc) · 807 Bytes
/
plc.scoop
File metadata and controls
26 lines (26 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{
"version": "{0}",
"homepage": "https://pivotlang.tech",
"license": "MIT",
"description": "Pivot Lang Compiler",
"bin": [
"win64\\plc.exe"
],
"architecture": {{
"64bit": {{
"url": "https://github.com/Pivot-Studio/pivot-lang/releases/download/{0}/{1}",
"type": "tar.xz",
"sha256": "{2}"
}}
}},
"post_install": [
"setx KAGARI_LIB_ROOT \"$dir\\win64\\planglib\"",
"setx PL_ROOT \"$dir\\win64\"",
"$env:KAGARI_LIB_ROOT=\"$dir\\win64\\planglib\"",
"$env:PL_ROOT=\"$dir\\win64\""
],
"post_uninstall":[
"[Environment]::SetEnvironmentVariable('KAGARI_LIB_ROOT', $null, 'User')",
"[Environment]::SetEnvironmentVariable('PL_ROOT', $null, 'User')"
]
}}