Commit Graph
793 Commits
Author SHA1 Message Date
Hsiao-nan Cheung d5cb86078b fix(decompress): Fix nested Zstd archive extraction (#4608) 2021-12-31 01:04:47 +08:00
Rashil Gandhi 2a0187458d fix(depends): Prevent error on no URL (#4595) 2021-12-25 21:46:23 +05:30
Rashil Gandhi fb496c482b fix: Show manifest name while reviewing
Useful when Scoop installs dependencies and shows their manifests first
2021-12-23 17:00:06 +05:30
Hsiao-nan Cheung cdba268b47 fix(install): Don't show manifest while updating (#4581) 2021-12-16 18:41:36 +08:00
Rashil Gandhi cbe29eddb3 chore: Update repo links 2021-12-16 01:09:21 +05:30
Hsiao-nan Cheung cd6d31dae8 fix(decompress): Fix 'Expand-7zipArchive()' for nested archive (#4582) 2021-12-15 11:38:02 +08:00
tukanos 6f60059035 fix(core): Escape '.' in 'parse_app()'. (#4578) 2021-12-15 02:19:49 +08:00
b966ca8c63 Check Windows version for LongPaths (#3821)
* Added the check for the Windows version.

* Apply suggestions from code review

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

* Additional lines added by GitHubs suggestion system removed. Function for the version check removed. If-condition adjusted to check for Major and Build version.

* TIL Windows 8.1 = major version 6, Windows 10 = major version 10.

* Update diagnostic.ps1

Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Ross Smith II <ross@smithii.com>
2021-12-12 12:36:39 +05:30
Hsiao-nan Cheung 02da753fa7 fix(core): Use '-Encoding ASCII' in 'Out-File' (#4571) 2021-12-10 00:52:44 +08:00
Hsiao-nan Cheung b488cb9ab3 fix(core): Redirect 'StandardError' in Invoke-ExternalCommand (#4570) 2021-12-10 00:52:34 +08:00
JorisandRashil Gandhi 992e99358a feat(install): Show manifest on installation (#4155)
* show manifest on installation

* Inline function

* Update install.ps1

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
2021-12-08 14:37:28 +05:30
Hsiao-nan Cheung c1d48e4853 Merge branch 'master' into develop 2021-12-06 14:49:52 +08:00
Rashil Gandhi 4d5fee36e1 fix: Specify function scope
Resolve https://github.com/ScoopInstaller/Scoop/issues/4444#issuecomment-986229596
2021-12-06 11:30:30 +05:30
Rashil Gandhi 2ec00d576c fix(shim): Specify command arg for bash - fix #3878 2021-12-04 02:05:15 +05:30
Rashil Gandhi 3c90d1a070 specify command arg 2021-12-02 21:10:23 +05:30
Rashil GandhiandHsiao-nan Cheung ef4349bee4 feat(shim): Rework shimming logic (#4543)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2021-12-02 21:23:36 +08:00
Hsiao-nan CheungandZoritle d021438b20 Revert "feat(shim): Add another alternative shim written in rust (#4229)" (#4553)
This reverts commit 5ad8c76dd7.

Co-authored-by: Zoritle <66551926+zoritle@users.noreply.github.com>
2021-12-01 08:46:26 -08:00
Hsiao-nan Cheung 5a1cdcb93d fix(install): 'env_add_path' doesn't append '.' (#4550) 2021-12-01 16:18:22 +08:00
Pratik Chowdhury 4ec9eccdb4 feat(checkver): improve JSONPath extraction support (#4522) 2021-11-29 16:55:13 +08:00
Rashil Gandhi 1d5e81d2dc Use newer function - fixes #4534 2021-11-24 10:46:43 +05:30
Hsiao-nan Cheung ae89213842 fix(versions): Fix situation that contains '_' 2021-11-15 13:22:04 +08:00
RetiaandHsiao-nan Cheung baa20aef55 fix(install): Fix aria2's resume download feature (#3292)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2021-11-14 21:00:55 +08:00
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
Zoritle 5ad8c76dd7 feat(shim): Add another alternative shim written in rust (#4229)
* Add alt-shim support via scoop config shim rshim

* update to new version
2021-11-11 00:05:18 +08:00
Hsiao-nan Cheung e35ff313a5 fix(decompress): Check .zst first
And also trim `\` in `-DestinationPath`
2021-11-10 11:11:45 +08:00
af7a6f6d0e feat(decompress): Support Zstandard archive (#4372)
Co-authored-by: WorldYun <worldyun@qq.com>
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2021-11-10 09:40:11 +08:00
Hsiao-nan Cheung 1490869e6f fix(autoupdate): Update array of arrays correctly (#4502) 2021-11-08 19:55:03 +08:00
Chawye Hsu 2047f8a929 Merge branch 'master' into develop 2021-11-05 21:23:53 +08:00
Hsiao-nan Cheung 30e7967a04 feat(autoupdate): add multiple URL/hash/extract_dir... support 2021-11-01 13:36:37 +08:00
Derrick Liu 818162fe82 Restrict url() scope to avoid conflict with global aliases 2021-10-30 15:44:07 -07:00
linsuiandlinsui ad061d2a6a fix get_shim_path (#4149)
Co-authored-by: linsui <linsui555@gmail.com>
2020-10-25 08:54:06 -07:00
Ross Smith II 7db0fe9382 Add alt-shim support (fixes #3634) (#3998)
* Add alt-shim support via scoop config shim 71|kiennq

* Add exes for alt-shim support

* Bump kiennq's shim.exe to v2.2

* s/true/$true/

* Upgrade kiennq's shim to version 2.2.1

* Tweak Makefile to be less chatty

* Fix Makefile to correctly report bump
2020-10-22 22:39:22 -07:00
Jakub Čábera 9b29bbb711 fix(core): Fosshub download (#4051)
https://github.com/Ash258/Scoop-Core/releases/tag/0.5.0.1
2020-07-01 10:57:59 +02:00
Jakub Čábera 22a59866c7 fix(install): Aria2 inline progress negative values (#4053) 2020-07-01 10:56:39 +02:00
Greg Hutchinson 22fd6986bf fix(git): Don't execute autostart programs when executing git commands (#3993) 2020-05-21 19:54:44 +02:00
Jakub Čábera 33a357241d feat(aria2): Inline progress (#3987) 2020-05-17 12:41:24 +02:00
Richard Kuhnt 573e0933cf Merge branch 'master' into develop 2020-05-14 19:39:49 +02:00
Richard Kuhnt 96de9c14bb hotfix(download): Progress bar on small files
Closes #3923
2020-05-14 19:39:35 +02:00
Hsiao-nan Cheung 7995f99dc1 fix(install): [Array]::Reverse error (#3976) 2020-05-12 21:08:43 +02:00
Hsiao-nan CheungandChawye Hsu f91968cb16 fix(install): let pathes in 'env_add_path' be added ascendantly (#3788)
Co-Authored-By: Chawye Hsu <chawyehsu@hotmail.com>
2020-05-11 19:05:33 +02:00
NilsonPark 48f121e466 core(install): Readd "Don't send referer to portableapps.com" (#3961)
PortableApps still get hosted on download3.portableapps.com
Reverts #2401
2020-05-05 12:31:39 +02:00
Samuel LorétanandJakub Čábera e6b355eae0 feat(install): Follow HTTP redirections when downloading a file (#3902)
Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
2020-04-20 15:26:27 +02:00
Hsiao-nan CheungandJakub Čábera 5851eaf762 feat(autoupdate): add multi-urls aupport to 'autoupdate'
Also refactor
- 'update_manifest_with_new_version' -> 'Update-ManifestProperty'
- 'update_manifest_prop' -> 'PropertyHelper'
- 'autoupdate' -> 'Invoke-AutoUpdate'

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 14:30:09 +08:00
Hsiao-nan Cheung 2a91ddb101 refactor(autoupdate): 'get_version_substitutions' -> 'Get-VersionSubstitution'
Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 13:46:36 +08:00
Hsiao-nan Cheung 3279bbfb71 feat(core): add 'PSCustomObject' support to 'core/substitute'
Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 13:46:36 +08:00
Ross Smith IIandJakub Čábera 9c9cc807ba feat(autoupdate): initial multi-urls works by @rasa
Add multiple URLs support to 'autoupdate'

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 13:46:36 +08:00
Hsiao-nan Cheung 4eba120897 fix(install): fix 'failed' function (#3867) 2020-03-01 12:49:20 +01:00
Hsiao-nan Cheung fe01ed52d5 fix(install): fix wrong output of 'install/failed' (#3784) 2020-02-29 14:24:08 +01:00
Chawye Hsu 062e6d7973 feat(diagnostic): Add check_envs_requirements 2020-02-23 13:55:19 +01:00
Jakub Čábera 48bb96a3d8 feat: Add configuration option for default architecture (#3778)
- Closes #3770
- New available command: `scoop config 'default-architecture' '32bit|64bit'`
2019-12-16 11:29:25 +01:00