Commit Graph

46 Commits

Author SHA1 Message Date
Thomas Schönauer
16953409fd Get windows to finish clippy without errors (#133)
* Changes windows get_wsl_distribution argument

* changes in get_wsl_distributions

* changes in run_wsl_topgrade due to clippy errors
2022-11-03 19:34:27 +00:00
Thomas Schönauer
7256aaffc8 Resolve clippy errors (#131)
* Resolves clippy errors

* Fixes clippy errors

* Changes get_wsl_distributions arguments from pointer to value
2022-11-03 19:04:06 +00:00
Thomas Schönauer
66e0b94e85 Resolve clippy errors (#130)
* Resolves clippy errors

* Fixes clippy errors
2022-11-03 18:54:40 +00:00
Roey Darwish Dror
5166f651ea Don't fail if there are no Github extensions (fix #877) 2022-03-29 03:43:13 +03:00
Roey Darwish Dror
cea32020ce Disable winget by default 2022-03-05 21:58:36 +02:00
Roey Darwish Dror
4230388017 Support multiple WSL distributions (fix #855) (#858) 2022-02-13 08:08:18 +02:00
Roey Darwish Dror
ab3ff0ecae Selective yes (fix #802) (#808)
* Selective yes flag (fix #802)

* Selective yes flag (fix #802)

* selective yes

* MacOS
2021-12-06 14:44:20 +02:00
Roey Darwish Dror
539b267eef Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Marcin Puc
1478d079ca Add minor refactorings (#754) 2021-09-04 21:01:19 +03:00
Roey Darwish Dror
9205649a5f Support winget (fix #721) (#722) 2021-06-03 13:08:17 +03:00
Roey Darwish Dror
7d85ecca7c Revert "No need to run which in WSL (fix #694) (#707)"
This reverts commit ac4c23929e.
2021-05-13 21:53:13 +03:00
Roey Darwish Dror
ac4c23929e No need to run which in WSL (fix #694) (#707)
* No need to run which in WSL (fix #694)

* clippy
2021-05-10 09:40:23 +03:00
Roey Darwish Dror
4bbebf32dd Clippy 2021-05-08 22:50:42 +03:00
Roey Darwish Dror
cf63db2786 Remove Microsoft store (fix #674) 2021-04-23 07:01:11 +03:00
Roey Darwish Dror
23d9a5bf63 Fix Microsoft Store (fix #656)
Despite the fact that Topgrade explicitly tries to run the Windows Powershell, gsudo has an odd behaviour which causes it to detect whether it's being run from Powershell for Cmd.
If run from Powershell, It will launch the current powershell with the given command. If the current shell is Powershell, it will try to run the command with it.
However, Get-WmiObject doesn't exist on Powershell core.
2021-02-25 10:10:57 +02:00
Roey Darwish Dror
eb358c1a88 Use redirection to $null instead of Out-Null (fix #651) 2021-02-22 10:37:35 +02:00
Roey Darwish Dror
4fe3c257b6 Fixed Microsoft Store terminology 2021-02-18 14:20:30 +02:00
Roey Darwish Dror
8af7910df0 Fix WSL 2021-02-13 07:05:58 +02:00
Roey Darwish Dror
746ffda444 Windows App Store (fix #622) (#624) 2021-02-11 06:31:59 +02:00
Roey Darwish Dror
62ec3a94e6 Revert "wsl fix" (fix #612)
This reverts commit db1dea9bea.
2021-02-06 06:56:26 +02:00
Roey Darwish Dror
66e62cc3eb Windows: look for git repos in the startup directory 2021-02-02 22:28:22 +02:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
d48182e6bd Pass -y to WSL if necessary 2020-08-21 21:10:54 +03:00
Roey Darwish Dror
db1dea9bea wsl fix 2020-08-18 08:39:23 +03:00
Roey Darwish Dror
065565240e Automatically detect gsudo (#469) 2020-07-10 11:21:19 +03:00
chhe
64fbf606df option to use choco with gsudo on windows (#463) 2020-07-06 14:36:45 +03:00
Oleksii Filonenko
d838eb588b Add support for -y flag in Chocolatey (#457) 2020-06-30 11:55:39 +03:00
Roey Darwish Dror
670dbd1f64 Use the built in Windows update client 2020-02-27 22:06:14 +02:00
Roey Darwish Dror
b91fa4e26c Add cleanup support for scoop (fix #311) 2020-01-30 20:32:37 +02:00
Roey Darwish Dror
ba516aa1dd Migrate from failure to anyhow/thiserror (#273) 2019-12-11 23:05:38 +02:00
Roey Darwish Dror
4ae0263e0d Support PowerShell core (fix #189) 2019-08-15 08:46:54 +03:00
Roey Darwish Dror
a834a79f45 Add reboot and shell ability in pause 2019-06-16 08:32:50 +03:00
Roey Darwish Dror
4a7218293b Add a key for running remote topgrades 2019-06-05 14:16:53 +03:00
Roey Darwish Dror
5b179d93d9 Run WSL in Topgrade if present (fix #163) 2019-06-04 14:56:49 +03:00
Roey Darwish Dror
187452b31a Fix missing check that the Powershell profile actually exists (fix #157) 2019-05-25 21:28:16 +03:00
Roey Darwish Dror
a85311608e Windows step refactoring 2019-02-11 20:38:51 +02:00
Roey Darwish Dror
e2d42b77a7 Run Powershell module update with verbose output 2019-02-11 20:30:32 +02:00
Roey Darwish Dror
4f981fd504 Only update Powershell modules if profile is present and allow disabling this step (fix #114) 2019-01-27 20:30:29 +02:00
Roey Darwish Dror
84323d9729 Don't run Powershell in a dumb terminal (fix #110) 2019-01-21 20:12:56 +02:00
Roey Darwish Dror
65e81872ac Fix retrival of Powershell profile path 2019-01-21 20:12:20 +02:00
Roey Darwish Dror
1b2308aaef Add check_output 2019-01-01 22:22:07 +02:00
Roey Darwish Dror
f3f8f322d8 Add check_run() 2018-12-31 22:00:34 +02:00
Roey Darwish Dror
19de361775 Dry run fixup 2018-12-31 14:06:21 +02:00
Roey Darwish Dror
2cac8a7970 Cargo fmt 2018-12-31 13:34:56 +02:00
Roey Darwish Dror
957d73c634 Don't pass dry_run as a boolean to functions 2018-12-31 13:26:17 +02:00
Roey Darwish Dror
47a271af47 Modules refactor 2018-12-17 09:40:38 +02:00