Commit graph

1812 commits

Author SHA1 Message Date
Manuel Thalmann 1cf1cbf872 Replace osk with cmd during debugging 2024-08-21 18:33:41 +02:00
Manuel Thalmann 3b95d40a7f Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
Manuel Thalmann 8ec473e6ad Print commands in debug mode 2024-08-21 18:28:08 +02:00
Manuel Thalmann 3d4868b01d Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann 80ac0a2a37 Add function for generating startup command 2024-08-21 18:26:58 +02:00
Manuel Thalmann 52e924d62c Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
Manuel Thalmann 42cbaff30a Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 896656eab0 Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
Manuel Thalmann ef65871af5 Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann d38944e245 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 5283e7bb7f Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann 704d3d9542 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann 1d3c4d894a Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann e1fad768db Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann 6902d80781 Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann d00568421e Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann 52eb40f350 Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann f225c17124 Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann e56d01241f Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann fa161667de Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann 8d94fac5ae Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann 5a769e9497 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 7320fa5093 Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann d9ae8c2da0 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 9143f92069 Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann f24149d7ca Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 80e049353f Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann c25c9931c3 Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann cc2c0863d8 Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 778e88154d Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 294c4b0f43 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 19b7ac92bf Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann afa88efdb0 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 31920069f9 Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann 645571e313 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 392e717f92 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann db13a4a93a Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann db9f86992b Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann dc206bb7b0 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann e7d5c15acb Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann ff21a68a5a Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann a1c53405f1 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann c358941ace Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann c96603d547 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 228f6e53ee Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 505ea20b15 Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 267c5dc63c Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 791bfb6a7a Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 6415a61660 Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann 73cb906a70 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann 756c528547 Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann 875457007d Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann b3b1685cb9 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann 400e580962 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann b1c592d357 Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann 08cff17cd8 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann dbd4a21f26 Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 831a2503e5 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 9478519a99 Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann f1443ab47a Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann 0dbd13ecd2 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann e79fa67b30 Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann 42873c8649 Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann e91c4bac19 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann b929a5c077 Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann d65070d808 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann 946845ca92 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann d485529022 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann 0167d1c9f5 Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 1322ec148d Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann efffd89ef3 Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 9ab65dec9c Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann 815bbac1ed Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann d1d24d765d Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann 2d7efd1560 Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann b517fdb2dc Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 116deb6423 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann f1f39e90bb Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 87badda06c Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 5cc7e46105 Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann aa20671c1b Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 36a784f475 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann f65f41b01b Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann 3845edd6f8 Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann 70db88f485 Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann 67ff96b459 Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 8a3940941d Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 7efc63f24f Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann d792c2d5ad Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann 72eec78a18 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann da11bb46f7 Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann 07070b8ed1 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann e7de253509 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 33a8fe8d2e Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann ae1c05ff35 Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 08e6c78d31 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann d5bb09916e Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann e3b9eab9d3 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann a2f3d1ff76 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 5521118d8e Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00