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 and Hsiao-nan Cheung
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
jantari and Hsiao-nan Cheung
ef2bfeb3f2
fix(config): Fix set_config bugs ( #3681 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-02-11 00:38:39 +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
Rashil Gandhi and Hsiao-nan Cheung
f559c813df
refactor(shim): Use -file instead of -command in ps1 script shims ( #4721 )
...
* refactor(shim): Use `-file` instead of `-command` in ps1 script shims
* update changelog
* Update CHANGELOG.md
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-02-08 10:42:20 +05:30
snowman
e0a5313132
fix(autoupdate): rename $response to $res ( #4706 )
...
* fix(autoupdate): rename $response to $res
* docs(changelog): Update CHANGELOG.md
2022-02-02 08:22:28 +05:30
Rashil Gandhi
8c02776c6c
refactor(git): Remove unused functions ( #4703 )
...
* refactor(git): Remove unused functions
* unused imports
2022-02-01 11:37:44 +00:00
HUMORCE
c6b10c8f89
refactor(diagnostic,scoop-checkup): Improvements for 'check_windows_defender' and 'scoop-checkup' ( #4699 )
...
* Downgrade defender checks from `warn` to `info`
* checkup update
- Skip `check_windows_defender` when have not admin privileges
- Separate defender issues($defenderIssues)
- Security Tips
* Skip check for `ExclusionPath` if defender realtime protect is disabled
* elif
* CHANGELOG
2022-02-01 13:24:48 +05:30
HUMORCE
5b0bdaf893
refactor(git): Use 'git -C' to specify the work directory instead of 'Push-Location'/'Pop-Location' ( #4697 )
...
* add `git_cmd`
-without any preset command/args
* remove unnecessary import
- `git.ps1`
* stop `Push-Location` and `Pop-Location` before/after git operations
* stop `Push-Location` and `Pop-Location` before/after git operations
* consistency of naming variable
* CHANGELOG
* punctuation mark
* remove functions that are no longer used
- `git_fetch`
- `git_pull`
- `get_checkout`
2022-02-01 13:16:45 +05:30
Rashil Gandhi
ba28a4f4f1
refactor(COMSPEC): Deprecate use of subshell cmd.exe ( #4692 )
2022-01-26 10:47:39 +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
Hsiao-nan Cheung
e09127f7be
fix(versions): Fix wrong version number when only one version dir ( #4679 )
2022-01-21 13:05:43 +08:00
Hsiao-nan Cheung
d023e6cf0d
fix(depends): Keep bucket in 'Get-Dependency()' ( #4673 )
2022-01-19 22:06:12 +08:00
Hsiao-nan Cheung
d71fe82f9d
fix(installed): Fix 'core/installed' that mark failed app as 'installed' ( #4650 )
2022-01-12 20:46:44 +08:00
Hsiao-nan Cheung
5b87c99aa8
refactor(deps): Rewrite 'depends.ps1' ( #4638 )
2022-01-12 11:10:55 +08:00
Hsiao-nan Cheung
3ca1b1f2e3
fix(decompress): Fix Split-Path -LeafBase in PS5 ( #4639 )
2022-01-10 14:22:12 +08:00
ipcjs
30f57aee6a
fix(shim): Fix sh shim error in WSL ( #4637 )
2022-01-09 22:58:52 +08:00
Michael Ziminsky (Z)
25b170895f
fix(depends): Check if extractor is available ( #4042 )
2022-01-08 20:08:26 +08:00
399274e242
docs: Add sudo note in LongPaths suggestion ( #4382 )
...
* added sudo to Set-ItemProperty incl note about sudo
* Update diagnostic.ps1
Co-authored-by: Bruce M. Axtens <bugmagnet@outlook.com >
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2022-01-08 12:24:18 +05:30
Hsiao-nan Cheung
4f5ecd029e
fix(config): Allow scoop config use Unicode characters ( #4631 )
2022-01-08 00:23:07 +08:00
Issac Lin
fba658c020
fix(autoupdate): Allow checksum file that contains whitespaces ( #4619 )
2022-01-05 15:01:05 +08:00
Hsiao-nan Cheung and Rashil Gandhi
00f7859b3f
fix(shim): Fix PS1 shim error when in different drive in PS7 ( #4614 )
...
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2022-01-05 14:58:49 +08:00
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
Joris and Rashil 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 Gandhi and Hsiao-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 Cheung and Zoritle
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
Retia and Hsiao-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