Commit graph

849 commits

Author SHA1 Message Date
Manuel Thalmann ffcb4985b3 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann cef8ccb102 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 322982901f Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 7bb859d051 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 4aac8101a5 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 78760961e2 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 17d14f20ab Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 6f23b23bb8 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 20c7571eec Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 737a0795b6 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 619bc837ff Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann 8a58990ecb Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann d99ec62d71 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 8101b3a79b Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 655e05e706 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 41f73d7558 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 189642c892 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 71cdc21f2e Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 73a3959014 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 538b2e776c Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 07cb8eda84 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann a5086d87fa Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 0723e541b3 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann fdd154da2f Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann f22d56d670 Replace packages with too frequent updates 2024-06-23 19:57:12 +02:00
Manuel Thalmann be8a01eeef Skip installation of vscode insiders versions 2024-04-06 16:30:11 +02:00
Manuel Thalmann eacf8f9eb9 Install zoxide 2024-04-04 17:54:18 +02:00
Manuel Thalmann ef8b83b102 Ensure vscode is in path 2024-04-01 20:10:36 +02:00
Manuel Thalmann c3c8d5719d Install WingetUI 2024-04-01 20:10:07 +02:00
Manuel Thalmann 855715059e Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
Manuel Thalmann 6128c78eba Install Ext4Fsd for dual boot computer 2024-03-30 21:49:46 +01:00
Manuel Thalmann 8239b01fd6 Pre-install vscode extensions 2024-03-25 19:54:26 +01:00
Manuel Thalmann b834b7d0f6 Disable Dynamic Lighting by default 2024-03-24 20:18:29 +01:00
Manuel Thalmann b273eeec68 Skip unpacking of existing files 2024-03-24 18:17:18 +01:00
Manuel Thalmann ab17fa75d6 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann 87a83600db Overwrite existing files when unpacking osu! 2024-03-24 18:09:22 +01:00
Manuel Thalmann 17a18866f5 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
Manuel Thalmann c781134141 Kill all processes related to LGHub during restore 2024-03-24 17:47:41 +01:00
Manuel Thalmann 72615ab002 Only back up installed Visual Studio versions 2024-03-24 17:37:13 +01:00
Manuel Thalmann 6e806af2a0 Add further Visual Studio versions 2024-03-24 17:34:25 +01:00
Manuel Thalmann 22f3932ada Only restore previously installed VS versions 2024-03-24 17:17:57 +01:00
Manuel Thalmann 94024951ff Prevent unnecessary output 2024-03-24 16:56:55 +01:00
Manuel Thalmann 7ae676141d Add missing import 2024-03-24 16:54:36 +01:00
Manuel Thalmann 1b87ddfabb Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +01:00
Manuel Thalmann 09939d2ee9 Fix Logitech G Hub scripts 2024-03-24 13:47:53 +01:00
Manuel Thalmann bf8f9c1487 Ignore inexistent POSH_THEME variable 2024-03-24 03:17:50 +01:00
Manuel Thalmann 0817849ef1 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
Manuel Thalmann 3d10553d9a Make more descriptive prompt 2024-03-24 02:10:45 +01:00
Manuel Thalmann 745157dbc0 Fix accessability of variables 2024-03-24 02:06:16 +01:00
Manuel Thalmann b3b99fe422 Fix syntax errors 2024-03-24 02:04:43 +01:00
Manuel Thalmann 060ae06753 Fix inaccessible variable 2024-03-24 01:59:39 +01:00
Manuel Thalmann fed96c7cdf Update code accordingly 2024-03-24 01:10:44 +01:00
Manuel Thalmann f91980ce9a Create ExpandString values by default 2024-03-24 01:10:00 +01:00
Manuel Thalmann 3c60befb27 Make aliae work out of the box 2024-03-23 23:27:06 +01:00
Manuel Thalmann 77d779be02 Fix invalid syntax 2024-03-23 23:26:22 +01:00
Manuel Thalmann 29d74b3a27 Fix infinite loop 2024-03-23 22:38:11 +01:00
Manuel Thalmann 04e8ae1197 Refactor switch statements 2024-03-23 21:51:19 +01:00
Manuel Thalmann 67fc0770f3 Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
Manuel Thalmann 19900bac81 Pause scripts on errors 2024-03-23 17:32:45 +01:00
Manuel Thalmann ba5c46a884 Silence unnecessary errors 2024-03-23 17:31:16 +01:00
Manuel Thalmann c3bcd60a10 Move file lists to proper location 2024-03-23 17:29:07 +01:00
Manuel Thalmann 3f905b0753 Move file lists to resource directory 2024-03-23 17:18:38 +01:00
Manuel Thalmann 9fad7ed0de Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
Manuel Thalmann 1344f287aa Remove unnecessary software 2024-03-23 16:15:08 +01:00
Manuel Thalmann d6cb9c5f70 Log further messages 2024-03-23 15:59:55 +01:00
Manuel Thalmann 60f090349c Lead user through the setup properly 2024-03-23 15:57:25 +01:00
Manuel Thalmann 6d02e1bcb9 Rename user stages 2024-03-23 15:54:15 +01:00
Manuel Thalmann 7c1befdef4 Refactor user creation process 2024-03-23 15:54:09 +01:00
Manuel Thalmann 04c6ef125f Refactor user creation script 2024-03-23 15:47:31 +01:00
Manuel Thalmann 0246633c68 Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann f1310bafdf Set the user name by default 2024-03-23 15:29:37 +01:00
Manuel Thalmann 6fcb7fb4a8 Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00
Manuel Thalmann 9bfb2f200a Install prerequisites during backups 2024-03-23 15:16:12 +01:00
Manuel Thalmann 5245bb9007 Install Windows based on installation stages 2024-03-23 15:09:58 +01:00
Manuel Thalmann f6baf1a9dc Install script prerequisites automatically 2024-03-23 14:29:59 +01:00
Manuel Thalmann c5a401f7eb Refactor Windows setup scripts 2024-03-23 13:45:15 +01:00
Manuel Thalmann a0e9c03525 Install Powershell profile statements globally 2024-03-23 04:55:05 +01:00
Manuel Thalmann c3ce9c0ba9 Remove unnecessary parameters 2024-03-23 01:45:14 +01:00
Manuel Thalmann b95499730d Remove unnecessary script calls 2024-03-23 01:34:22 +01:00
Manuel Thalmann 4c66d01f00 Call Scheduled Tasks using scripts 2024-03-23 01:27:49 +01:00
Manuel Thalmann 98acbc4817 Remove new line characters from scheduled tasks 2024-03-23 00:57:44 +01:00
Manuel Thalmann d66254ec89 Fix typos 2024-03-23 00:29:34 +01:00
Manuel Thalmann b1d9915786 Fix broken scheduled tasks 2024-03-23 00:10:12 +01:00
Manuel Thalmann 5d914ce33f Refactor the creation of scheduled tasks 2024-03-22 18:28:37 +01:00
Manuel Thalmann 24febb32f8 Leave entrypoint uninitialized if not determinable 2024-03-22 17:55:43 +01:00
Manuel Thalmann de8999c361 Fix run condition 2024-03-22 16:15:37 +01:00
Manuel Thalmann 5290d3283a Replace C# invocations with Invoke-Command 2024-03-22 15:25:00 +01:00
Manuel Thalmann 5e6eebf8ad Fix non-functioning events 2024-03-22 14:51:17 +01:00
Manuel Thalmann 30f98c4cb1 Wait for wmi event using powershell 2024-03-22 12:19:05 +01:00
Manuel Thalmann 5f02a650ad Await custom scheduled tasks 2024-03-22 10:59:24 +01:00
Manuel Thalmann ba058911e9 Store scheduled task in separate scripts 2024-03-22 10:32:53 +01:00
Manuel Thalmann d649525722 Drop use of redundant constant value 2024-03-22 10:20:03 +01:00
Manuel Thalmann 9ab5e776d9 Move user creation script 2024-03-22 09:26:54 +01:00
Manuel Thalmann a5eb0f1d87 Silence unnecessary output 2024-03-22 00:20:47 +01:00
Manuel Thalmann ab50077d04 Ensure the aliae config directory exists 2024-03-22 00:19:51 +01:00
Manuel Thalmann 6aaff564cc Add missing import 2024-03-21 17:21:02 +01:00
Manuel Thalmann 875120ccff Inquire on errors 2024-03-21 16:27:57 +01:00
Manuel Thalmann bfad7f1228 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
Manuel Thalmann b1aa93d420 Create proper relative paths by default 2024-03-21 16:05:55 +01:00
Manuel Thalmann a8a144c147 Install aliae initially 2024-03-21 13:35:21 +01:00
Manuel Thalmann 7102320760 Set up aliae on windows properly 2024-03-21 13:33:00 +01:00
Manuel Thalmann ddc255221b Remove duplicate declaration 2024-03-21 01:52:06 +01:00
Manuel Thalmann e4e9dd4191 Prevent PowerShell variable name collision 2024-03-21 00:29:38 +01:00
Manuel Thalmann 181a82fd24 Streamline PowerShell profile installation 2024-03-21 00:29:09 +01:00
Manuel Thalmann 356611b169 Simplify aliae installation 2024-03-21 00:15:51 +01:00
Manuel Thalmann ce44de21d7 Remove redundant script 2024-03-20 23:57:24 +01:00
Manuel Thalmann dab33f679b Allow global installation of powershell configs 2024-03-20 23:49:21 +01:00
Manuel Thalmann 2a8430e388 Implicitly configure oh-my-posh theme 2024-03-20 23:13:17 +01:00
Manuel Thalmann ea1078e5db Add a script for running bash from powershell 2024-03-20 21:44:02 +01:00
Manuel Thalmann 4eab5617b3 Create common pwsh installation script 2024-03-20 21:34:47 +01:00
Manuel Thalmann 3ac1ce8c66 Rename powershell util script 2024-03-20 18:56:16 +01:00
Manuel Thalmann 734e463df4 Fix typo 2024-03-20 18:07:43 +01:00
Manuel Thalmann ce6fb59ff5 Add missing trailing EOL 2024-03-20 17:09:34 +01:00
Manuel Thalmann 7fa3450984 Fix incorrect script 2024-03-20 17:03:43 +01:00
Manuel Thalmann 90f85e227d Install aliae config using common script 2024-03-20 17:03:14 +01:00
Manuel Thalmann 5055eddb82 Add scripts for editing the powershell profile 2024-03-20 16:33:18 +01:00
Manuel Thalmann 638d241973 Add aliae to all OSes 2024-03-20 16:00:44 +01:00
Manuel Thalmann 8339cb3006 Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
Manuel Thalmann cd6d5fcd9b Fix broken installer call 2024-03-13 22:30:14 +01:00
Manuel Thalmann 86aa29b66c Fix installation of winget 2024-03-13 21:56:48 +01:00
Manuel Thalmann 39ba5f63bc Fix incorrect script path 2024-03-13 20:57:46 +01:00
Manuel Thalmann 2f4222ecdb Fix incorrect winget installation statement 2024-03-13 20:07:38 +01:00
Manuel Thalmann d67a1d5be9 Run winget installation using pwsh 2024-03-13 19:35:06 +01:00
Manuel Thalmann 2cfe755334 Install XAML before installing winget 2024-03-13 11:51:52 +01:00
Manuel Thalmann f9abc3801a Fix non-functioning statement 2024-03-13 11:16:24 +01:00
Manuel Thalmann f026943763 Remove unnecessary statement 2024-03-13 10:22:29 +01:00
Manuel Thalmann 3e3f7ae062 Ensure dependencies are installed 2024-03-13 09:38:02 +01:00
Manuel Thalmann 7b11234ea2 Install winget using the script 2024-03-13 09:35:27 +01:00
Manuel Thalmann 306d9afd50 Fix non-functioning winget install script 2024-03-13 09:34:27 +01:00
Manuel Thalmann 554f3c9a63 Add a script for forcibly installing winget 2024-03-13 09:06:48 +01:00
Manuel Thalmann 837ec6df1a Fix incorrect winget syntax 2024-03-12 15:11:26 +01:00
Manuel Thalmann 20acebbc7e Fix order of execution in setup script 2024-03-11 18:10:37 +01:00
Manuel Thalmann e6d2a3189d Silence unnecessary output 2024-03-11 17:46:51 +01:00
Manuel Thalmann 34346ebfbd Fix typo 2024-03-11 17:45:15 +01:00
Manuel Thalmann 48a1913401 Include Unattend settings in PortValhalla 2024-03-11 17:32:47 +01:00
Manuel Thalmann 140071c493 Install winget only if necessary 2024-03-11 17:08:53 +01:00
Manuel Thalmann 1c641a0949 Move media applications to the generic collection 2024-02-11 14:24:49 +01:00
Manuel Thalmann 0bbab27f58 Add Pennywise to generic installations 2024-02-11 14:23:15 +01:00
Manuel Thalmann 5d790d3060 Remove unnecessary desktop icons 2024-02-11 14:21:51 +01:00
Manuel Thalmann 0e895de320 Remove all PPSSPP icons 2024-02-06 02:31:44 +01:00
Manuel Thalmann a4b68088e2 Remove duplicate restoration steps 2024-02-06 01:22:06 +01:00
Manuel Thalmann 25f8e9ec67 Restore generic apps in the personal collection 2024-02-05 23:38:09 +01:00
Manuel Thalmann eebe795237 Update install script for reWASD 2024-02-05 23:21:05 +01:00
Manuel Thalmann b107cdc562 Improve text related to Autologin enablement 2024-01-17 14:08:31 +01:00
Manuel Thalmann d884514678 Remove Firefox Developer icon 2023-12-10 03:21:20 +01:00
Manuel Thalmann e8055c1474 Fix outdated winget syntax 2023-12-08 17:22:39 +01:00
Manuel Thalmann 02f585af95 Change format of ooeb boot command 2023-12-07 17:41:33 +01:00
Manuel Thalmann 8bceb30872 Install most recent version of winget during installation 2023-09-27 18:36:17 +02:00
Manuel Thalmann 967206e14f Allow specifying custom app installer function 2023-09-27 12:32:27 +02:00
Manuel Thalmann e3a12c0d47 Create a script for managing generic apps 2023-09-27 12:32:04 +02:00
Manuel Thalmann 4300575df6 Set Windows to store UTC time 2023-08-14 01:32:57 +02:00
Manuel Thalmann a8534f6872 Customize NVS installation script 2023-08-08 22:08:16 +02:00
Manuel Thalmann 10559c02e4 Refactor nvs installation 2023-08-08 20:47:04 +02:00
Manuel Thalmann 5febd9443b Add further programs 2023-08-08 00:49:21 +02:00
Manuel Thalmann 872e4a2154 Install all firefox editions 2023-08-08 00:45:03 +02:00
Manuel Thalmann 765af44b88 Install KDE Connect 2023-08-08 00:43:35 +02:00
Manuel Thalmann 68e6205ed9 Install multiple winget packages in one command 2023-08-08 00:43:11 +02:00
Manuel Thalmann 4dc661f352 Remove non-functioning statements 2023-08-07 01:24:08 +02:00
Manuel Thalmann a6af28dd6a Fix invalid syntax 2023-08-06 22:36:04 +02:00
Manuel Thalmann 9b59884ef6 Copy Region & Language settings during setup 2023-08-05 04:11:43 +02:00
Manuel Thalmann a944f8d575 Remove existing backup files 2023-08-05 03:03:57 +02:00
Manuel Thalmann d4a64e8e71 Remove archive existence check when restoring personal files 2023-08-05 03:03:47 +02:00
Manuel Thalmann 95fc7f1e84 Fix incorrectly named parameter 2023-08-04 01:33:42 +02:00
Manuel Thalmann 54f7a98621 Install working version of Selenium.WebDriver 2023-08-04 01:13:58 +02:00
Manuel Thalmann 49f504ef97 Use normal compression level 2023-08-02 12:57:03 +02:00
Manuel Thalmann 08fd0e3069 Don't split resulting backup file 2023-08-02 12:56:40 +02:00
Manuel Thalmann dc3a3d5d0a Split full backup in 4GB parts 2023-08-01 20:32:58 +02:00
Manuel Thalmann 9bbf391833 Split inner files in 2GB parts 2023-08-01 20:32:23 +02:00
Manuel Thalmann cd0d55d707 Split resulting archive 2023-08-01 19:01:12 +02:00
Manuel Thalmann c5bbb55f29 Re-enable deletion after backup 2023-08-01 17:22:48 +02:00
Manuel Thalmann f59cd93363 Re-enable large page mode 2023-08-01 17:22:20 +02:00
Manuel Thalmann 7a3ca3f26b Lower the compression level 2023-08-01 16:56:21 +02:00
Manuel Thalmann eee5b66b15 Use highest compression level 2023-08-01 16:31:03 +02:00
Manuel Thalmann 08cebce876 Split archive into 4GB parts 2023-08-01 16:01:51 +02:00
Manuel Thalmann b1d643cc6a Add SysInternals tools 2023-08-01 15:39:02 +02:00
Manuel Thalmann 7549d99514 Disable removal of PowerShell modules 2023-08-01 15:31:14 +02:00
Manuel Thalmann 6fbacee204 Disable large page mode 2023-08-01 15:30:32 +02:00
Manuel Thalmann b7d87d1861 Remove modules before uninstalling 2023-08-01 14:48:32 +02:00
Manuel Thalmann 310d0e7733 Split archives in 2G parts 2023-08-01 14:22:15 +02:00
Manuel Thalmann 1bf80bfd19 Disable the -sdel switch 2023-08-01 14:01:35 +02:00
Manuel Thalmann b7fb6de569 Remove all unwanted installation artifacts 2023-08-01 13:24:08 +02:00
Manuel Thalmann cf065edc4f Clean up all prerequisites 2023-08-01 13:19:27 +02:00
Manuel Thalmann 934742f023 Remove files project after restoration 2023-08-01 13:15:34 +02:00
Manuel Thalmann 905733fff3 Delete files after backup 2023-08-01 13:13:38 +02:00
Manuel Thalmann 51db28634c Try fixing use of inline if 2023-08-01 12:50:48 +02:00
Manuel Thalmann 21fd4093df Allow archives to not be split 2023-08-01 12:48:27 +02:00
Manuel Thalmann 5c1832c116 Set archive paths accordingly 2023-08-01 12:35:40 +02:00
Manuel Thalmann 7ce4b2bbe4 Split large archives 2023-08-01 12:30:06 +02:00
Manuel Thalmann 80b6287329 Disable large page mode 2023-08-01 12:06:33 +02:00
Manuel Thalmann 0b4cf31b7f Fix broken VS config export 2023-08-01 03:48:15 +02:00
Manuel Thalmann b9ecde1340 Allow creation of backups without specifying 7z arguments 2023-08-01 03:34:56 +02:00
Manuel Thalmann db4cc549f4 Ignore expected errors 2023-08-01 01:04:49 +02:00
Manuel Thalmann a1616165ef Add MetaX 2023-07-31 18:58:42 +02:00
Manuel Thalmann de68571dd5 Add Ant Renamer 2023-07-31 18:44:54 +02:00
Manuel Thalmann 3e43cd870f Use default compression level 2023-07-31 16:31:12 +02:00
Manuel Thalmann 00262f3625 Disable the -sdel option of 7zip 2023-07-31 00:41:35 +02:00
Manuel Thalmann 796dfa1f5e Remove settings backups before restoring LGHub 2023-07-30 15:51:13 +02:00
Manuel Thalmann bd7cf8c153 Set default arguments for creating archives 2023-07-30 15:20:01 +02:00
Manuel Thalmann a562562403 Add missing argument for unpacking 7z archive 2023-07-30 14:36:37 +02:00
Manuel Thalmann 8046d7c34c Fix typo 2023-07-30 14:34:56 +02:00