Commit graph

1937 commits

Author SHA1 Message Date
Manuel Thalmann 034040b88c Rename the Windows installer script 2024-08-27 23:35:56 +02:00
Manuel Thalmann 577d7f6182 Rename outdated script 2024-08-27 23:08:41 +02:00
Manuel Thalmann b3fcc414e0 Silence errors concerning empty aliae configurations 2024-08-27 22:35:31 +02:00
Manuel Thalmann 06da905646 Make Operations script cross platform 2024-08-27 22:27:44 +02:00
Manuel Thalmann 6182ff2c8f Handle OneShot tasks only on Windows 2024-08-27 21:32:49 +02:00
Manuel Thalmann 8dbd6424eb Add a script for managing backups 2024-08-27 21:05:51 +02:00
Manuel Thalmann 89da8c7955 Add tools for managing aliae 2024-08-27 18:58:33 +02:00
Manuel Thalmann bda6c7cb90 Fix non-functioning aliae installation 2024-08-27 18:55:12 +02:00
Manuel Thalmann 5bf9c2702a Create dedicated script for creating users 2024-08-27 17:04:17 +02:00
Manuel Thalmann 1e3cdf0b7e Create dedicated script for installing software 2024-08-27 16:41:08 +02:00
Manuel Thalmann cfb23bbfd5 Prevent reading nix config multiple times 2024-08-27 14:35:04 +02:00
Manuel Thalmann 832a628793 Ensure only one user is enabled at once 2024-08-27 14:11:31 +02:00
Manuel Thalmann ddef4121ae Prevent unnecessary file creation 2024-08-27 14:06:56 +02:00
Manuel Thalmann bbce6be453 Execute OneShot tasks in any operation 2024-08-27 14:05:16 +02:00
Manuel Thalmann bd2b36f40f Force the use of the managed distribution 2024-08-27 04:26:25 +02:00
Manuel Thalmann aee8297541 Initialize operation for all users 2024-08-27 04:24:29 +02:00
Manuel Thalmann 3991c79bb2 Handle initialization in operation code 2024-08-27 04:15:37 +02:00
Manuel Thalmann 9bb001768b Execute script non-interactive during OneShot tasks 2024-08-27 03:50:08 +02:00
Manuel Thalmann 309c0abeb9 Exit script after running OneShot task 2024-08-27 03:45:44 +02:00
Manuel Thalmann 530fb438cf Modify user after first login 2024-08-27 03:27:54 +02:00
Manuel Thalmann da8274b08f Rearm Windows Activation before creating MSAcc 2024-08-27 03:25:19 +02:00
Manuel Thalmann 4f3a7aff4b Register MSAcc logon script early 2024-08-27 03:24:37 +02:00
Manuel Thalmann 606ef88622 Allow rebooting without registering setup 2024-08-27 03:11:35 +02:00
Manuel Thalmann c1d6ef712a Fix non-functioning NoProfile argument 2024-08-27 02:09:04 +02:00
Manuel Thalmann 735208b273 Prevent unnecessary installation actions 2024-08-27 01:57:46 +02:00
Manuel Thalmann 9f1adf9829 Only install PowerShell module if necessary 2024-08-27 01:25:32 +02:00
Manuel Thalmann 6a457cff12 Streamline PowerShell installation 2024-08-27 00:45:46 +02:00
Manuel Thalmann 712db8ce7f Add further functionality to the WSL script 2024-08-27 00:38:46 +02:00
Manuel Thalmann 97770288c0 Create a separate script for WSL interaction 2024-08-26 23:33:46 +02:00
Manuel Thalmann 11d8c853c0 Fix recursive configuration 2024-08-25 03:58:28 +02:00
Manuel Thalmann b75e872a4e Keep Windows fixes separate 2024-08-24 16:56:29 +02:00
Manuel Thalmann 00bee4e4cc Remove WSL after operation 2024-08-24 16:52:41 +02:00
Manuel Thalmann eb4a3070bb Make distribution name unique 2024-08-24 16:41:05 +02:00
Manuel Thalmann 50da56e5b4 Streamline WSL distribution name 2024-08-24 16:27:34 +02:00
Manuel Thalmann 8b711ba9ae Remove unused resources after user setup 2024-08-24 16:15:10 +02:00
Manuel Thalmann 9eaf242ba0 Print update logs properly 2024-08-24 14:47:51 +02:00
Manuel Thalmann 3efee4afb9 Update incorrect path 2024-08-24 14:11:38 +02:00
Manuel Thalmann 7de9a73b7e Simplify osu!lazer installation 2024-08-24 14:10:02 +02:00
Manuel Thalmann dc67597baf Determine name of setup user properly 2024-08-24 14:01:05 +02:00
Manuel Thalmann bbd019eb85 Make OMP configuration platform independent 2024-08-24 13:27:48 +02:00
Manuel Thalmann 9b146f6484 Remove unnecessary loop 2024-08-24 04:24:55 +02:00
Manuel Thalmann 8af0180c31 Add missing module 2024-08-24 04:24:37 +02:00
Manuel Thalmann 239701d9cf Add a function for creating shortcuts 2024-08-24 04:18:33 +02:00
Manuel Thalmann 8c0074b9af Allow configuring nextcloud syncs 2024-08-24 04:07:35 +02:00
Manuel Thalmann 55360e58ae Create separate option holding win users 2024-08-24 03:25:28 +02:00
Manuel Thalmann 498358d3ca Rename Nextcloud installer 2024-08-24 01:50:07 +02:00
Manuel Thalmann a17ac9c2f9 Add file system driver for dual boot 2024-08-24 01:41:09 +02:00
Manuel Thalmann b8f93bd4c9 Prevent unnecessary config evaluation 2024-08-24 01:31:39 +02:00
Manuel Thalmann 42f2bd7c3f Install vscode extensions by default 2024-08-24 01:16:56 +02:00
Manuel Thalmann e2ece1594a Load theme file from WSL properly 2024-08-24 00:59:59 +02:00
Manuel Thalmann 79cea88e1c Update aliae configuration script 2024-08-24 00:42:57 +02:00
Manuel Thalmann ac7d677889 Strip duplicate variables and aliases 2024-08-24 00:08:58 +02:00
Manuel Thalmann c451387894 Install posh theme automatically 2024-08-23 23:53:48 +02:00
Manuel Thalmann 4a11580c11 Export missing function 2024-08-23 23:50:13 +02:00
Manuel Thalmann 00d39484ec Install aliae by default 2024-08-23 23:46:23 +02:00
Manuel Thalmann 692bebc9f7 Add scripts for changing aliae config 2024-08-23 23:44:51 +02:00
Manuel Thalmann 966d31452d Fix compatibility with mixed new line characters 2024-08-23 23:44:23 +02:00
Manuel Thalmann c02af1efcf Add a script for installing aliae 2024-08-23 22:38:28 +02:00
Manuel Thalmann 3ed0b2bae4 Fetch config from proper section 2024-08-23 19:24:49 +02:00
Manuel Thalmann 448bfea708 Fix inheritance of user config 2024-08-23 18:28:20 +02:00
Manuel Thalmann a52cb1ee6d Set user info during git setup 2024-08-23 02:01:16 +02:00
Manuel Thalmann 8f2ca17fff Make all config scripts platform independent 2024-08-23 01:57:53 +02:00
Manuel Thalmann 02160b6e82 Allow leaving aliases unspecified 2024-08-23 01:52:25 +02:00
Manuel Thalmann 010df70048 Make scripts platform independent 2024-08-23 01:52:04 +02:00
Manuel Thalmann 1a177c9b52 Add scripts for configuring git 2024-08-23 01:43:26 +02:00
Manuel Thalmann 02801cbcfd Configure software implicitly 2024-08-23 01:41:32 +02:00
Manuel Thalmann 5ff3704790 Skip profile creation for PinnedItem 2024-08-22 23:55:41 +02:00
Manuel Thalmann 30f12511a9 Allow skipping powershell module registration 2024-08-22 23:55:00 +02:00
Manuel Thalmann f08bfd899c Remove user profile of OneShot user 2024-08-22 23:12:11 +02:00
Manuel Thalmann 3ef690bbde Add missing OneShotTask declaration 2024-08-22 20:41:30 +02:00
Manuel Thalmann ffe01f3161 Fix infinite loop 2024-08-22 20:41:17 +02:00
Manuel Thalmann 3a6720860a Fix handling empty error messages 2024-08-22 20:12:18 +02:00
Manuel Thalmann 975b06c90c Add choco to the profile of the setup user 2024-08-22 13:46:55 +02:00
Manuel Thalmann 5bee3a54be Fix incorrect typings 2024-08-22 11:11:12 +02:00
Manuel Thalmann ace8b46445 Fix permission issues when enabling Win hack 2024-08-22 11:11:00 +02:00
Manuel Thalmann e6b21f423c Register setup script as admin 2024-08-22 11:10:39 +02:00
Manuel Thalmann 268b52b6ea Execute the entire installer using live scripts 2024-08-21 23:21:32 +02:00
Manuel Thalmann bc3be3c674 Streamline the creation of users 2024-08-21 18:34:18 +02:00
Manuel Thalmann 58be41c6e6 Replace osk with cmd during debugging 2024-08-21 18:33:41 +02:00
Manuel Thalmann 46edf0f356 Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
Manuel Thalmann df62ddd627 Print commands in debug mode 2024-08-21 18:28:08 +02:00
Manuel Thalmann ca7eb2788c Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann aa31485a24 Add function for generating startup command 2024-08-21 18:26:58 +02:00
Manuel Thalmann aedc7268a7 Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
Manuel Thalmann 23e8000a12 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 7a57dfb043 Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
Manuel Thalmann 8c513751b4 Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann 35a652cebe Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 5ad3fc7a76 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann f76f355444 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann d1975fe05e Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann 9d9aed744a Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann d11c692096 Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann 5c4a70a025 Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann 61cccc92ea Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann f79b392f94 Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann 495705fa89 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann 167c6e2de6 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann f3f4f0b247 Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann 640e6acd87 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 719f998f49 Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann 97e29f524a Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 69dbe5ec50 Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann efcb77ecc2 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 15f863cc35 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann ccf830d15c Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann ef097e75ec Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 5d2541b1ca Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 6d5f5472c5 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 0271b970cd Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 4c3152cdaf Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 7fcb4edc2f Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann 4c4dfd6020 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann d07cd06aef Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 92d3bb5d25 Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann a6836c3dbe Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann b6b4a049cd Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 0b1e4a3fef Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 969422b943 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 87a85cdd65 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 1ef9150711 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 824e0197de Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 719039589e Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 52eac91c6c Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 3dd72d156b Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 1d2416bf0a Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 0ac785f2a9 Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann a1a0db438e Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann e7c4a2775a Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann d092f92c2f Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann c4377c1005 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann efe6f1d924 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann da73683c0e Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann afabe20831 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann 747708a407 Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann f7b0a99d3f Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 012bdbd2db Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 12879cd54a Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann 2954cf32ad Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann ddb960a4bc Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann 5f82a695cf Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 9ed8ecf4b0 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 218b7c70db Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann ca6d7977d0 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann 6eb4998293 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 0b69cac30b Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann 07fe5d5b76 Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 97b251ffa9 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann 95a7e13e5e Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 3b178ddb17 Remove duplicate code 2024-08-10 05:17:08 +02:00