gallery-dl: (chore) Add config to persist (#5484)

* add persist to gallery-dl

* Update bucket/gallery-dl.json

simplification

Co-authored-by: tech189 <dlloyd189@gmail.com>

* Update bucket/gallery-dl.json

fix error from file being empty

Co-authored-by: tech189 <dlloyd189@gmail.com>

---------

Co-authored-by: tech189 <dlloyd189@gmail.com>
This commit is contained in:
itsutsu 2024-03-08 14:01:28 -05:00 committed by GitHub
parent 6d227c4625
commit 2d67d51d3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@
"url": "https://github.com/mikf/gallery-dl/releases/download/v1.26.8/gallery-dl.exe",
"hash": "4d9f51c71196600de56bfb79e496ec9bc38edd5a00f09e43925d97276d49950d",
"bin": "gallery-dl.exe",
"pre_install": "if (-not (Test-Path \"$persist_dir\\gallery-dl.conf\")) { Set-Content \"$dir\\gallery-dl.conf\" '{}' -Encoding Ascii | Out-Null }",
"persist": "gallery-dl.conf",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/mikf/gallery-dl/releases/download/v$version/gallery-dl.exe"