Commit graph

1783 commits

Author SHA1 Message Date
Manuel Thalmann 1c3bffce42 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 5a6d46153f Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann 11ae127dba Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 9e716bce4f Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 8d7835a8aa Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 55043420aa Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 530f6d1a34 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann dd78af2f54 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 6fd2016c39 Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann c5bb953dc0 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 1701213a77 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 2034f5c9f6 Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann 4e97645eea Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann 050221da47 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 16560270a7 Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 38c37c3564 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 0605d9bcb0 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 48279e13ad Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 51f352f095 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann fab0da1d65 Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 1fbc33cf88 Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann d37cd11acd Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 9c7729ce56 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann b1e4560337 Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann 8ad456c0a3 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann b4be84c827 Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann a2aefa515c Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann b48821eeff Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann f5d971922a Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann bc8f73b185 Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann 6dba078a44 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann 3ad0fcf95e Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 4f2781b154 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 6ba58ee07e Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 17939bee8c Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann e2013f8db5 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann d62ea6ffaa Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann 99dd620cc8 Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 9ad16b14fc Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 8268fdd29d Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann ea53352de6 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 806478db65 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann f20523c43b Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 270854f435 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann f70cad941f Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann a87ea25c15 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann 5aa19c89e9 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 61d610f194 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann a219a15a5c Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann 091ce4ba61 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 94d6ffe6f9 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann 89d43c1599 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 015f7d2901 Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 4ebf214acc Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann ecb34288cc Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 9e7ed6e85e Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann bd2dc90463 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann c42b30b52e Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann c0748548e1 Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann b034dfd53d Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 7a99482bc8 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 505ee2ad34 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 92e4889417 Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann f01409fcd5 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann a460608b10 Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann c789bd6c72 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann 29e2703162 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann ec7fc8dd6e Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann eb6ad4780e Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann b8086193bd Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 25d4810147 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann dee942b881 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann cb2735b909 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann c79d632639 Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann e768c55e58 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann 5e4e7d4939 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann acb22f8a89 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 849d8387cc Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann c631882854 Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 62af6e393c Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann 6b7e30c035 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 37b252d578 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 91d0d635a1 Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 0a464c90d9 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 40ade7b471 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann 68bec52a7b Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann 10c6f1e155 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann 0ce23ecc9f Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann e85ab0431f Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann aeca0c1a11 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 3b5752f214 Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 40e67c23e1 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann aa14dd7beb Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann 30e7c163f2 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann bbbbff7be4 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 4b9ad41939 Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann ee06982b21 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann 62db17bda2 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 6cd1cbb541 Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 4aec5d4b53 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00