Commit graph

754 commits

Author SHA1 Message Date
Manuel Thalmann a6985d7e1b Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann 5bb0cd41cc Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann 467b429bd9 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann f228817817 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann e327ca8d17 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 734ae7bd05 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann cd3f85103a Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann dbdedad1d9 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 31c30e6854 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 89183dbeed Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 64c2ba9127 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann d07d4c9057 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann bb0b4a5988 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 1be172ae07 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann fad332b267 Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann c137952345 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 156c72c977 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 8d9e9ca3a6 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann ca2a5f23b0 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 4e87165196 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 852b1c71ce Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 4a34593d83 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 64d4b1d7a4 Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 1922eed510 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 795d50a2a3 Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 4c34db9d43 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann f50920d868 Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann a267cee3eb Replace packages with too frequent updates 2024-06-23 19:57:12 +02:00
Manuel Thalmann 7b014d83b6 Skip installation of vscode insiders versions 2024-04-06 16:30:11 +02:00
Manuel Thalmann 9e8c44f07c Install zoxide 2024-04-04 17:54:18 +02:00
Manuel Thalmann f1c96a6843 Ensure vscode is in path 2024-04-01 20:10:36 +02:00
Manuel Thalmann c81db0c957 Install WingetUI 2024-04-01 20:10:07 +02:00
Manuel Thalmann 66b8e34906 Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
Manuel Thalmann 3c01e29bed Install Ext4Fsd for dual boot computer 2024-03-30 21:49:46 +01:00
Manuel Thalmann 4e07b058f7 Pre-install vscode extensions 2024-03-25 19:54:26 +01:00
Manuel Thalmann c3524465e4 Disable Dynamic Lighting by default 2024-03-24 20:18:29 +01:00
Manuel Thalmann ddb9b2936a Skip unpacking of existing files 2024-03-24 18:17:18 +01:00
Manuel Thalmann f58b7895e4 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann 6cac37b0a9 Overwrite existing files when unpacking osu! 2024-03-24 18:09:22 +01:00
Manuel Thalmann 47d8a51381 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
Manuel Thalmann aaf1eab21b Kill all processes related to LGHub during restore 2024-03-24 17:47:41 +01:00
Manuel Thalmann 32e29c5c03 Only back up installed Visual Studio versions 2024-03-24 17:37:13 +01:00
Manuel Thalmann ecbdfc9152 Add further Visual Studio versions 2024-03-24 17:34:25 +01:00
Manuel Thalmann d2990ad53d Only restore previously installed VS versions 2024-03-24 17:17:57 +01:00
Manuel Thalmann d803c80611 Prevent unnecessary output 2024-03-24 16:56:55 +01:00
Manuel Thalmann cc8f1e6c51 Add missing import 2024-03-24 16:54:36 +01:00
Manuel Thalmann ff211d89ae Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +01:00
Manuel Thalmann be052f8b2f Fix Logitech G Hub scripts 2024-03-24 13:47:53 +01:00
Manuel Thalmann c0f20ce64b Ignore inexistent POSH_THEME variable 2024-03-24 03:17:50 +01:00
Manuel Thalmann ac8a58eac8 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
Manuel Thalmann bd62c46504 Make more descriptive prompt 2024-03-24 02:10:45 +01:00
Manuel Thalmann 41653e34e6 Fix accessability of variables 2024-03-24 02:06:16 +01:00
Manuel Thalmann c0d8936fc9 Fix syntax errors 2024-03-24 02:04:43 +01:00
Manuel Thalmann ac0b53550e Fix inaccessible variable 2024-03-24 01:59:39 +01:00
Manuel Thalmann ba61657cfe Update code accordingly 2024-03-24 01:10:44 +01:00
Manuel Thalmann c772ccb6cd Create ExpandString values by default 2024-03-24 01:10:00 +01:00
Manuel Thalmann ddcf93e14d Make aliae work out of the box 2024-03-23 23:27:06 +01:00
Manuel Thalmann afe6626a37 Fix invalid syntax 2024-03-23 23:26:22 +01:00
Manuel Thalmann 8e3152ee03 Fix infinite loop 2024-03-23 22:38:11 +01:00
Manuel Thalmann 76370d1de1 Refactor switch statements 2024-03-23 21:51:19 +01:00
Manuel Thalmann 962b0952ea Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
Manuel Thalmann fbacb2dcc7 Pause scripts on errors 2024-03-23 17:32:45 +01:00
Manuel Thalmann b1b230972f Silence unnecessary errors 2024-03-23 17:31:16 +01:00
Manuel Thalmann 34751740be Move file lists to proper location 2024-03-23 17:29:07 +01:00
Manuel Thalmann f0e3eb14f3 Move file lists to resource directory 2024-03-23 17:18:38 +01:00
Manuel Thalmann f0d9441a19 Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
Manuel Thalmann 799cdee06d Remove unnecessary software 2024-03-23 16:15:08 +01:00
Manuel Thalmann 4eaef9a7c3 Log further messages 2024-03-23 15:59:55 +01:00
Manuel Thalmann 686efa716d Lead user through the setup properly 2024-03-23 15:57:25 +01:00
Manuel Thalmann cce121656d Rename user stages 2024-03-23 15:54:15 +01:00
Manuel Thalmann 8c404feddf Refactor user creation process 2024-03-23 15:54:09 +01:00
Manuel Thalmann ff0d70493a Refactor user creation script 2024-03-23 15:47:31 +01:00
Manuel Thalmann be49a7d80c Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann a49a926135 Set the user name by default 2024-03-23 15:29:37 +01:00
Manuel Thalmann 1b10d40bbe Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00
Manuel Thalmann 23fca23cbe Install prerequisites during backups 2024-03-23 15:16:12 +01:00
Manuel Thalmann f55e5ab8b9 Install Windows based on installation stages 2024-03-23 15:09:58 +01:00
Manuel Thalmann c51f1c9367 Install script prerequisites automatically 2024-03-23 14:29:59 +01:00
Manuel Thalmann 81091371e9 Refactor Windows setup scripts 2024-03-23 13:45:15 +01:00
Manuel Thalmann 75d5b554fa Install Powershell profile statements globally 2024-03-23 04:55:05 +01:00
Manuel Thalmann 9ac113cbeb Remove unnecessary parameters 2024-03-23 01:45:14 +01:00
Manuel Thalmann 84db4a0f5e Remove unnecessary script calls 2024-03-23 01:34:22 +01:00
Manuel Thalmann 0dfda96d8a Call Scheduled Tasks using scripts 2024-03-23 01:27:49 +01:00
Manuel Thalmann df32bea183 Remove new line characters from scheduled tasks 2024-03-23 00:57:44 +01:00
Manuel Thalmann 9d1349a7b6 Fix typos 2024-03-23 00:29:34 +01:00
Manuel Thalmann dc4a60658a Fix broken scheduled tasks 2024-03-23 00:10:12 +01:00
Manuel Thalmann 42b9a244ea Refactor the creation of scheduled tasks 2024-03-22 18:28:37 +01:00
Manuel Thalmann 02324b9861 Leave entrypoint uninitialized if not determinable 2024-03-22 17:55:43 +01:00
Manuel Thalmann 2c1496ca86 Fix run condition 2024-03-22 16:15:37 +01:00
Manuel Thalmann 9d43a84fab Replace C# invocations with Invoke-Command 2024-03-22 15:25:00 +01:00
Manuel Thalmann 8f66dfaafa Fix non-functioning events 2024-03-22 14:51:17 +01:00
Manuel Thalmann 232040dc65 Wait for wmi event using powershell 2024-03-22 12:19:05 +01:00
Manuel Thalmann 5bc0a8eefc Await custom scheduled tasks 2024-03-22 10:59:24 +01:00
Manuel Thalmann 8acfb3b82e Store scheduled task in separate scripts 2024-03-22 10:32:53 +01:00
Manuel Thalmann 55c06764c6 Drop use of redundant constant value 2024-03-22 10:20:25 +01:00
Manuel Thalmann c74be4f8f4 Move user creation script 2024-03-22 10:20:25 +01:00
Manuel Thalmann 6d3630a03a Silence unnecessary output 2024-03-22 00:20:47 +01:00
Manuel Thalmann 98086cdf86 Ensure the aliae config directory exists 2024-03-22 00:19:51 +01:00
Manuel Thalmann 855ca38b8c Add missing import 2024-03-21 17:21:02 +01:00
Manuel Thalmann 56480a7a67 Inquire on errors 2024-03-21 16:27:57 +01:00