diff --git a/bucket/bbdown.json b/bucket/bbdown.json index 5a22e08073..d9185711a1 100644 --- a/bucket/bbdown.json +++ b/bucket/bbdown.json @@ -14,6 +14,13 @@ "hash": "a86dfe76d9c8a526c39a518f6958da2036dbc5644330afbf75d7fa10bccabc57" } }, + "pre_install": [ + "'BBDown.data' | ForEach-Object {", + " if (!(Test-Path -Path \"$persist_dir\\$_\")) {", + " New-Item -Type File \"$dir\\$_\" | Out-Null", + " }", + "}" + ], "bin": "BBDown.exe", "persist": "BBDown.data", "checkver": {