45 Commits

Author SHA1 Message Date
HUMORCE 2a637361cc fix(scoop-uninstall): Correct -Global switch during uninstalling/updating (#6454)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2025-09-26 23:55:34 +08:00
Hsiao-nan Cheung 2544745695 refactor(install): Replace 'run_(un)installer()' with 'Invoke-Installer()' (#5968) 2024-05-15 19:03:54 +08:00
Hsiao-nan Cheung 5819b5a1ef feat(path): Isolate Scoop apps' PATH (#5840) 2024-04-18 19:14:53 +08:00
Hsiao-nan Cheung 6772e61b3d refactor(core): Rewrite and separate path-related functions to system.ps1 (#5836) 2024-03-27 17:32:39 +08:00
Hsiao-nan Cheung c41cb84404 feat(scoop-alter): Add scoop alter command to switch shim's target (#4727) 2022-02-13 20:42:55 +08:00
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
lxy c8453767b4 Annihilate the trailing whitespace 2020-08-13 10:19:29 +08:00
lxy 5e81d49984 Re-trigger tests 2020-08-13 09:46:18 +08:00
liuxy 91ea657923 Apply the suggestions from @Ash258 2020-06-09 09:38:22 +08:00
Jakub Čábera d8d1400bf0 uninstall: Add support for soft/purge uninstalling of scoop itself (#2781) 2019-03-25 13:55:49 +01:00
Chawye Hsu e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Luke Sampson e8e5ac5615 Update more UI messages for consistency. 2017-02-13 20:53:36 +11:00
Luke Sampson 1c173bc56d Use sentence case for UI messages. 2017-02-13 20:20:41 +11:00
Luke Sampson 8b1871b20d fix: uninstall fails to remove architecture-specific shims (fixes #1191) 2017-01-04 17:42:32 +11:00
Luke Sampson abd6d0e6c5 Use a 'current' directory junction for the current version of apps, so that path is maintained across app updates (see #1179) 2016-12-31 22:12:53 +11:00
Luke Sampson ef7bcce6f7 move shortcut functions to separate file 2016-09-21 09:41:01 +10: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 0f222b74be support globally uninstalling scoop 2013-09-03 14:26:13 +10:00
Luke Sampson 9ee42e7c0a refactor installed_apps, more reorg for global 2013-09-01 12:41:54 +10:00
Luke Sampson 555e189d33 beginning refactoring for global installs 2013-08-30 16:58:20 +10:00
Luke Sampson cb57c494ce rename *_env functions to env_* 2013-08-26 08:29:31 +10:00
Luke Sampson 7ccaf2b1cd fix bug in install trying to write last_updated, remove shims one-by-one when uninstalling apps so they aren't left around to cause strange errors when another app dir can't be deleted later down the line 2013-08-15 15:05:19 +10:00
Luke Sampson 6326cc23e4 clearer uninstall 2013-08-15 15:00:41 +10:00
Luke Sampson a59cbfadbf fix uninstall bug that deleted all files in current dir 2013-08-15 14:56:22 +10:00
Luke Sampson 970ecc75a0 better uninstall? 2013-08-15 14:49:33 +10:00
Luke Sampson 7382e17561 convert spaces to tabs 2013-08-15 13:05:00 +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 4f0b1b91c1 support setting environment variables (and removing them on uninstall) 2013-07-22 21:36:43 +10:00
Luke Sampson 5ea0568f26 scoop uninstall scoop removes the scoop shim 2013-07-03 16:56:02 +10:00
Luke Sampson 402c80459c renamed 'resolve' to 'relpath', and 'full_path' to 'fullpath' 2013-07-02 20:59:04 +10:00
Luke Sampson 5ed3b0ef61 use to dot source core.ps1, instead of (split-path System.Management.Automation.InvocationInfo.mycommand.path) 2013-07-02 20:46:53 +10:00
Luke Sampson c7b0425301 rename scoop/shim to scoop/shims, remove_from_path handles current session as well 2013-06-27 16:06:32 +10:00
Luke Sampson 9f4be7d3cd rename 'bin stubs' to 'shims' 2013-06-27 15:42:58 +10:00
Luke Sampson 5af9adebd8 bin\uninstall runs uninstallers if necessary 2013-06-27 15:28:14 +10:00
Luke Sampson 18bd592226 manifest can add to path (used for python/scripts) 2013-06-23 22:03:41 +10:00
Luke Sampson 10eb5b7c53 unzip: allow targeting a folder inside the zip 2013-06-21 18:13:51 +10:00
Luke Sampson 816155f7da fixed uninstall error message 2013-06-20 20:54:20 +10:00
Luke Sampson 7bf133dc72 self-update working 2013-06-20 20:51:41 +10:00
Luke Sampson 347fb45c53 starting to add versions to uninstall command 2013-06-20 18:09:09 +10:00
Luke Sampson c54e58947f testing qsort 2013-06-19 16:57:28 +10:00
Luke Sampson 2a59f70667 trying to get more difficult packages to work 2013-06-17 20:38:34 +10:00
Luke Sampson e01c9a8513 check bins in manifest for security 2013-06-17 10:10:47 +10:00
Luke Sampson 8ebddce654 started on command dispatch 2013-06-16 01:16:26 +10:00
Luke Sampson d67f76d336 working out how to include lib/init.ps1 2013-06-15 15:44:27 +10:00
Luke Sampson 7257eded1f reorganisation 2013-06-15 15:34:09 +10:00