Skip to content

Commit

Permalink
Update speedcrunch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
HUMORCE authored Aug 31, 2023
1 parent d2509b2 commit 40aeb95
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions bucket/speedcrunch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,18 @@
"url": "https://bitbucket.org/heldercorreia/speedcrunch/downloads/SpeedCrunch-0.12-win32.zip",
"hash": "024362bccd7908b508192cd90c2f6a716b5aa4fa5c7ff2aea9a1bf49d6580175",
"extract_dir": "SpeedCrunch-0.12-win32",
"pre_install": [
"# Manually create history and config files to allow to persist them (SpeedCrunch.ini is overwritten by Speedcrunch, so can't be persisted)",
"if (-not (Test-Path '$dir/history.json')) {",
" set-content -path $dir/history.json -value '{}' -encoding utf8 }",
"if (-not (Test-Path '$dir/SpeedCrunch.ini')) {",
" set-content -path $dir/SpeedCrunch.ini -value '' -encoding utf8 }"
],
"pre_install": "Get-ChildItem \"$persist_dir\\*\" -Include 'history.json', 'SpeedCrunch.ini' -ErrorAction SilentlyContinue | Copy-Item -Destination \"$dir\" -ErrorAction SilentlyContinue",
"bin": "speedcrunch.exe",
"shortcuts": [
[
"speedcrunch.exe",
"SpeedCrunch"
]
],
"persist": ["history.json"],
"pre_uninstall": [
"ensure \"$persist_dir\"",
"Get-ChildItem \"$dir\\*\" -Include 'history.json', 'SpeedCrunch.ini' -ErrorAction SilentlyContinue | Copy-Item -Destination \"$persist_dir\" -ErrorAction SilentlyContinue"
],
"checkver": {
"url": "https://heldercorreia.bitbucket.io/speedcrunch/download.html",
"regex": "<h1>Version\\s+([\\d.]+)<\\/h1>"
Expand Down

0 comments on commit 40aeb95

Please sign in to comment.