vba-m: set config for persists
parent
13ddc8ffdc
commit
0eb5e25728
|
@ -14,6 +14,15 @@
|
||||||
"url": "https://nightly.vba-m.com/visualboyadvance-m-Win-x86_64.zip"
|
"url": "https://nightly.vba-m.com/visualboyadvance-m-Win-x86_64.zip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pre_install": [
|
||||||
|
"if (!(Test-Path \"$persist_dir\\vbam.ini\")) {",
|
||||||
|
" New-Item \"$dir\\vbam.ini\" -Type File | Out-Null",
|
||||||
|
" Set-Content \"$dir\\vbam.ini\" '[General]'",
|
||||||
|
" Add-Content \"$dir\\vbam.ini\" 'OnlineUpdates=never'",
|
||||||
|
" 'Battery', 'Recording', 'Screenshot', 'State' | ForEach-Object {",
|
||||||
|
" Add-Content -Path \"$dir\\vbam.ini\" -Value $_`Dir`=$_ }",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
"bin": [
|
"bin": [
|
||||||
[
|
[
|
||||||
"visualboyadvance-m.exe",
|
"visualboyadvance-m.exe",
|
||||||
|
|
|
@ -16,6 +16,15 @@
|
||||||
"hash": "e73cb3d4a0f6eb890549f04fef575ff4d9d3beb3b20b4877c4039cc2d9342311"
|
"hash": "e73cb3d4a0f6eb890549f04fef575ff4d9d3beb3b20b4877c4039cc2d9342311"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pre_install": [
|
||||||
|
"if (!(Test-Path \"$persist_dir\\vbam.ini\")) {",
|
||||||
|
" New-Item \"$dir\\vbam.ini\" -Type File | Out-Null",
|
||||||
|
" Set-Content \"$dir\\vbam.ini\" '[General]'",
|
||||||
|
" Add-Content \"$dir\\vbam.ini\" 'OnlineUpdates=never'",
|
||||||
|
" 'Battery', 'Recording', 'Screenshot', 'State' | ForEach-Object {",
|
||||||
|
" Add-Content -Path \"$dir\\vbam.ini\" -Value $_`Dir`=$_ }",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
"bin": "visualboyadvance-m.exe",
|
"bin": "visualboyadvance-m.exe",
|
||||||
"shortcuts": [
|
"shortcuts": [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue