Skip to content

Commit

Permalink
ydl-ui: Update to 2.6.2 (manually) (#3125)
Browse files Browse the repository at this point in the history
* ydl-ui: fix checkver

* add persist, disable update

* Modify installer.script

* Apply suggestions (installer)

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

* Apply suggestion (persist)

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
  • Loading branch information
issaclin32 and Ash258 committed Nov 8, 2019
1 parent 9ae73cd commit d417fe3
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions bucket/ydl-ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,33 @@
"homepage": "https://github.com/Maxstupo/ydl-ui",
"description": "A UI for the command-line video downloader youtube-dl",
"license": "MIT",
"version": "2.6.1",
"url": "https://github.com/Maxstupo/ydl-ui/releases/download/v2.6.1/YDL-UI_Portable_v2.6.1.zip",
"hash": "acc5dce425df07fab5d9b59190f2720cd5b18f2852f424900abd06252281bfa1",
"extract_dir": "YDL_UI_v2.6.1_Portable",
"version": "2.6.2",
"url": "https://github.com/Maxstupo/ydl-ui/releases/download/v2.6.2/YDL_UI_v2.6.2_Portable.zip",
"hash": "774a4bf579eaa253f4712d561f7a6b0b545a959fec8e6f17078963a453ef8542",
"extract_dir": "YDL_UI_v2.6.2_Portable",
"installer": {
"script": [
"if ((!(Test-Path \"$persist_dir\\ydl-ui.json\")) -and (Test-Path \"$dir\\ydl-ui.json\")) {",
" $cont = Get-Content \"$dir\\ydl-ui.json\" | ConvertFrom-Json",
" $cont.CheckForUpdates = $false",
" $cont | ConvertToPrettyJson | Set-Content \"$dir\\ydl-ui.json\" -Encoding Ascii -Force",
"}"
]
},
"bin": "YDL-UI.exe",
"shortcuts": [
[
"YDL-UI.exe",
"YDL-UI"
]
],
"persist": [
"download-list.json",
"ydl-ui.json"
],
"checkver": "github",
"autoupdate": {
"url": "https://github.com/Maxstupo/ydl-ui/releases/download/v$version/YDL-UI_Portable_v$version.zip",
"url": "https://github.com/Maxstupo/ydl-ui/releases/download/v$version/YDL_UI_v$version_Portable.zip",
"extract_dir": "YDL_UI_v$version_Portable"
}
}

0 comments on commit d417fe3

Please sign in to comment.