Skip to content

Commit

Permalink
add 2 manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbang9710 committed Oct 27, 2024
1 parent 339e571 commit 1784d87
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 20 deletions.
19 changes: 19 additions & 0 deletions TestNewManifest.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#1 Autoupdate workflow https://github.com/ScoopInstaller/Scoop/wiki/App-Manifest-Autoupdate
$checkver = "$env:SCOOP/apps/scoop/current/bin/checkver.ps1"
$dir = 'E:\GitApps\scoop-apps\bucket'
scoop config debug $true
& $checkver -Dir $dir hotkey-detective
& $checkver -Dir $dir hotkey-detective -ForceUpdate
scoop install E:\GitApps\scoop-apps\bucket\hotkey-detective.json
scoop update hotkey-detective -f
scoop uninstall hotkey-detective -p
# git push
scoop update

& $checkver -Dir $dir *
& $checkver -Dir $dir * -Update
& $checkver -Dir $dir * -ForceUpdate
& $checkver -Dir $dir * -SkipUpdated
& $checkver -Dir $dir hotkey-detective -Version 4.6.2
& $checkver -Dir $dir hotkey-detective -Update -Version 4.6.2
scoop status
20 changes: 0 additions & 20 deletions autoupdate.ps1

This file was deleted.

25 changes: 25 additions & 0 deletions bucket/HandyOutliner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"homepage": "https://handyoutlinerfo.sourceforge.net/",
"description": "HandyOutliner for DjVu / PDF.",
"license": "GPL v2",
"version": "1.1.6.4",
"architecture": {
"64bit": {
"url": "http://sourceforge.net/projects/handyoutlinerfo/files/1.1.6.4/handyoutliner_1.1.6.4.zip",
"hash": "4952d7379df8bc44df67cef5f1915091b2a5289ff837f59d3d53847d22711fa0"
}
},
"bin": "HandyOutliner.exe",
"checkver": {
"url": "https://handyoutlinerfo.sourceforge.net/",
"regex": "Current version ([\\d].[\\d].[\\d].[\\d]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://sourceforge.net/projects/handyoutlinerfo/files/$version/handyoutliner_$version.zip"
}
},
"extract_dir": "HandyOutliner_$version"
}
}
22 changes: 22 additions & 0 deletions bucket/hotkey-detective.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "1.1.0",
"description": "Hotkey Detective is a small utility for investigating what application holds a global hotkey under Windows 8 and later.",
"homepage": "https://github.com/ITachiLab/hotkey-detective",
"license": "GPL-3.0 license",
"url": "https://github.com/ITachiLab/hotkey-detective/releases/download/1.1.0/hotkey-detective-1.1.0.zip",
"hash": "a1c0027d32c2346fd4cb98d63dc9f2b5e861f75653809983fea8afbd16d7aa35",
"shortcuts": [
[
"x64\\HotkeyDetective.exe",
"HotKey Detective (64 bit)"
],
[
"x86\\HotkeyDetective.exe",
"HotKey Detective (32 bit)"
]
],
"checkver": "github",
"autoupdate": {
"url": "https://github.com/ITachiLab/hotkey-detective/releases/download/$version/hotkey-detective-$version.zip"
}
}

0 comments on commit 1784d87

Please sign in to comment.