Hsiao-nan Cheung
79cf33d0b7
refactor(download): Move download-related functions to 'download.ps1' ( #6095 )
2024-08-11 17:23:59 +08:00
Hsiao-nan Cheung
46624b00c9
fix(core): Use 'Join-Path' to construct cache file path ( #6079 )
2024-07-25 13:54:26 +08:00
Hsiao-nan Cheung
83f25a4673
fix(install): Expand env_set items ( #6050 )
2024-07-09 00:24:42 +08:00
Hsiao-nan Cheung
8ea37387ae
fix(install): Add back arg $Name in Invoke-Installer() ( #5971 )
2024-05-15 19:25:35 +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
a5bd2297c6
refactor(install): Separate archive extraction from downloader ( #5951 )
2024-05-12 18:47:16 +08:00
Hsiao-nan Cheung
5819b5a1ef
feat(path): Isolate Scoop apps' PATH ( #5840 )
2024-04-18 19:14:53 +08:00
Hsiao-nan Cheung
92b71c6057
refactor(core): Get rid of 'fullpath' ( #3533 )
2024-04-10 14:55:20 +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
3186fef105
fix(update/uninstall): Remove items from PATH correctly ( #5833 )
2024-03-20 17:17:48 +08:00
Hsiao-nan Cheung
54e0514833
fix(install): Fix bugs in #5715 ( #5824 )
2024-03-07 10:55:27 +08:00
Hsiao-nan Cheung
7e3dc73b83
refactor(core): Cleanup some old codes, e.g., msi section and config migration ( #5715 )
2024-03-06 21:04:46 +08:00
HUMORCE
48f793532c
fix(manifest): Correct source of manifest ( #5575 )
2024-02-23 17:41:44 +08:00
Rashil Gandhi
5328bef269
fix(config): Warn users about misconfigured token ( #5777 )
...
* Warn users about misconfigured token
* Update CHANGELOG.md
2024-01-05 23:46:28 +05:30
HUMORCE
00c92b04d6
fix(install): Avoid error when unlinking non-existent junction/hardlink ( #5552 )
...
* fix(install): Avoid error when unlinking non-existent junction / hardlink
* CHANGELOG
* Update CHANGELOG.md
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
---------
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2023-10-03 18:58:02 +05:30
Hsiao-nan Cheung
3f11454a3c
fix(core): Fix scripts' calling parameters ( #5365 )
2023-02-26 14:31:38 +08:00
Jeppe Frandsen
7c6aeb240e
fix(install): Fix downloading release assets from private GitHub repositories ( #5361 )
...
Fix download from private GitHub repos
2023-02-25 14:00:37 +05:30
Hsiao-nan Cheung
32ca856f63
fix(core): Fix is_in_dir under Unix ( #5391 )
2023-02-19 23:56:53 +08:00
pynappo
c71376e12c
feat(config): Allow scoop to check and update 'nightly' apps ( #5166 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-10-18 23:46:13 +08:00
Hsiao-nan Cheung
24301ac028
refactor(hash): Use 'Get-FileHash()' directly ( #5177 )
2022-10-13 19:15:32 +08: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
Jules
122fdc1a1c
refactor(download): Rename dl() to Invoke-Download() ( #5143 )
2022-09-16 10:36:40 +08:00
Hsiao-nan Cheung
08ecdd16a8
fix(config): Change config option to snake_case in file and SCREAMING_CASE in code ( #5116 )
2022-08-21 19:51:31 +08:00
yi_Xu
8619ee7603
feat(uninstall): Show the running processes ( #5102 )
...
* feat(install): show the running process
* docs(CHANGELOG): Update changelog
* perf(install): Show process-name in table format
* Update lib/install.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
* Update lib/install.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2022-08-15 15:02:47 +05:30
Rashil Gandhi
c3b43625fa
feat(install): Show bucket name while installing an app ( #5075 )
...
* Update install.ps1
* Update CHANGELOG.md
2022-08-01 22:08:06 +05:30
Rashil Gandhi
9e2e2526fb
fix(install): Move from cache when --no-cache ( #5039 )
...
* fix(install): Move from cache when `--no-cache`
* Update CHANGELOG.md
2022-07-16 09:59:43 +05:30
Hsiao-nan Cheung
ccd067b2b1
refactor(manifest): Rename 'Find-Manifest()' to 'Get-Manifest()' ( #4966 )
2022-06-07 09:31:30 +08:00
Chawye Hsu
dd0f51426b
feat(core): Add pre_uninstall and post_uninstall hooks ( #4957 )
2022-06-02 00:34:57 +08:00
Hsiao-nan Cheung
d056d542db
fix(core): Use Invoke-Command instead of Invoke-Expression ( #4941 )
2022-05-26 10:54:34 +08:00
Hsiao-nan Cheung
6296822f1f
perf(scoop): Load libs only once ( #4839 )
2022-04-21 21:34:26 +08:00
Alex Stelmachonak
f441968983
feat(config): Try SCOOP_GH_TOKEN value first before gh_token value from config ( #4842 )
2022-03-26 23:42:36 +08:00
Kinshuk Bairagi
d29e336417
fix(install): Fix Junction creation during installation inside containers ( #4837 )
2022-03-23 13:43:44 +08:00
Hsiao-nan Cheung
32de4c5714
refactor(bucket): Move 'Find-Manifest' and 'list_buckets' to 'buckets' ( #4814 )
2022-03-23 10:47:52 +08:00
Alex Stelmachonak
ad3fc4f8fb
feat(config): Rename checkver_token to gh_token and SCOOP_CHECKVER_TOKEN to SCOOP_GH_TOKEN ( #4832 )
...
* Properly filtering null input in dl function when private_hosts is not set in config
* Rename checkver_token to gh_token and SCOOP_CHECKVER_TOKEN to SCOOP_GH_TOKEN
2022-03-22 03:30:19 +05:30
Thad Smith
45db5fb325
feat(install): Allow downloading from private repositories ( #4254 )
...
* added ability to use private github repositories
To do this, define a gh_api_token in the sccop config, if the repository is private it will use the apis to get and use the asset id
* corrected inherited linting error
* updated url to pull filename
* inlined get_headers and get-members functions and updated changelog
* simplified host headers and switched to checkver_token from: astelmachonak-nydig
* added ability to use private github repositories
To do this, define a gh_api_token in the sccop config, if the repository is private it will use the apis to get and use the asset id
* updated url to pull filename
* inlined get_headers and get-members functions and updated changelog
* simplified host headers and switched to checkver_token from: astelmachonak-nydig
* Update lib/core.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
* Update lib/core.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
* Fix RegEx
* Some tweaks
* optimize
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com >
2022-03-22 02:25:53 +05:30
HUMORCE
63b858c41f
style: Use correct casing for $PSScriptRoot ( #4775 )
2022-03-04 22:55:45 +08:00
Chawye Hsu
59328fc83c
fix(config): Ensure manipulating config with UTF8 encoding ( #4644 )
2022-03-04 20:28:13 +08:00
Hsiao-nan Cheung
e4580dd705
feat(scoop-shim): Add scoop shim to manipulate shims ( #4736 )
2022-02-26 22:32:54 +08:00
Xavier Young
4047d6962c
perf(install): Avoid checking all files for unlink persisted data ( #4681 )
2022-02-25 10:08:07 +08:00
Rashil Gandhi
e1f569b01b
feat(scoop-cat): Use bat to pretty-print JSON ( #4742 )
...
* feat(scoop-cat): Use `bat` to pretty-print JSON
* update changelog
* hide filename and line numbers
* Add `cat_style` config option
* use underscores
* Revert "use underscores"
This reverts commit 46524fc947 .
* Apply suggestions from code review
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-02-17 22:57:18 +05:30
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
f24159c8f1
fix(test-running-process): Fix wrong output ( #4731 )
2022-02-11 15:09:46 +08:00
CrendKing
14854c3548
feat(config): Allow Scoop to ignore running processes during reset/uninstall/update ( #4713 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-02-11 13:55:42 +08:00
Hsiao-nan Cheung
c01960f283
fix(scoop-update): Enforce $null array ( #4725 )
2022-02-09 18:27:37 +08:00
Hsiao-nan Cheung
285ffd0322
fix(no-junction): Fix error when 'NO_JUNCTIONS' is been set ( #4722 )
2022-02-09 11:08:56 +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
Hsiao-nan Cheung
3f4c191faa
refactor(rmdir): Use 'Remove-Item' instead of 'rmdir' ( #4691 )
2022-01-26 02:34:21 +08:00
Hsiao-nan Cheung
4a9efaa2d9
fix(current): Remove 'current' while it's not a junction ( #4687 )
2022-01-26 01:41:15 +08:00
Hsiao-nan Cheung
98ea7a5e82
refactor(mklink): Use 'New-Item' instead of 'mklink' ( #4690 )
2022-01-26 01:13:09 +08:00
Hsiao-nan Cheung
158c0fd4d0
fix(install-status): Correctly handle failed installation of apps ( #4676 )
2022-01-25 21:58:03 +08:00