12 Commits

Author SHA1 Message Date
Chawye Hsu 29e5898a45 feat(checkup): Add Windows Developer Mode check (#5233) 2022-10-31 11:24:40 +08:00
Hsiao-nan Cheung 6296822f1f perf(scoop): Load libs only once (#4839) 2022-04-21 21:34:26 +08: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
Rashil Gandhi ba28a4f4f1 refactor(COMSPEC): Deprecate use of subshell cmd.exe (#4692) 2022-01-26 10:47:39 +08:00
Bruce Axtens 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
Julian 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
Chawye Hsu 062e6d7973 feat(diagnostic): Add check_envs_requirements 2020-02-23 13:55:19 +01:00
Hsiao-nan Cheung a757dea15e refactor(cmd_available/Get-Command): Add Test-CommandAvailable function (#3314) 2019-04-28 18:53:00 +02:00
Jakub Čábera 1a6fd6e396 feat: Check for LongPaths setting (#3387) 2019-04-26 18:37:18 +02:00
Jakub Čábera 56d54d1c91 feature: Prepare extraction of main bucket (#3060)
- Add preparing changes for extracting the main bucket to https://github.com/scoopinstaller/scoop-main
- Download main bucket on installation
- Add check_main_bucket function
- Add main bucket to buckets.json
- Add docker-compose.yml with default debugging image
- Remove old TODOs
- Refactor bucketdir -> Find-BucketDirectory
- Remove redundant .vscode settings
2019-04-24 21:08:53 +02:00
Chawye Hsu e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Luke Sampson 222bac5c74 Add 'checkup' command. 2017-04-21 19:02:17 +10:00