nilaoda / BBDown

Bilibili Downloader. 一款命令行式哔哩哔哩下载器.
MIT License
9.8k stars 1.27k forks source link

使用 scoop 安装 #438

Closed canvascat closed 1 year ago

canvascat commented 2 years ago

感觉 Windows 下 scoop 安装 app 太丝滑了。 比如安装 ffmpeg, scoop install ffmpeg,支持自定义 Bucket,来安装 BBDown。 这是我刚做的一个尝试:https://github.com/canvascat/scoop-bucket

Goojoe commented 2 years ago

不错不错,支持一下

LinHier commented 1 year ago

不知道scoop官方的extra bucket的准入门槛是什么,能加到这个里面就更方便了,省得还得维护自定bucket

bryarrow commented 1 year ago

刚刚自己做了一个scoop bucket就看到这个issue🤣这个issue还有人理吗,我也希望能用scoop安装 (自己的bucket:https://github.com/bryarrow/scoopBBdown

liuxsdev commented 1 year ago

已提交至 Scoop Main Bucket: https://github.com/ScoopInstaller/Main/pull/4924 现在可以使用scoop install bbdown 安装了 😁

nilaoda commented 1 year ago

已提交至 Scoop Main Bucket: ScoopInstaller/Main#4924 现在可以使用scoop install bbdown 安装了 😁

非常感谢你的贡献。现在你可以编辑 Readme,将 Scoop 安装/升级命令附上后提交 PR。

pein0saga commented 1 year ago

已提交至 Scoop Main Bucket: ScoopInstaller/Main#4924 现在可以使用scoop install bbdown 安装了 😁

兄弟, Scoop Main Bucket 里面的BBDown总是小一个版本号更新不及时,这要怎么解决?

liuxsdev commented 1 year ago

已提交至 Scoop Main Bucket: ScoopInstaller/Main#4924 现在可以使用scoop install bbdown 安装了 😁

兄弟, Scoop Main Bucket 里面的BBDown总是小一个版本号更新不及时,这要怎么解决?

Main 里面是最新的1.6.1 啊 https://github.com/ScoopInstaller/Main/blob/master/bucket/bbdown.json

pein0saga commented 1 year ago

已提交至 Scoop Main Bucket: ScoopInstaller/Main#4924 现在可以使用scoop install bbdown 安装了 😁

兄弟, Scoop Main Bucket 里面的BBDown总是小一个版本号更新不及时,这要怎么解决?

Main 里面是最新的1.6.1 啊 https://github.com/ScoopInstaller/Main/blob/master/bucket/bbdown.json

所以才有如下没法同步更新的疑问。

PS C:\Users\Administrator> scoop update bbdown
Updating Scoop...
Updating 'anderlli0053_DEV-tools' bucket...
Updating files: 100% (13/13), done.
 * 746c3d8b78 chromium-dev: Update to version 119.0.6001.0-r1194570      3 hours ago
 * 60bda3067f chromium-canary: Update to version 1194570                 3 hours ago
 * 25d1b403ee bkviewer: Update to version 7.4a                           3 hours ago
 * 1a19af4727 bkviewer-pro: Update to version 7.4a                       3 hours ago
 * 9a2b6ec3d4 chromium-crlset: Update to version 8230                    7 hours ago
 * 74b1211a38 beef-nightly: Update to version 0.43.5.09092023            7 hours ago
 * 3a4cc95e7f apifox_zhoujin7: Update to version 2.3.15                  7 hours ago
 * a99cd56705 apifox_ygguorun: Update to version 2.3.15                  7 hours ago
 * af1289dc83 apifox_ViCrack: Update to version 2.3.15                   7 hours ago
 * 59716538d2 apifox_ScoopInstaller: Update to version 2.3.15            7 hours ago
 * a91c597c02 apifox: Update to version 2.3.15                           7 hours ago
 * b3bcd23dd9 apifox-portable: Update to version 2.3.15                  7 hours ago
 * 81e6458f60 a5m2beta: Update to version 2.19.0_beta4                   7 hours ago
Updating 'extras' bucket...
Updating files: 100% (13/13), done.
 * 9ff803128 qownnotes: Update to version 23.9.2                         3 hours ago
 * 084a041af privacy.sexy: Update to version 0.12.3                      3 hours ago
 * 6fdc6f8ea metasploit-framework: Update to version 6.3.34-2023091010.. 3 hours ago
 * c7b5a60a9 kcc: Update to version 5.6.3                                3 hours ago
 * ca069b769 flowgorithm: Update to version 3.5.1                        3 hours ago
 * 8f11bc34d elisa: Update to version 23.08.0-1618                       3 hours ago
 * 692717772 clash-verge: Update to version 1.3.7                        3 hours ago
 * decbd8055 caprine: Update to version 2.58.1                           3 hours ago
 * 23177a277 ktlint: Move to `Main` bucket (#11859)                      7 hours ago
 * fbc0035be kate: Update to version 23.08.0-2152                        7 hours ago
 * ba50bab5c jackett: Update to version 0.21.768                         7 hours ago
 * c38530628 fancontrol: Update to version 170                           7 hours ago
 * c20bb69f6 apifox: Update to version 2.3.15                            7 hours ago
Updating 'main' bucket...
 * 77166d0a4 red: Update to version 10sep23                              3 hours ago
 * f669ee029 red-view: Update to version 10sep23                         3 hours ago
 * 0d8d1694a red-toolchain: Update to version 10sep23                    3 hours ago
 * ac88a627f cppcheck: Update to version 2.12.0                          3 hours ago
 * 36f1bb31d ast-grep: Update to version 0.12.0                          3 hours ago
 * b9ed0ffae eza: Add version 0.11.0 (#5087)                             4 hours ago
 * 82d89618d ktlint: Add version 1.0.0 (Close #5076) (#5077)             7 hours ago
 * 5d124108c rdiff-backup@2.2.6: Update notes to Readme                  7 hours ago
 * 88fe71db1 mysql-lts: Add version 8.0.34 (#5084)                       7 hours ago
Updating 'scoop-bucket' bucket...
Scoop was updated successfully!
bbdown: 1.6.0 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'
liuxsdev commented 1 year ago

@pein0saga

另一个仓库里有同名的软件,你得指定一下仓库的名字 scoop install main/bbdown 或者 scoop update main/bbdown

pein0saga commented 1 year ago

@pein0saga

另一个仓库里有同名的软件,你得指定一下仓库的名字 scoop install main/bbdown 或者 scoop update main/bbdown

好像依然不行

PS C:\Users\Administrator> scoop update main/bbdown
Updating Scoop...
Updating 'anderlli0053_DEV-tools' bucket...
 * f2c51bf57b awsv1: Update to version 1.29.45                           35 minutes ago
 * 75a0cfe267 aardio_dodorz: Update to version 35.69.3                   35 minutes ago
 * a3a2bf5206 aardio: Update to version 35.69.3                          35 minutes ago
 * 6d65f3b6a3 chromedriver-canary: Update to version 119.0.6002.0        5 hours ago
 * d4eeb70b4d banana-cake-pop: Update to version 9.0.4                   5 hours ago
 * 6e9909f131 auto-dark-mode-np: Update to version 10.4.0.35             5 hours ago
 * 00b2b61385 amass: Update to version 4.2.0                             5 hours ago
 * f2a1ccc401 10x-np: Update to version 1.0.76                           5 hours ago
 * 8bd1282041 autohotkey_ScoopInstaller: Update to version 2.0.8         9 hours ago
 * a5fff84143 autohotkey_HUMORCE: Update to version 2.0.8                9 hours ago
 * 73b2f4b282 autohotkey2: Update to version 2.0.8                       9 hours ago
 * 7c1b16f96e autohotkey: Update to version 2.0.8                        9 hours ago
 * fd1a1c7ff4 AutoHotkey2-UserInstall: Update to version 2.0.8           9 hours ago
 * 09e6a90be1 AutoHotkey2-Portable: Update to version 2.0.8              9 hours ago
 * e9ff052260 AutoHotkey2-Install: Update to version 2.0.8               9 hours ago
 * 61d38e6c7b AutoHotkey-Portable: Update to version 2.0.8               9 hours ago
 * f2aa6b1694 chromium-crlset: Update to version 8232                    13 hours ago
 * 5d752e5059 chrome-canary-portable: Update to version 119.0.6001.0     13 hours ago
 * da1799c5c1 bk: Update to version 3.13.2309.10391                      13 hours ago
 * 10587b6460 beef-nightly: Update to version 0.43.5.09102023            13 hours ago
 * 0347a0e5c3 Az.StackHCI: Update to version 2.2.0                       13 hours ago
 * 7f2392b41b 10x-np: Update to version 1.0.73                           13 hours ago
 * fe4e2c4a80 chatall_hu3rror: Update to version 1.42.68                 17 hours ago
 * 85f39b2292 chatall_DoveBoy: Update to version 1.42.68                 17 hours ago
 * d5c0d7fffc chatall: Update to version 1.42.68                         17 hours ago
 * 8bd9f2bd85 certify: Update to version 1.8.0                           17 hours ago
 * ba5b84cf5e black: Update to version 23.9.1                            17 hours ago
 * 9e585cddb8 autodarkmode: Update to version 10.4.0.35                  17 hours ago
 * 9f983d93df auto-dark-mode: Update to version 10.4.0.35                17 hours ago
 * 55db0e4b5f amass_hoilc: Update to version 4.2.0                       17 hours ago
 * 6c9e811318 ChatALL-Portable: Update to version 1.42.68                17 hours ago
 * cc8eda6c3b AutoDarkMode-Portable: Update to version 10.4.0.35         17 hours ago
 * a7b13793b9 chromedriver-canary: Update to version 119.0.6001.0        20 hours ago
 * 3fbf224cfa bizhawk-dev: Update to version 3514-20230911-a7ee68f4      20 hours ago
 * 05f1e520b1 chromium-crlset: Update to version 8231                    25 hours ago
 * 1a82188586 chrome-canary-portable: Update to version 119.0.5999.0     25 hours ago
 * 49224e9261 caprine-portapps: Update to version 2.58.1-38              25 hours ago
 * 9393330785 brave-portapps: Update to version 1.57.62-88               25 hours ago
 * 81a2255e70 chromedriver-canary: Update to version 119.0.6000.0        29 hours ago
 * bdffa2b22e 64tass: Update to version 1.59.3120                        29 hours ago
Updating 'extras' bucket...
 * 174886fd9 propertree: Update to version 0.2023.09.11                  40 minutes ago
 * a533a1f7d eclipse-scout: Update to version 2023-09                    40 minutes ago
 * 50e2c27d4 eclipse-rcp: Update to version 2023-09                      40 minutes ago
 * 83ce718e4 eclipse-php: Update to version 2023-09                      40 minutes ago
 * 487fd3b1e eclipse-parallel: Update to version 2023-09                 40 minutes ago
 * 283e40704 eclipse-modeling: Update to version 2023-09                 40 minutes ago
 * 36d38cf16 eclipse-jee: Update to version 2023-09                      40 minutes ago
 * e42a11274 eclipse-dsl: Update to version 2023-09                      40 minutes ago
 * b42dce398 eclipse-cpp: Update to version 2023-09                      40 minutes ago
 * b2bc9ae32 eclipse-committers: Update to version 2023-09               40 minutes ago
 * 36219fbed telegram-downloader: Update to version 0.10.0               5 hours ago
 * e97bb2d9c standardnotes: Update to version 3.172.15                   5 hours ago
 * bc6778b01 sbom-tool: Update to version 1.6.1                          5 hours ago
 * 56478ed99 oranda: Update to version 0.4.0                             5 hours ago
 * 567dc1c79 miru: Update to version 4.4.6                               5 hours ago
 * 84735906f fork: Update to version 1.89.1                              5 hours ago
 * 440af693f filelight: Update to version 23.08.0-1467                   5 hours ago
 * c80dea6db electerm: Update to version 1.32.6                          5 hours ago
 * b703ec34b camunda-modeler: Update to version 5.15.0                   5 hours ago
 * d606cd5cf banana-cake-pop: Update to version 9.0.4                    5 hours ago
 * 3bbecf8be miru: Update to version 4.4.3                               9 hours ago
 * 22a4bf67b metasploit-framework: Update to version 6.3.34-2023091110.. 9 hours ago
 * 6c505e406 geogebra: Update to version 6.0.801.0                       9 hours ago
 * 9d3c0a9a9 elisa: Update to version 23.08.0-1619                       9 hours ago
 * c23e67135 cryptomator: Update to version 1.10.0                       9 hours ago
 * 1475893ff autohotkey: Update to version 2.0.8                         9 hours ago
 * ba82ff234 sidekick-browser: Update to version 114.50.2.35132-a58b5dd  13 hours ago
 * 88e9ec100 playnite: Update to version 10.19                           13 hours ago
 * 7f8422301 openai-translator: Update to version 0.0.84                 13 hours ago
 * 54fc1f1d9 lark: Update to version 6.11.12                             13 hours ago
 * c4a133f57 komga: Update to version 1.4.0                              13 hours ago
 * 92ab6b8aa kate: Update to version 23.08.0-2153                        13 hours ago
 * eba3fc7e6 jackett: Update to version 0.21.770                         13 hours ago
 * 01d01ec32 sidekick-browser: Update to version 114.51.1.35481-d6e815c  17 hours ago
 * b62ee1172 praat: Update to version 6.3.17                             17 hours ago
 * 0a4255c8e okular: Update to version 23.08.0-1515                      17 hours ago
 * e0f242b74 miru: Update to version 4.4.5                               21 hours ago
 * 705281c4a dolphin: Update to version 23.08.0-2024                     21 hours ago
 * bdd479736 sidekick-browser: Update to version 114.50.2.35132-a58b5dd  25 hours ago
 * 34d942991 netron: Update to version 7.1.8                             25 hours ago
 * 31182753c hibit-uninstaller: Update to version 3.1.60                 25 hours ago
 * ead5cdf37 sidekick-browser: Update to version 114.51.1.35481-d6e815c  29 hours ago
 * cf6dc294e mc: Update to version 4.8.29                                29 hours ago
 * 39cb58448 filelight: Update to version 23.08.0-1466                   29 hours ago
Updating 'main' bucket...
 * 32430ea73 telegraf: Update to version 1.28.0                          38 minutes ago
 * 84567a8c8 ruff: Update to version 0.0.288                             38 minutes ago
 * a7537ce23 jx: Update to version 3.10.107                              38 minutes ago
 * a213c4221 grype: Update to version 0.67.0                             38 minutes ago
 * 2bf6efe72 graphviz: Update to version 9.0.0                           38 minutes ago
 * 25b8ba4ee gopass: Update to version 1.15.8                            38 minutes ago
 * 9cf1c430c binaryen: Update to version 115                             38 minutes ago
 * 0698eb3f8 sqlite: Update to version 3.43.1                            5 hours ago
 * 881792935 rclone: Update to version 1.64.0                            5 hours ago
 * 568198a28 jfrog: Update to version 2.46.3                             5 hours ago
 * cd0770578 flyctl: Update to version 0.1.91                            5 hours ago
 * b33311a5f tfsec: Update to version 1.28.4                             13 hours ago
 * e32456a5a red: Update to version 11sep23                              13 hours ago
 * 83a7762dd red-view: Update to version 11sep23                         13 hours ago
 * 06fc47525 red-toolchain: Update to version 11sep23                    13 hours ago
 * a1e6a4739 spicetify-cli: Update to version 2.23.2                     21 hours ago
 * 9ce9b4a66 amass: Update to version 4.2.0                              21 hours ago
 * 64ded6872 y-cruncher@0.8.2.9522: Fix hash (Closes #5091)              24 hours ago
 * 87c4b3388 stylua: Update to version 0.18.2                            25 hours ago
 * 154fa6f29 jq@1.7: Download from new jqlang organization (#5089)       27 hours ago
Updating 'scoop-bucket' bucket...
Scoop was updated successfully!
bbdown: 1.6.0 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'
PS C:\Users\Administrator> scoop install main/bbdown
WARN  'bbdown' (1.6.0) is already installed.
Use 'scoop update bbdown' to install a new version.
pein0saga commented 1 year ago

@pein0saga

另一个仓库里有同名的软件,你得指定一下仓库的名字 scoop install main/bbdown 或者 scoop update main/bbdown

各种操作下来都无效

PS C:\Users\Administrator> scoop bucket rm anderlli0053_DEV-tools
PS C:\Users\Administrator> scoop install main/bbdown
WARN  'bbdown' (1.6.0) is already installed.
Use 'scoop update bbdown' to install a new version.
PS C:\Users\Administrator> scoop update main/bbdown
bbdown: 1.6.0 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'
PS C:\Users\Administrator> scoop bucket rm main
PS C:\Users\Administrator> scoop bucket add main https://github.com/ScoopInstaller/Main
Checking repo... OK
The main bucket was added successfully.
PS C:\Users\Administrator> scoop update main/bbdown
bbdown: 1.6.0 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'
pein0saga commented 1 year ago

bbdown

最后的解决方法,用@指定版本就行了。不知道为什么直接升级不行

PS C:\Users\Administrator> scoop install bbdown@1.6.1
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'ffmpeg' (6.0) [64bit] from main bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 98ec42|OK  |   6.8MiB/s|D:/Applications/Scoop/cache/ffmpeg#6.0#https_www.gyan.dev_ffmpeg_builds_packages_ffmpeg-6.0-full_build.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of ffmpeg-6.0-full_build.7z ... ok.
Extracting ffmpeg-6.0-full_build.7z ... done.
Linking D:\Applications\Scoop\apps\ffmpeg\current => D:\Applications\Scoop\apps\ffmpeg\6.0
Creating shim for 'ffmpeg'.
WARN  Overwriting shim ('ffmpeg.exe' -> 'ffmpeg.exe') installed from ffmpeg-nightly
Creating shim for 'ffplay'.
WARN  Overwriting shim ('ffplay.exe' -> 'ffplay.exe') installed from ffmpeg-nightly
Creating shim for 'ffprobe'.
WARN  Overwriting shim ('ffprobe.exe' -> 'ffprobe.exe') installed from ffmpeg-nightly
Persisting fonts
'ffmpeg' (6.0) was installed successfully!
Installing 'bbdown' (1.6.1) [64bit]
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 658e22|OK  |    15MiB/s|D:/Applications/Scoop/cache/bbdown#1.6.1#https_github.com_nilaoda_BBDown_releases_download_1.6.1_BBDown_1.6.1_20230818_win-x64.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of BBDown_1.6.1_20230818_win-x64.zip ... ok.
Extracting BBDown_1.6.1_20230818_win-x64.zip ... done.
Linking D:\Applications\Scoop\apps\bbdown\current => D:\Applications\Scoop\apps\bbdown\1.6.1
Creating shim for 'BBDown'.
'bbdown' (1.6.1) was installed successfully!
PS C:\Users\Administrator>
pein0saga commented 1 year ago

@pein0saga

另一个仓库里有同名的软件,你得指定一下仓库的名字 scoop install main/bbdown 或者 scoop update main/bbdown

我已经得到scoop github那里得到解答

https://github.com/ScoopInstaller/Scoop/issues/5640#issuecomment-1714839731