Commit graph

55 commits

Author SHA1 Message Date
12326a5e2c
Use new Union syntax
This bumps the minimum Python version to 3.10
2023-05-29 12:35:40 -07:00
62edaac25a
Add type hints to functions 2023-05-28 20:09:54 -07:00
f9bcd534d4
Move ansi code into wk/ui 2023-04-08 19:20:22 -07:00
d302be2d7c
Use prompt_toolkit for CLI input 2023-04-08 16:26:51 -07:00
95d7159414
Move ANSI color escape sections to their own file 2023-04-02 20:46:54 -07:00
03a143488c
Adjust ui imports and calls 2023-04-02 20:12:18 -07:00
e3ebc2d1b8
Merge branch 'dev' into ui-split 2023-04-01 22:28:32 -07:00
9228137187
Fix check_4k_alignment()
Addresses #215
2023-04-01 22:16:38 -07:00
89fd647792
Split wk.std into debug, std, and ui sections 2023-04-01 22:14:03 -07:00
9f66b151af
Replace more pylint sections with ruff 2023-03-26 23:52:52 -07:00
d5bc74d21b
Show partition info in 4K alignment check 2023-03-25 20:24:17 -07:00
e00920f24a
Switch to ruff linting 2023-03-19 18:47:46 -07:00
a9581c9152
Update OS version sections to support Windows 11 2022-10-01 18:43:44 -07:00
5aa49fe5e5
Stomp bugs and typos 2022-09-28 00:33:15 -07:00
82e0de422b
Add export_bitlocker.py script 2022-09-28 00:33:15 -07:00
a97a71a24a
Fix Windows 11 version reporting 2022-09-04 18:10:54 -07:00
0e56ccccfd
Remove extraneous registry hive names 2021-12-08 21:26:04 -07:00
8ecac36a64
Fix Secure Boot sections 2021-11-10 22:59:25 -07:00
5fb6dc4205
Fix volume free percentage calculation 2021-11-07 17:35:40 -07:00
98f3ebb49e
Change how OS_VERSION is set
By only using the float type for 8.1 we can just print OS_VERSION to get
7, 8, 8.1, 10, and maybe 11?

To future me, sorry if you decide to add type hints to the project.
2021-10-20 20:51:04 -06:00
b7d54e1469
Apply bugfixes 2021-10-13 17:57:19 -06:00
eacab48c1e
Add 4K alignment checks to Auto Setup 2021-09-29 20:31:46 -06:00
f1645f80e6
Add AV check to Auto Setup 2021-09-29 20:27:35 -06:00
30e43b9814
Add storage status sections 2021-09-29 19:56:49 -06:00
526f6e26eb
Add installed RAM sections 2021-09-29 01:24:07 -06:00
337b6d95e1
Add activation and Secure Boot sections 2021-09-29 00:59:06 -06:00
423cd343fb
Add show_os_name() with support status checks 2021-09-28 23:23:05 -06:00
528602d98e
Check if activated before getting the BIOS key 2021-09-27 20:48:55 -06:00
578925cb70
Add Open-Shell install sections 2021-09-15 18:02:36 -06:00
b7b8f20e24
Add timezone check to Auto Repairs 2021-05-07 18:18:38 -06:00
65cb8481bc
Add wk.repairs section 2021-04-17 14:10:30 -06:00
fd7a8c4066
Add Windows service functions 2021-04-17 12:13:24 -06:00
9351b597c2
Avoid potential crash in run_chkdsk_online() 2021-04-17 11:38:06 -06:00
7064472e0b
Fix SFC scan 2021-04-16 03:33:47 -06:00
e088f705ba
Add run_dism() 2021-04-15 23:33:11 -06:00
47b49077da
Show CHKDSK progress in separate pane under ConEmu 2021-04-15 23:31:08 -06:00
943c1e11b9
Retry CHKDSK on failures
Fixes issue #159
2021-04-15 21:13:28 -06:00
ed6f188eb2
Avoid pylint errors under Linux/macOS 2021-04-15 20:04:33 -06:00
759cd12379
Reoder Windows functions 2021-04-15 19:48:36 -06:00
812fd15011
Add more pylint cleanup fixes 2021-04-09 00:15:59 -06:00
d0d74b8763
Support creating emtpy keys in reg_write_settings() 2020-04-07 23:23:11 -06:00
8753344665
Added reg_write_settings()
* Replaces old write_registry_settings()
* Uses tuples to combine all parts of the values
  * e.g. ('SampleValue', 'SampleData', 'SZ', '32)
  * This will allow merging multiple setting groups together
  * Should be more readable than the old method
2020-04-07 23:05:40 -06:00
24dbdf29fd
Added Windows Registry functions 2020-04-06 19:46:09 -06:00
98032a0fed
Removed stale TODO statements 2020-01-28 19:00:47 -07:00
c9b3794f0e
Renamed some vars for consistency 2019-10-22 18:43:04 -07:00
a2017fa415
Added check_disk.py 2019-10-02 21:40:56 -07:00
1ffabd8642
Updated wk.os.win 2019-09-23 00:01:54 -07:00
4c35d7cb4e
Added CHKDSK functions 2019-09-22 23:34:02 -07:00
2ea0b4818a
Updated run_sfc_scan()
* Output is UTF-16, decode it as such
  * Simplifies section
* Reworked checking the result
  * Use separate exceptions for corruption and general errors
2019-09-22 21:50:08 -07:00
1cfd8fb7b4
Added outer activation script 2019-09-22 20:06:40 -07:00