28 Commits

Author SHA1 Message Date
Hsiao-nan Cheung
ebd8c036fa chore(release): Bump to version 0.5.3 (#6257)
* fix (decompress): `Expand-7zipArchive` only delete temp dir / `$extractDir` if it is empty (#6092)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>

* refactor(download): Move download-related functions to 'download.ps1' (#6095)

* fix(download): Fallback to default downloader when aria2 fails (#4292)

* fix(commands): Handling broken aliases (#6141)

* fix(shim): properly check `wslpath`/`cygpath` command first (#6114)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>

* fix(scoop-bucket): Add missing import for `no_junction` envs (#6181)

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>

* docs(chglog): Update to 0.5.3 (#6258)

* perf(shim): Update kiennq-shim to v3.1.2 (#6261)

* fix(decompress): Replace deprecated 7ZIPEXTRACT_USE_EXTERNAL config (#6327)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>

* fix(scoop-uninstall): Fix uninstaller does not gain Global state (#6430)

* global arg

* changelog

* refactor(Get-Manifest): Select actual source for manifest (#6142)

* first step

* Revert "first step"

This reverts commit c5907c3e25.

* refactor(Get-Manifest): Select actual source for installed manifest

* rework sub-commands, `scoop-depends` is NOT working at this stage

* URI manifest

* opt

* deprecated manifest

* source of manifests

* source of manifest pt2

- Mark URI(path/URL/UNC/etc.) query as standalone manifest
- Drop `installed` and `available update` items for [query] and [installed] are different sources.

* remove variable preventing I forget it

* scoop-info: fix source of manifest on bucket

* fix `scoop-depends`

* Fix Standalone and Source detection

* fix global install

* Fix scoop-cat, scoop-home

- Query for remote manifest

* scoop-list: info +deprecated

* manifest: Fix first selected manifest

* gramma..

* Fix 61b3259

* length

* fix(scoop-depends-tests): Mocking `USE_EXTERNAL_7ZIP` as $false (#6431)

* fix(scoop-depends-tests): Mocking `USE_EXTERNAL_7ZIP` as $false to avoding error when it is $true

* CHANGELOG

* feat(autoupdate): GitHub predefined hashes support (#6416)

* feat(autoupdate): predefined hash case for GitHub

- Remove `sha256:` prefix in `format_hash()`
- Add GitHub support in `get_hash_for_app()`

Close #6381

* doc(chglog): GitHub auto hash update

* fix(autoupdate): remove prefix only

* docs(CHANGELOG): Update to 0.5.3 (#6432)

* docs(CHANGELOG): Update to 0.5.3

* 6416

---------

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
Co-authored-by: Olav Rønnestad Birkeland <6450056+o-l-a-v@users.noreply.github.com>
Co-authored-by: kiennq <kien.n.quang@gmail.com>
Co-authored-by: HUMORCE <humorce@outlook.com>
Co-authored-by: Ryan <sitiom@proton.me>
Co-authored-by: Chawye Hsu <su+git@chawyehsu.com>
Co-authored-by: Bassel Rachid <101208715+basselworkforce@users.noreply.github.com>
Co-authored-by: Wordless Echo <wordless@echo.moe>
2025-08-11 00:38:38 +00:00
Rashil Gandhi
7a599f062f feat(install): Add support for ARM64 architecture (#5154)
* Initial support for ARMv8

* Add fallback mechanism

* Update changelog

* Update useragent

* Some typo and format changes

* Use `env:ProgramFiles(Arm)` to detect ARM64

- Move `default_architecture()` to `core.ps1`

* Rename 'ensure_architecture()' and 'default_architecture()'

* Refactor 'supports_architecture()' to 'Get-SupportedArchitecture()'

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-09-28 04:19:03 +05:30
Hsiao-nan Cheung
6296822f1f perf(scoop): Load libs only once (#4839) 2022-04-21 21:34:26 +08:00
Hsiao-nan Cheung
5a795caca5 refactor(reset_aliases): Move core function of reset_aliases to scoop (#4794) 2022-03-11 18:10:04 +08:00
Hsiao-nan Cheung
e4580dd705 feat(scoop-shim): Add scoop shim to manipulate shims (#4736) 2022-02-26 22:32:54 +08:00
Rashil Gandhi
b69bdbd6d2 feat(scoop-list): Show last-updated time (#4723) 2022-02-09 11:08:24 +08:00
Hsiao-nan Cheung
ba970d5c42 fix(versions): Get current version from failed installation if possible (#4720) 2022-02-09 11:07:54 +08:00
Rashil Gandhi
e450843827 refactor(scoop-list): Allow list manipulation (#4718)
* refactor(scoop-list): Allow list manipulation

* update changelog
2022-02-08 17:26:23 +05:30
Hsiao-nan Cheung
77d00d1771 refactor(versions): Refactor 'versions.ps1' (#3721)
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: David Duque <david.f.s.duque@tecnico.ulisboa.pt>
2021-11-14 00:44:58 +08:00
Chawye Hsu
5afad4e3d1 feat(list): Display main bucket name (#3759) 2019-11-20 20:15:05 +01:00
Richard Kuhnt
44975dce58 feature(update): Add hold/unhold command (#3444)
Allows un/locking a program to the current version and enable/disable updates.
Close #3232
Close #1941
2019-05-08 20:01:21 +02:00
Jakub Čábera
56d54d1c91 feature: Prepare extraction of main bucket (#3060)
- Add preparing changes for extracting the main bucket to https://github.com/scoopinstaller/scoop-main
- Download main bucket on installation
- Add check_main_bucket function
- Add main bucket to buckets.json
- Add docker-compose.yml with default debugging image
- Remove old TODOs
- Refactor bucketdir -> Find-BucketDirectory
- Remove redundant .vscode settings
2019-04-24 21:08:53 +02:00
Jakub Čábera
94dd94e411 scoop-list: Identify failed installation (#3140) 2019-02-19 18:36:18 +01:00
Chawye Hsu
e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Ross Smith II
927fdf39da Add bucket and arch to list/export output (#1613)
* Add bucket and arch to list/export output
* Use write-host
* Add colors to scoop list
2017-09-10 22:38:35 +02:00
Luke Sampson
1c173bc56d Use sentence case for UI messages. 2017-02-13 20:20:41 +11:00
Roy Ivy III
6d9bca805f whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Luke Sampson
bc1a8e4945 brute force fix for powershell alias problems 2015-05-11 20:17:59 +10:00
Kody Brown
0886589d9a Changed the exit code to 1 when no apps were found (or none match the $query). 2014-08-26 16:39:20 -06:00
Luke Sampson
26852e0a76 fix for issue #1: scoop list errors when 1 local and no global apps 2013-09-26 17:17:56 +10:00
Luke Sampson
358916beb3 scoop uninstall works with global 2013-09-02 09:53:04 +10:00
Luke Sampson
9fba05b309 fix scoop list ordering 2013-09-02 08:57:47 +10:00
Luke Sampson
df288ee739 scoop list works for global apps 2013-09-02 08:44:44 +10:00
Luke Sampson
9ee42e7c0a refactor installed_apps, more reorg for global 2013-09-01 12:41:54 +10:00
Luke Sampson
7382e17561 convert spaces to tabs 2013-08-15 13:05:00 +10:00
Luke Sampson
7189606518 scoop list [query] 2013-08-09 13:25:44 +10:00
Luke Sampson
b852236bd7 start on scoop search for buckets, fix a few places where latest_version was used instead of current_version 2013-08-07 16:24:55 +10:00
Luke Sampson
4ec238ed36 use scoop-*.ps1 for libexec 2013-07-18 12:51:15 +10:00