Rashil Gandhi
f94ee533fa
Add function to detect CI environment
2022-11-13 20:13:12 +05:30
Hsiao-nan Cheung
0f795733d8
refactor(unix): Remove unix.ps1 ( #5235 )
2022-11-11 01:10:52 +08:00
Chawye Hsu
29e5898a45
feat(checkup): Add Windows Developer Mode check ( #5233 )
2022-10-31 11:24:40 +08:00
Hsiao-nan Cheung
e4f9734b88
fix(shim): Exit if shim creating failed 'cause no git ( #5225 )
2022-10-28 13:17:53 +08:00
Hsiao-nan Cheung
01fe9ccd63
fix(import): Fix scoop import command ( #5210 )
2022-10-24 04:06:31 +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
1eea29b0d1
fix(decompress): Trim ending '/' ( #5195 )
2022-10-15 23:19:16 +08:00
Hsiao-nan Cheung
d0cbc36a58
fix(hash): Fix SF hash extraction ( #5189 )
2022-10-14 18:21:52 +08:00
Hsiao-nan Cheung
ec8161df6c
fix(decompress): Use PS's default 'Expand-Archive()' ( #5185 )
2022-10-14 14:29:24 +08:00
Hsiao-nan Cheung
24301ac028
refactor(hash): Use 'Get-FileHash()' directly ( #5177 )
2022-10-13 19:15:32 +08:00
Hsiao-nan Cheung
7f47f662e2
feat(subdir): Allow subdir in 'bucket' ( #5119 )
2022-09-28 11:22:33 +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
KOGA Mitsuhiro
5ad35d6054
fix(jsonpath): Prevent converting date string to DateTime in JSONPath ( #5130 )
2022-09-09 13:40:44 +08:00
AkariiinMKII
740322f74f
fix(psmodules): Remove folder recursively when unlinking previous module path ( #5127 )
...
* Update psmodules.ps1
* Update CHANGELOG.md
* Update CHANGELOG.md [skip ci]
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-08-29 21:50:27 +05:30
L. Yeung
e06c7f0c81
feat(getopt): Support option terminator (--) ( #5121 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-08-25 11:08:31 +08:00
Hsiao-nan Cheung
1985a05b59
refactor(path): Use 'Convert-Path()' instead of 'Resolve-Path()' ( #5109 )
2022-08-22 15:12:46 +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
Hsiao-nan Cheung
a9e5a974dd
feat(scoop-config): Allow 'hold_update_until' be set manually ( #5100 )
...
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com >
2022-08-16 10:03:25 +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
yi_Xu
ec04dd07bc
feat(scoop-(un)hold): Support scoop (un)hold scoop ( #5089 )
...
* feat(scoop-config): Add new configuration of `SCOOP_HOLD`
Allow to disable Scoop itself updates.
This configuration have the same function with 'scoop (un)hold scoop'.
* perf(scoop-update): Separate `update_bucket` from `update_scoop`
* perf(scoop-(un)hold): remove big overarching if-statement
* perf(scoop-config): use `SCOOP_HOLD_DAYS` instead of `SCOOP_HOLD`
* perf(scoop-config): Update forward Compatible code
* Update libexec/scoop-config.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-hold.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-unhold.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* perf(scoop-update): Update last_scoop_update
* docs(changelog): update changelog to add feature
* fix(changelog): fix changelog typo
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-config.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
* refactor: Use `lastUpdate` instead of `lastupdate`
Consistent with scoop-export.
* fix(install): make config lastUpdate silent
* refactor(scoop-update): Remove `SCOOP_HOLD`
* fix: update changelog
remove none used code.
* Update lib/core.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-update.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* perf(scoop-update): Handle the judgment in try-catch
* fix(scoop-update): Remove 'update_until' when update scoop itself
* Update lib/core.ps1
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
* docs(CHANGELOG): Update changelog
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2022-08-11 14:50:40 +05:30
Hsiao-nan Cheung
5b5daa5ee9
fix(installed): Use 'System.Nullable<bool>' for param 'global' ( #5088 )
2022-08-07 02:57:12 +08:00
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
L. Yeung
34da8507a8
feat(core): Create no window by default in Invoke-ExternalCommand ( #5066 )
2022-07-26 00:46:08 +08:00
L. Yeung
288aee9ee9
feat(core): Improve argument concatenation in Invoke-ExternalCommand ( #5065 )
2022-07-25 23:44:26 +08:00
L. Yeung
eac520a4d8
fix(core): Avoid deadlock in Invoke-ExternalCommand ( #5064 )
2022-07-25 23:43:08 +08:00
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
zStruCat
b4e0ff16a6
fix(scoop-import): Use foreach instead of ForEach-Object for nullity check ( #5034 )
...
* Add nullity check and alread_in_local_bucket check
* update CHANGELOG
* Use foreach instead of ForEach-Object
* changelog
* update help
* refine the info and warning when adding an already-added bucket
* Update lib/buckets.ps1
Make warning clearer
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com >
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2022-07-07 10:49:53 +05:30
Issac Lin
1b5ee6f090
fix(decompress): Handle split RAR archives ( #4994 )
2022-06-24 22:15:54 +08:00
Rashil Gandhi
c4d1b9c22f
feat(scoop-import): Import a Scoop installation from JSON ( #5014 )
...
* feat(scoop-export): Export Scoop installation in JSON
* optimize
* yesss done
* complete
* Update CHANGELOG.md
* Add suggestions from code review
* fix CI
2022-06-24 11:12:01 +05:30
Rashil Gandhi
83d0fef02f
fix(shortcuts): Fix missing parentheses ( #5006 )
...
* fix(shortcuts): Fix missing parentheses
* Update CHANGELOG.md
2022-06-21 18:31:20 +05:30
Rashil Gandhi
847756bd1e
refactor(scoop-search): Output PSObject, use API token ( #4997 )
...
* refactor(scoop-search): Output PSObject, use API token
* warn about parsing error
* Update CHANGELOG.md
* Update scoop-search.ps1
* Apply suggestions from code review
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* separate lines
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-06-21 11:48:58 +05:30
Ying Fan Chong
86e3efbaf0
fix(shortcuts): Fix network drive shortcut creation ( #4410 )
...
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com >
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-06-21 14:12:08 +08:00
Chawye Hsu
666d474ee1
feat(scoop-update): Support scoop update scoop ( #4992 )
2022-06-20 14:43:28 +08:00
Hsiao-nan Cheung
0b38c91f1a
fix(manifest): Fix bugs in 'Get-Manifest()' ( #4986 )
2022-06-14 14:25:53 +08:00
yi_Xu
6e25e440af
feat(core): Add 'Get-Encoding()' function to fix missing webClient encoding ( #4956 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-06-13 23:21:57 +08:00
Hsiao-nan Cheung
9e70dcad79
fix(get-manfest): Add back '$appPath' ( #4981 )
2022-06-10 22:31:43 +08:00
Daniel Villarreal
64364b40b4
fix(buckets): Make sure list_buckets return array ( #4979 )
2022-06-10 18:06:00 +08:00
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
Rosen Penev
2e52888b63
chore(core): Deprecate tls1 and tls1.1 ( #4950 )
2022-05-28 22:38:29 +08:00
Rashil Gandhi
0f6d012d26
fix(shim): Add 'Get-CommandPath()' to find git ( #4913 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-05-27 10:18:41 +08:00
Hsiao-nan Cheung
d056d542db
fix(core): Use Invoke-Command instead of Invoke-Expression ( #4941 )
2022-05-26 10:54:34 +08:00
ISHIKAWA Takayuki
ad04dc9e6f
fix(core): Allow to use '_' and '.' in bucket name ( #4952 )
2022-05-25 20:07:21 +08:00
L. Yeung
bb5392b486
fix(shim): Remove character replacement in .cmd -> .ps1 shims ( #4914 )
2022-05-17 23:18:10 +08:00
Garcha Sprgchma
f49f976618
fix(config): Load config file before initialization ( #4932 )
2022-05-17 23:02:56 +08:00
Issac Lin
b130e606cf
fix(depends): Avoid digits in archive file extension ( #4915 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-05-16 22:32:26 +08:00
Chawye Hsu
c6fc2de306
fix(buckets): Don't write message OK before bucket is cloned ( #4925 )
2022-05-15 17:10:08 +08:00
Hsiao-nan Cheung
a2600b1203
fix(buckets): Don't check remote URL of non-git buckets ( #4923 )
2022-05-15 15:49:38 +08:00
L. Yeung
22365c2169
fix(bucket): Return empty list correctly in Get-LocalBucket ( #4885 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com >
2022-04-27 17:37:18 +08:00