Commit graph

1935 commits

Author SHA1 Message Date
Manuel Thalmann 3779b9d089 Fix non-functioning aliae installation 2024-08-27 18:55:12 +02:00
Manuel Thalmann 29bd4c42ae Create dedicated script for creating users 2024-08-27 17:04:17 +02:00
Manuel Thalmann 543c617634 Create dedicated script for installing software 2024-08-27 16:41:08 +02:00
Manuel Thalmann 8d73d0dac3 Prevent reading nix config multiple times 2024-08-27 14:35:04 +02:00
Manuel Thalmann afe6a163f9 Ensure only one user is enabled at once 2024-08-27 14:11:31 +02:00
Manuel Thalmann a40f94228c Prevent unnecessary file creation 2024-08-27 14:06:56 +02:00
Manuel Thalmann dea07dd55e Execute OneShot tasks in any operation 2024-08-27 14:05:16 +02:00
Manuel Thalmann 66c642a448 Force the use of the managed distribution 2024-08-27 04:26:25 +02:00
Manuel Thalmann 75cea35de6 Initialize operation for all users 2024-08-27 04:24:29 +02:00
Manuel Thalmann 31001d292c Handle initialization in operation code 2024-08-27 04:15:37 +02:00
Manuel Thalmann ce7bca137b Execute script non-interactive during OneShot tasks 2024-08-27 03:50:08 +02:00
Manuel Thalmann 919b06a8e5 Exit script after running OneShot task 2024-08-27 03:45:44 +02:00
Manuel Thalmann df0e13fec4 Modify user after first login 2024-08-27 03:27:54 +02:00
Manuel Thalmann cb98417d88 Rearm Windows Activation before creating MSAcc 2024-08-27 03:25:19 +02:00
Manuel Thalmann 2239b00bb7 Register MSAcc logon script early 2024-08-27 03:24:37 +02:00
Manuel Thalmann 8bdc30c245 Allow rebooting without registering setup 2024-08-27 03:11:35 +02:00
Manuel Thalmann 13cd786c91 Fix non-functioning NoProfile argument 2024-08-27 02:09:04 +02:00
Manuel Thalmann ab456a8709 Prevent unnecessary installation actions 2024-08-27 01:57:46 +02:00
Manuel Thalmann 566e2b6b4e Only install PowerShell module if necessary 2024-08-27 01:25:32 +02:00
Manuel Thalmann 11d798c48a Streamline PowerShell installation 2024-08-27 00:45:46 +02:00
Manuel Thalmann d3cf87500d Add further functionality to the WSL script 2024-08-27 00:38:46 +02:00
Manuel Thalmann 4b84371500 Create a separate script for WSL interaction 2024-08-26 23:33:46 +02:00
Manuel Thalmann 9fb20e0844 Fix recursive configuration 2024-08-25 03:58:28 +02:00
Manuel Thalmann 2e69fab0e9 Keep Windows fixes separate 2024-08-24 16:56:29 +02:00
Manuel Thalmann 6de6a4c1ea Remove WSL after operation 2024-08-24 16:52:41 +02:00
Manuel Thalmann b01c07c65a Make distribution name unique 2024-08-24 16:41:05 +02:00
Manuel Thalmann b0719bfc4e Streamline WSL distribution name 2024-08-24 16:27:34 +02:00
Manuel Thalmann 70f34d2685 Remove unused resources after user setup 2024-08-24 16:15:10 +02:00
Manuel Thalmann 8e97e7f54b Print update logs properly 2024-08-24 14:47:51 +02:00
Manuel Thalmann a36828beb5 Update incorrect path 2024-08-24 14:11:38 +02:00
Manuel Thalmann fab466b2ea Simplify osu!lazer installation 2024-08-24 14:10:02 +02:00
Manuel Thalmann 9c422def5f Determine name of setup user properly 2024-08-24 14:01:05 +02:00
Manuel Thalmann a8ada2619c Make OMP configuration platform independent 2024-08-24 13:27:48 +02:00
Manuel Thalmann ac0e18ee74 Remove unnecessary code 2024-08-24 04:25:07 +02:00
Manuel Thalmann 3988c7133d Remove unnecessary loop 2024-08-24 04:24:55 +02:00
Manuel Thalmann e773db1ee8 Add missing module 2024-08-24 04:24:37 +02:00
Manuel Thalmann 996e04d392 Add a function for creating shortcuts 2024-08-24 04:18:33 +02:00
Manuel Thalmann 35aedb320e Allow configuring nextcloud syncs 2024-08-24 04:07:35 +02:00
Manuel Thalmann 7d895d1f12 Create separate option holding win users 2024-08-24 03:25:28 +02:00
Manuel Thalmann 7b55f4c3ed Rename Nextcloud installer 2024-08-24 01:50:07 +02:00
Manuel Thalmann 5877f44de5 Add file system driver for dual boot 2024-08-24 01:41:09 +02:00
Manuel Thalmann 1c984ffba3 Prevent unnecessary config evaluation 2024-08-24 01:31:39 +02:00
Manuel Thalmann 1a2c52d3b1 Fix non-functioning installer 2024-08-24 01:27:26 +02:00
Manuel Thalmann 68c7b77310 Install vscode extensions by default 2024-08-24 01:16:56 +02:00
Manuel Thalmann 9729db6152 Load theme file from WSL properly 2024-08-24 00:59:59 +02:00
Manuel Thalmann d8c0537dff Update aliae configuration script 2024-08-24 00:42:57 +02:00
Manuel Thalmann 2192417157 Strip duplicate variables and aliases 2024-08-24 00:08:58 +02:00
Manuel Thalmann 4d524070ca Install posh theme automatically 2024-08-23 23:53:48 +02:00
Manuel Thalmann 5c212ff366 Export missing function 2024-08-23 23:50:13 +02:00
Manuel Thalmann 7674d05073 Install aliae by default 2024-08-23 23:46:23 +02:00
Manuel Thalmann 8d5e88437d Add scripts for changing aliae config 2024-08-23 23:44:51 +02:00
Manuel Thalmann 1da4a44ca7 Fix compatibility with mixed new line characters 2024-08-23 23:44:23 +02:00
Manuel Thalmann f30687f268 Add a script for installing aliae 2024-08-23 22:38:28 +02:00
Manuel Thalmann b1169f5e34 Fetch config from proper section 2024-08-23 19:24:49 +02:00
Manuel Thalmann 0a869f7dbf Fix inheritance of user config 2024-08-23 18:28:20 +02:00
Manuel Thalmann 07c77d412c Set user info during git setup 2024-08-23 02:01:16 +02:00
Manuel Thalmann 87634d394a Make all config scripts platform independent 2024-08-23 01:57:53 +02:00
Manuel Thalmann 506786a8ce Allow leaving aliases unspecified 2024-08-23 01:52:25 +02:00
Manuel Thalmann 0b1784d32d Make scripts platform independent 2024-08-23 01:52:04 +02:00
Manuel Thalmann 5e55ab2cad Add scripts for configuring git 2024-08-23 01:43:26 +02:00
Manuel Thalmann 0e5eac5ed3 Configure software implicitly 2024-08-23 01:41:32 +02:00
Manuel Thalmann cdaf4c5fda Skip profile creation for PinnedItem 2024-08-22 23:55:41 +02:00
Manuel Thalmann d36969a44d Allow skipping powershell module registration 2024-08-22 23:55:00 +02:00
Manuel Thalmann dfdf1358b8 Remove user profile of OneShot user 2024-08-22 23:12:11 +02:00
Manuel Thalmann 86149f1b86 Add missing OneShotTask declaration 2024-08-22 20:41:30 +02:00
Manuel Thalmann dfd3751f95 Fix infinite loop 2024-08-22 20:41:17 +02:00
Manuel Thalmann 6ab503fe89 Fix handling empty error messages 2024-08-22 20:12:18 +02:00
Manuel Thalmann 3a072c3551 Add choco to the profile of the setup user 2024-08-22 13:46:55 +02:00
Manuel Thalmann 96ebbade0e Fix incorrect typings 2024-08-22 11:11:12 +02:00
Manuel Thalmann 057801a8c0 Fix permission issues when enabling Win hack 2024-08-22 11:11:00 +02:00
Manuel Thalmann 50eece283b Register setup script as admin 2024-08-22 11:10:39 +02:00
Manuel Thalmann f45f6bd0e8 Execute the entire installer using live scripts 2024-08-21 23:21:32 +02:00
Manuel Thalmann 242e68bd3d Streamline the creation of users 2024-08-21 18:34:18 +02:00
Manuel Thalmann 0f31a80d2a Replace osk with cmd during debugging 2024-08-21 18:33:41 +02:00
Manuel Thalmann 33e7afacda Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
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