Skip to content

Commit

Permalink
sandboxie-plus: fix config persist
Browse files Browse the repository at this point in the history
  • Loading branch information
qianlongzt committed Oct 16, 2024
1 parent 8e11261 commit cc61fe7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions bucket/sandboxie-plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,19 @@
},
"pre_install": [
". $bucketsdir\\$bucket\\bin\\util.ps1",
"ensure $persist_dir",
"move_or -Origin \"$env:LocalAppData\\Sandboxie-Plus\\Sandboxie-Plus.ini\" -Target \"$persist_dir\\Sandboxie-Plus.ini\"",
"move_or -Origin \"$env:windir\\Sandboxie.ini\" -Target \"$persist_dir\\Sandboxie.ini\""
],
"persist": [
"Sandboxie-Plus.ini",
"Sandboxie.ini"
"##": "config will recreate by sandboxie.exe",
"post_install": [
"move-item \"$persist_dir\\Sandboxie-Plus.ini\" \"$dir\" -force",
"move-item \"$persist_dir\\Sandboxie.ini\" \"$dir\" -force"
],
"pre_uninstall": [
"ensure $persist_dir",
"move-item \"$dir\\Sandboxie-Plus.ini\" \"$persist_dir\"",
"move-item \"$dir\\Sandboxie.ini\" \"$persist_dir\""
],
"installer": {
"args": [
Expand Down

0 comments on commit cc61fe7

Please sign in to comment.