Commit graph

357 commits

Author SHA1 Message Date
Manuel Thalmann fc4215b341 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann dc2f840018 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann 2f950d89ba Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 3304afd2e8 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann 181426ee41 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann bed24acbe3 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann 6c193590b1 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann d64feb232a Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann 7177fa97ca Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 0b28364280 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann 0be3410151 Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann 6e3e8eb4b3 Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann 40a422bb8e Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann 48f0097c45 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann 6997a800b9 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann 348b1a00bc Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann 901262b8a7 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 2bb3007006 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 3708aa8e2b Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann b566d63ef2 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann e7ced15185 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann b1544a6a60 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 5ba6a48eac Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 8564396d86 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann f46d2da997 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann 1c29cdd89c Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 34108f78d8 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 985661a91e Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann 8295a41574 Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann fe11ddf570 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann a2d0c89424 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann f518ea07da Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 9a42fba7f7 Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann 3a5e8556c5 Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 603fbdfe46 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann 05201f1108 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann c7d19102cf Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 040f20edce Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 203da2ae3f Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 8ad65912be Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 5ff8639898 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 12c449eb7c Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann ee077e0765 Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann d7cc1a53bf Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 2a7adfeba3 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 595b7cb874 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 9a3c5f6b32 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 467ad0caab Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann afb2d1be65 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 9d79d4deb3 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann e84b2f9583 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann bb3ea5d555 Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann be4ee90f7d Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 90675f3e14 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann ce0a00ee26 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 150775e068 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann 855715059e Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
Manuel Thalmann 17a18866f5 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
Manuel Thalmann 1b87ddfabb Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +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 19900bac81 Pause scripts on errors 2024-03-23 17:32:45 +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 0246633c68 Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann 24febb32f8 Leave entrypoint uninitialized if not determinable 2024-03-22 17:55:43 +01:00
Manuel Thalmann 6aaff564cc Add missing import 2024-03-21 17:21:02 +01:00
Manuel Thalmann bfad7f1228 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +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 dab33f679b Allow global installation of powershell configs 2024-03-20 23:49:21 +01:00
Manuel Thalmann ea1078e5db Add a script for running bash from powershell 2024-03-20 21:44:02 +01:00
Manuel Thalmann 3ac1ce8c66 Rename powershell util script 2024-03-20 18:56:16 +01:00
Manuel Thalmann 5055eddb82 Add scripts for editing the powershell profile 2024-03-20 16:33:18 +01:00
Manuel Thalmann 8339cb3006 Detect entrypoint automatically 2024-03-16 01:04:56 +01: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 49f504ef97 Use normal compression level 2023-08-02 12:57:03 +02:00
Manuel Thalmann 9bbf391833 Split inner files in 2GB parts 2023-08-01 20:32:23 +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 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 cf065edc4f Clean up all prerequisites 2023-08-01 13:19:27 +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 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 3e43cd870f Use default compression level 2023-07-31 16:31:12 +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
Manuel Thalmann 7d97efe563 Install 7z command if necessary 2023-07-30 14:33:02 +02:00
Manuel Thalmann bca5438944 Exclude symbolic links 2023-07-30 04:10:03 +02:00
Manuel Thalmann 850b93af05 Fix incorrect backup path 2023-07-29 21:19:57 +02:00
Manuel Thalmann f91e394e73 Fix incorrect RegEx pattern 2023-07-29 11:04:55 +02:00
Manuel Thalmann e3e998a4a4 Prevent sleep mode for all actions 2023-07-29 03:37:43 +02:00
Manuel Thalmann 9c02d8913f Fix incorrect order of code statements 2023-07-29 03:25:47 +02:00
Manuel Thalmann ec057db9ef Fix incorrect function call 2023-07-29 03:21:26 +02:00
Manuel Thalmann 7731c0dd71 Add log messages 2023-07-29 03:01:53 +02:00
Manuel Thalmann 3578bf6407 Allow the prevention of sleep mode 2023-07-29 02:58:00 +02:00
Manuel Thalmann f70513f234 Allow choosing where to create PowerShell profiles to 2023-07-27 02:54:14 +02:00
Manuel Thalmann c71a8edcaf Ensure profile files can be created 2023-07-27 02:32:31 +02:00
Manuel Thalmann 00d349e162 Force creation of profile files 2023-07-27 02:28:37 +02:00
Manuel Thalmann ada9df8e20 Allow the addition of custom PowerShell profiles 2023-07-27 01:55:44 +02:00
Manuel Thalmann 023364b4b1 Fix incorrect code 2023-07-26 18:28:31 +02:00
Manuel Thalmann a892256374 Refactor the logic for reordering the association config 2023-07-26 18:12:18 +02:00
Manuel Thalmann 1855ab7e5f Normalize indentation of app association config 2023-07-26 17:35:03 +02:00
Manuel Thalmann a6d438d9c2 Refactor the format of saved app associations 2023-07-26 17:21:19 +02:00
Manuel Thalmann d0685c5054 Don't preserve whitespaces when loading xml 2023-07-26 16:22:44 +02:00
Manuel Thalmann bdf72fadbf Fix addition of new default associations 2023-07-26 15:38:50 +02:00
Manuel Thalmann e0ed130e58 Fix non-functioning code 2023-07-26 15:35:22 +02:00
Manuel Thalmann b63c801566 Clone node for new associations 2023-07-26 15:32:33 +02:00
Manuel Thalmann 7ae8d7f2c6 Dispose the XML writer after use 2023-07-26 15:26:02 +02:00
Manuel Thalmann b4d4e6d10f Fix encoding of app association file 2023-07-26 14:49:03 +02:00
Manuel Thalmann 5e2c5bf5cd Fix incorrect XPath syntax 2023-07-26 13:01:45 +02:00
Manuel Thalmann 85a665fa08 Silence unnecessary output 2023-07-26 12:53:38 +02:00
Manuel Thalmann 537f43eae7 Rename app association function 2023-07-26 12:53:30 +02:00
Manuel Thalmann 585b9e3d55 Import the manipulated app associations 2023-07-26 12:50:35 +02:00
Manuel Thalmann 3b420f42d4 Fix format of association xml 2023-07-26 12:49:32 +02:00
Manuel Thalmann 186f6b5db7 Add a script for editing app associations 2023-07-26 12:45:01 +02:00
Manuel Thalmann 0d11a67b44 Fix format of manipulated nextcloud config 2023-07-25 12:42:04 +02:00
Manuel Thalmann 0609221a8e Remove non-existent variable 2023-07-25 12:40:35 +02:00
Manuel Thalmann 5b9f22eec2 Fix the output of the Nextcloud configuration file 2023-07-25 12:39:45 +02:00
Manuel Thalmann 4075bab13e Try converting the manipulated nextcloud config to string 2023-07-25 12:18:21 +02:00
Manuel Thalmann 13c48c5a3b Fix a typo 2023-07-25 12:16:26 +02:00
Manuel Thalmann 1f9d2774dc Refactor the manipulation of Nextcloud configurations 2023-07-25 12:15:28 +02:00
Manuel Thalmann 7ba8fb50b2 Print debug info about Nextcloud sync 2023-07-25 10:51:16 +02:00
Manuel Thalmann 3b918ca0a1 Fix non-functioning code 2023-07-20 10:18:43 +02:00
Manuel Thalmann 62224f1ab0 Silence unnecessary console output 2023-07-19 23:19:05 +02:00
Manuel Thalmann d8a3e3d2c1 Enable logging before doing anything 2023-07-19 09:54:45 +02:00
Manuel Thalmann c98f3c2372 Refactor NuGet package provider check 2023-07-19 09:53:11 +02:00
Manuel Thalmann 1e807ee800 Add console output to prerequisites 2023-07-19 09:48:08 +02:00
Manuel Thalmann c098b6060c Move NuGet provider installation to prerequisites 2023-07-19 09:41:22 +02:00
Manuel Thalmann 6d166ab71e Remove desktop icons both from user and public folder 2023-07-19 03:17:27 +02:00
Manuel Thalmann dffb937078 Perform initial configuration before anything else 2023-07-19 01:16:25 +02:00
Manuel Thalmann d05eb95bb1 Allow any version of NuGet to be installed 2023-07-18 21:48:20 +02:00
Manuel Thalmann fe74d438bb Automatically install NuGet package provider 2023-07-18 21:45:15 +02:00
Manuel Thalmann 9715160b98 Remove unnecessary parameter 2023-07-18 21:41:47 +02:00
Manuel Thalmann 409851f563 Add script for removing pinned icons 2023-07-18 20:04:34 +02:00
Manuel Thalmann 32030e1455 Add a function for removing desktop icons 2023-07-16 12:32:46 +02:00
Manuel Thalmann 18b1ae071c Remove unnecessary code 2023-07-16 11:41:29 +02:00
Manuel Thalmann 3d23ce78bc Always forcefully restart computer 2023-07-16 11:30:20 +02:00