vba-m: set config for persists

master
beyondmeat 2022-03-20 02:39:25 -07:00 committed by Hugo Locurcio
parent 13ddc8ffdc
commit 0eb5e25728
2 changed files with 18 additions and 0 deletions

View File

@ -14,6 +14,15 @@
"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": [
[
"visualboyadvance-m.exe",

View File

@ -16,6 +16,15 @@
"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",
"shortcuts": [
[