duzyn / scoop-cn Goto Github PK
View Code? Open in Web Editor NEW**用户能用的 Scoop 应用库,每日同步 Scoop 的官方库,加速应用的下载速度
License: MIT License
**用户能用的 Scoop 应用库,每日同步 Scoop 的官方库,加速应用的下载速度
License: MIT License
PS C:\Users\xxx> scoop install https://ghproxy.com/raw.githubusercontent.com/duzyn/scoop-cn/master/bucket/7zip.json
Installing '7zip' (22.01) [64bit]
7z2201-x64.msi (1.8 MB) [===========================================================================] 100%
Checking hash of 7z2201-x64.msi ... ok.
Extracting 7z2201-x64.msi ... done.
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\22.01
Creating shim for '7z'.
Creating shim for '7zFM'.
Creating shim for '7zG'.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
Running post_install script...
Get-Content : 找不到路径“C:\Users\xxx\scoop\buckets\scoop-cn\scripts\7-zip\install-context.reg”,因为该
路径不存在。
所在位置 行:3 字符: 16
$content = Get-Content "$bucketsdir\scoop-cn\scripts\7-zip\$_"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
如果我想指定scoop安装目录和global apps 安装目录怎么办?官方文档是先下安装包,再指定参数。试图模仿尝试了一下。
把(irm https://ghproxy.com/https://raw.githubusercontent.com/duzyn/scoop-cn/master/install.ps1 | iex)的iex删了,(小白看不懂命令,猜这样就只是下载安装包,而不会去安装)
然后输入 (.\install.ps1 -? )
终端显示 (The term '.\install.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.)
看起来这条路走不通,所以应该怎么做呢?
非常感谢这个repo做的工作,看表述应该能造福很多人。
我的一个小问题如标题:请问如果之前有官方的scoop安装要切换到scoop-cn有什么需要注意吗?可以直接安装 scoop-cn 来覆盖不?毕竟之前装了不少软件包,全部重来一遍还有点麻烦……
如题
scoop 是通过本仓库安装的:irm https://ghproxy.com/https://raw.githubusercontent.com/duzyn/scoop-cn/master/install.ps1 | iex
最近几天发现软件包安装/更新都会失败,终端输出如下:
~
> scoop update *
86box-roms: 4.0 -> 4.0.1
bitwarden: 2023.9.2 -> 2023.9.3
virtualbox-with-extension-pack-np: 7.0.10 -> 7.0.12
Updating 3 outdated apps:
Updating '86box-roms' (4.0 -> 4.0.1)
Downloading new version
Starting download with aria2 ...
Download: 10/18 18:37:39 [ERROR] CUID#8 - Download aborted. URI=https://github.com/86Box/roms/archive/refs/tags/v4.0.1.zDownload: Exception: [AbstractCommand.cc:312] errorCode=1 Network problem has occurred. cause:The requested address is nDownload: Download Results:
Download: gid |stat|avg speed |path/URI
Download: ======+====+===========+=======================================================
Download: 0a058e|ERR | 0B/s|C:/Users/myuser/scoop/cache/86box-roms#4.0.1#https_github.com_86Box_roms_archive_refs_tags_v4.0.1.zip
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.
ERROR Download failed! (Error 1) An unknown error occurred
ERROR https://github.com/86Box/roms/archive/refs/tags/v4.0.1.zip
referer=https://github.com/86Box/roms/archive/refs/tags/
dir=C:\Users\myuser\scoop\cache
out=86box-roms#4.0.1#https_github.com_86Box_roms_archive_refs_tags_v4.0.1.zip
ERROR & 'C:\Users\myuser\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\myuser\scoop\cache\86box-roms.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.3 (Windows NT 10.0; Win64; x64; Core)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=8 --max-connection-per-server=8 --min-split-size=1M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=27140 --continue --summary-interval=0 --auto-save-interval=1
Please try again or create a new issue by using the following link and paste your console output:
https://ghproxy.com/https://github.com/duzyn/scoop-cn/issues/new?title=86box-roms%404.0.1%3a+download+via+aria2+failed
~ took 2s
x
有无什么建议?
使用 scoop search xxx
命令检索软件的时候,特别慢,需要2min才能出结果
Checking hash of WeChatSetup.exe ... ERROR Hash check failed!
App: scoop-cn/wechat
URL: https://dldir1v6.qq.com/weixin/Windows/WeChatSetup.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected: 9602acb85408ee48ee689468f63565496dfb12f1fe21ad674aa423029e38856c
Actual: bd230520ab8debf42c282f067c55583b90f3ca11d5b929a99aeb3af51f9d23ea
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/duzyn/scoop-cn/issues/new?title=wechat%403.9.10.19%3a+hash+check+failed
OBS目前使用的源速度较慢,可以使用github镜像中的仓库地址,例如:https://mirror.ghproxy.com/https://github.com/obsproject/obs-studio/releases/download/30.1.2/OBS-Studio-30.1.2.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.