diff --git a/bucket/pathofbuilding.json b/bucket/pathofbuilding.json index 05f54202..618b3ec9 100644 --- a/bucket/pathofbuilding.json +++ b/bucket/pathofbuilding.json @@ -6,6 +6,15 @@ "url": "https://github.com/Openarl/PathOfBuilding/releases/download/v1.4.168/PathOfBuilding-1.4.168.zip", "hash": "77ea15eef3badaf48b3be22515760d6955b6d46040a16da3824dc0a9819ea1a8", "bin": "Path of Building.exe", + "persist": [ + "Builds", + "Settings.xml" + ], + "pre_install": [ + "if(!(Test-Path \"$dir\\Settings.xml\")) {", + " Set-Content \"$dir\\Settings.xml\" -Value '' -Encoding ascii", + "}" + ], "shortcuts": [ [ "Path of Building.exe",