Skip to content

Commit

Permalink
qbittorrent: make portable, persist
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrity committed Apr 16, 2019
1 parent c069047 commit 31e3921
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bucket/qbittorrent.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,22 @@
"hash": "72ecfe934a8dc819f47bb100011b9bb3569b4e9ee2d1fbe7cd1d048662b2198b"
}
},
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"pre_install": "if(!(Test-Path \"$persist_dir\\profile\")) { New-Item \"$dir\\profile\" -Type Directory | Out-Null }",
"persist": "profile",
"post_install": [
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"Remove-Item \"$dir\\uninst.exe\" -Force"
],
"bin": "qbittorrent.exe",
"shortcuts": [
[
"qbittorrent.exe",
"qBittorrent"
]
],
"env_set": {
"QBT_PORTABLE": "1"
},
"checkver": {
"url": "https://www.qbittorrent.org/download.php",
"re": "Latest:\\s+v([\\d.]+)"
Expand Down

0 comments on commit 31e3921

Please sign in to comment.