Skip to content

Commit

Permalink
add mpv
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbang9710 committed Dec 12, 2024
1 parent 6f561c3 commit 61e452c
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 8 deletions.
16 changes: 8 additions & 8 deletions TestNewManifest.ps1
Original file line number Diff line number Diff line change
@@ -1,19 +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'
$dir = 'E:\GitApps\scoop-apps\bucket-reference'
scoop config debug $true
& $checkver -Dir $dir HandyOutliner
& $checkver -Dir $dir HandyOutliner -ForceUpdate
scoop install E:\GitApps\scoop-apps\bucket\HandyOutliner.json
scoop update HandyOutliner -f
scoop uninstall HandyOutliner -p
& $checkver -Dir $dir mpv
& $checkver -Dir $dir mpv -ForceUpdate
scoop install "$dir\mpv.json"
scoop update mpv -f
scoop uninstall mpv
# git push
scoop update

& $checkver -Dir $dir *
& $checkver -Dir $dir * -Update
& $checkver -Dir $dir * -ForceUpdate
& $checkver -Dir $dir * -SkipUpdated
& $checkver -Dir $dir HandyOutliner -Version 4.6.2
& $checkver -Dir $dir HandyOutliner -Update -Version 4.6.2
& $checkver -Dir $dir mpv -Version 0.37.0
& $checkver -Dir $dir mpv -Update -Version 0.37.0
scoop status
42 changes: 42 additions & 0 deletions bucket/mpv.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version": "0.37.0",
"description": "Video player based on MPlayer/mplayer2 (builds by shinchiro)",
"homepage": "https://mpv.io",
"license": "LGPL-2.1-or-later,GPL-2.0-or-later",
"notes": "You can use Icaros ('nonportable/icaros-np') to enable thumbnails for all media types.",
"suggest": {
"yt-dlp": "yt-dlp"
},
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/release/mpv-0.37.0-x86_64.7z",
"hash": "sha1:e9f733515324ba90ce2efc6cfac905c3af37ab1e"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/release/mpv-0.37.0-i686.7z",
"hash": "sha1:a4e138669b25098b10d27d6aa959361ac49157e8"
}
},
"env_add_path": ".",
"shortcuts": [
[
"mpv.exe",
"mpv"
]
],
"persist": "portable_config",
"checkver": {
"sourceforge": "mpv-player-windows/release",
"regex": "mpv-([\\d.]+)-"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/release/mpv-$version-x86_64.7z"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/release/mpv-$version-i686.7z"
}
}
}
}

0 comments on commit 61e452c

Please sign in to comment.