l4d2modmanager: Fix persist with a pre_install script (#620)
Co-authored-by: ClassicDarkChocolate <>master
parent
8ac1024e60
commit
576c7b51d1
|
@ -5,6 +5,10 @@
|
|||
"license": "MIT",
|
||||
"url": "https://github.com/xavier-cai/L4D2ModManager/raw/master/Release/Release.zip",
|
||||
"hash": "1d6ee3be4ecad84f9a7afdb4616f0d37973750c5884711352fa4b7ce5ae6b348",
|
||||
"pre_install": [
|
||||
"if (!(Test-Path -Path \"$persist_dir\\list-box.ini\")) { New-Item -Path \"$dir\" -Name \"list-box.ini\" -Value \"[]\" | Out-Null }",
|
||||
"if (!(Test-Path -Path \"$persist_dir\\view-list.ini\")) { New-Item -Path \"$dir\" -Name \"view-list.ini\" -Value \"[]\" | Out-Null }"
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"L4D2ModManager.exe",
|
||||
|
|
Loading…
Reference in New Issue