Commit graph

1810 commits

Author SHA1 Message Date
Manuel Thalmann 27231a3997 Print commands in debug mode 2024-08-21 18:28:08 +02:00
Manuel Thalmann dd9798be0e Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann 5375f444bf Add function for generating startup command 2024-08-21 18:26:58 +02:00
Manuel Thalmann e3a502f7ab Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
Manuel Thalmann ea9023a7e7 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 615ab192eb Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
Manuel Thalmann 99663d0af0 Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann 66bbcca220 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 2d6cca4b02 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann a6fc3c170d Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann 540f594656 Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann c7b73c3d9f Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann 6c7d58d22a Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann 2955d14b24 Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann b8ef95acfe Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann ec19ba025f Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann fcb01e2ec7 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann ce36865bd9 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann bfe46d929c Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann 9033613d75 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 16ea84148e Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann dd7b18f8d7 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 0e2a0acadc Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann c0e603287d Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 0f3fb86851 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann f72bba850e Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 3d166157c5 Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann bba4339481 Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 79146bd936 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann a1dca1a965 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 636d3a59a8 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 8f3ab17f5b Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann c20d67e40f Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 8667b0e111 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 8ca6c58d4e Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann d0ab0ffadb Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann d245a69a31 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 34f46d1aae Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 8e71e64486 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 8b6f5d5e60 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 37021f2962 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 946dc09516 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 9b9417ff6f Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 432046729d Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 0e7f0bf723 Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann c2a7a53d71 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 3cbe46b51c Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann 153d1ea925 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann 9db3528c08 Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann f057115cb2 Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann 453affeef5 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann d795d63156 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 432610aaab Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann a643240ccc Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann c87831dcff Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 152b5b2dd8 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 543cead314 Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 21b0dec955 Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann b49322a0d8 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann 8e254ab68d Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann f465f97ade Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 502e3fe535 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 97193316a3 Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann 802cff731d Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann ab89e450f7 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 5449b08305 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann b2a1e06dbf Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 5d99acc08f Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann 2102f54dec Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann ef8bfb2d61 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann d95ce175c0 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 855c1c2066 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann bb334ea29e Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann ebf092c141 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 5dc42d6099 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann 46cd57ce68 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 914691eb9a Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann e5e4864718 Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann c113d06304 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 66111a7615 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann 300d932fa4 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann 049cce993c Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann f36d2ef11e Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann d6362632fb Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 1f0e5b80e0 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 2c37cf1584 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 8b3c0af4cc Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann 7c16764536 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann dc7035c76b Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann 1e41e74640 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann b6c76544dc Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 2c2e648e26 Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann ea2d80b59e Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 2e88e1a9de Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 7802131f37 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann aa0dc1805a Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 0d8a3765ea Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 3fd3aa9a2a Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann 2d26f4c77e Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann d6d2731062 Add missing setup stage 2024-08-09 03:02:25 +02:00