Replies: 1 comment
-
Why not applying proxy servers to Scoop as well? If you just want to know the cached filename:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When executing command 'scoop update', the downloading of app files may fail, but actually you can successfully download it individually through browser (Chrome). This happens mostly because of the GFW blocking you access some websites freely (such as github.com, etc.).
If you can access github.com with the help of vpn, then you can download the apps individually by chrome (or other browsers). The url of the scoop app can be found in the app_bucket.json (SCOOP_HOME/buckets/<bucket_name>/bucket/<app_bucket_name>.json).
After you download the app file through the url, then you should rename it by conforming the filename pattern of scoop, and move it to scoop cache dir. Then execute 'scoop update' command, and everything is going ok.
The last thing is what name should the app file be renamed to? According to this pull request (#5929), the cache file name pattern was changed in this commit (13b1f02), and the old name pattern support will be remove soon.
So you should rename the download app file to the name conforming new pattern, which is
<app_name>#<version>#<first_7_hex_char_of_sha_256_hash_of_url>.<file_extension>
such as:
Beta Was this translation helpful? Give feedback.
All reactions