Commit graph

1809 commits

Author SHA1 Message Date
Manuel Thalmann 83165588f9 Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann d00d571194 Add function for generating startup command 2024-08-21 18:26:58 +02:00
Manuel Thalmann 977fe76248 Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
Manuel Thalmann 187f0d465a Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 4c587f87b1 Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
Manuel Thalmann d871b48864 Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann 7feae37eb9 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann d2dbe59071 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann d029018563 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann 72d46420f4 Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann f5359efad7 Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann 8e3abf6087 Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann 4f89c167cb Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann 4d56597f86 Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann 4dccba5632 Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann fae955e126 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann 59e61b6ea8 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann 8eecac02bf Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann df57160ef5 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 2f59726682 Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann 7dbf75e591 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 0b2824cf9e Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann bd8224b3f4 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 5c0e462cc7 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann 7015a69d16 Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 0a23112e2c Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann d684d1ec42 Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 40b3472700 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 24ff14ca99 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 60074b9ad0 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 73c0f0913e Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann ff8b949b35 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 6a73d54056 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 0d8ea792fc Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann cb0af07f0c Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann 36dd010efb Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 1e198093cc Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann d6a85c8cda Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann fac547f4be Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 1ff78c6769 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 18a0b3d577 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 318a880b5f Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann fcfc58ff7e Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 580cbd2f2a Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann a9090b9b9c Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 908a847bbe Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann df0a2847c4 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann dfc70a2b0c Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann 6db6fd02ee Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann b504ee0979 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann 234a0f17d5 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 77ed70468e Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann e0771278a5 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann 2fd325d580 Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 20c3244301 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 882ecb28fd Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 6c120c6149 Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann 1fc72a3f5e Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann 03f144cc43 Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann d80e4a63e3 Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 15e73aa0e7 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann b2445ef769 Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann d8aee75468 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann e9e24e243d Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 3ee92c243e Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann 69a09752b0 Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 9e7436bfca Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann 53f0bc9644 Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann fbbfd0cfe1 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann 31b149db32 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 114545d4cc Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann b916c7d46d Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann 9a084acf75 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 29d4964ba5 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann 8cf4f8ce4f Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann db4a48702d Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 56492ec332 Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann fb60713ae4 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 66fed9c176 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann 33bbfc5d0b Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann 734309c960 Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann 2149b90be9 Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann b8c6038da8 Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 9f55fe7734 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 2928649ee0 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 0cfbb26b17 Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann 36d88a713a Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann 7caf1de4cb Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann e3f84a227b Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann babef7a9ac Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann cc919b4d46 Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann dc7fe9f418 Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann d23bcac5d2 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 3f3799add0 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann 9d662fbce5 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 43f7672df3 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 839e0ccaaf Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann a2fa8bb699 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann 4ec658b387 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann 916b5c9649 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00