Commit graph

323 commits

Author SHA1 Message Date
Manuel Thalmann c952b1701d Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann 600ad30a55 Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann bdf5254f66 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann d48d4a08df Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 9921890e4d Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann b97ccd863c Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 0adace7d6e Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann 6793736c3a Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann 2ead5ea7ad Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 7fcb36dd1c Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann f0f43a30bd Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 76cb8e5125 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann a4b88c183d Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 5de8554b13 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 3f6700b98e Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann add008c791 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann c0b215bcce Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann 73dbb502ba Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 3f24abdb89 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 9a2a78fb76 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 01e19d03e4 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann 66b8e34906 Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
Manuel Thalmann 47d8a51381 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
Manuel Thalmann ff211d89ae Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +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 fbacb2dcc7 Pause scripts on errors 2024-03-23 17:32:45 +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 be49a7d80c Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann 02324b9861 Leave entrypoint uninitialized if not determinable 2024-03-22 17:55:43 +01:00
Manuel Thalmann 855ca38b8c Add missing import 2024-03-21 17:21:02 +01:00
Manuel Thalmann ca863eb749 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
Manuel Thalmann 083df48223 Remove duplicate declaration 2024-03-21 01:52:06 +01:00
Manuel Thalmann 6413377cfc Prevent PowerShell variable name collision 2024-03-21 00:29:38 +01:00
Manuel Thalmann b07f4ce23b Allow global installation of powershell configs 2024-03-20 23:49:21 +01:00
Manuel Thalmann fcdc159301 Add a script for running bash from powershell 2024-03-20 21:44:02 +01:00
Manuel Thalmann 37ddcb63d2 Rename powershell util script 2024-03-20 18:56:16 +01:00
Manuel Thalmann d767f0e97d Add scripts for editing the powershell profile 2024-03-20 16:33:18 +01:00
Manuel Thalmann f75f8a3fee Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
Manuel Thalmann be2f9f51dc Remove existing backup files 2023-08-05 03:03:57 +02:00
Manuel Thalmann 1a5ce2d870 Remove archive existence check when restoring personal files 2023-08-05 03:03:47 +02:00
Manuel Thalmann 9a01d0065e Use normal compression level 2023-08-02 12:57:03 +02:00
Manuel Thalmann bbd06011fc Split inner files in 2GB parts 2023-08-01 20:32:23 +02:00
Manuel Thalmann 03650676a6 Re-enable large page mode 2023-08-01 17:22:20 +02:00
Manuel Thalmann 38b8c154c2 Lower the compression level 2023-08-01 16:56:21 +02:00
Manuel Thalmann c96abbf3f0 Use highest compression level 2023-08-01 16:31:03 +02:00
Manuel Thalmann c58ba1c017 Split archive into 4GB parts 2023-08-01 16:01:51 +02:00
Manuel Thalmann ea4fdf8228 Disable removal of PowerShell modules 2023-08-01 15:31:14 +02:00
Manuel Thalmann f3421bde56 Disable large page mode 2023-08-01 15:30:32 +02:00
Manuel Thalmann 113389beca Remove modules before uninstalling 2023-08-01 14:48:32 +02:00
Manuel Thalmann bfd9b8c0b2 Split archives in 2G parts 2023-08-01 14:22:15 +02:00
Manuel Thalmann 1bc3e77fa6 Clean up all prerequisites 2023-08-01 13:19:27 +02:00
Manuel Thalmann c1a647f03e Try fixing use of inline if 2023-08-01 12:50:48 +02:00
Manuel Thalmann 1b80209d85 Allow archives to not be split 2023-08-01 12:48:27 +02:00
Manuel Thalmann 32fc311f8e Set archive paths accordingly 2023-08-01 12:35:40 +02:00
Manuel Thalmann 978cf399b3 Split large archives 2023-08-01 12:30:06 +02:00
Manuel Thalmann 4ee39e4d7a Disable large page mode 2023-08-01 12:06:33 +02:00
Manuel Thalmann b77d649db2 Allow creation of backups without specifying 7z arguments 2023-08-01 03:34:56 +02:00
Manuel Thalmann 8cda3ea272 Ignore expected errors 2023-08-01 01:04:49 +02:00
Manuel Thalmann cd9a7c01b6 Use default compression level 2023-07-31 16:31:12 +02:00
Manuel Thalmann 2fed5ce9f7 Set default arguments for creating archives 2023-07-30 15:20:01 +02:00
Manuel Thalmann 750afc1776 Add missing argument for unpacking 7z archive 2023-07-30 14:36:37 +02:00
Manuel Thalmann 68c42cb133 Fix typo 2023-07-30 14:34:56 +02:00
Manuel Thalmann 7652eb3c0b Install 7z command if necessary 2023-07-30 14:33:02 +02:00
Manuel Thalmann 8e2ccc404b Exclude symbolic links 2023-07-30 04:10:03 +02:00
Manuel Thalmann dfc86f5b30 Fix incorrect backup path 2023-07-29 21:19:57 +02:00
Manuel Thalmann 3982fbc32a Remove unnecessary white space characters 2023-07-29 21:13:25 +02:00
Manuel Thalmann 696c75b035 Fix incorrect RegEx pattern 2023-07-29 11:04:55 +02:00
Manuel Thalmann ea590b2201 Prevent sleep mode for all actions 2023-07-29 03:37:43 +02:00
Manuel Thalmann 466ec46bcc Fix incorrect order of code statements 2023-07-29 03:25:47 +02:00
Manuel Thalmann e47ae3690e Fix incorrect function call 2023-07-29 03:21:26 +02:00
Manuel Thalmann 8e2fa6315f Add log messages 2023-07-29 03:01:53 +02:00
Manuel Thalmann 95760333e0 Allow the prevention of sleep mode 2023-07-29 02:58:00 +02:00
Manuel Thalmann 3a5160e8c2 Allow choosing where to create PowerShell profiles to 2023-07-27 02:54:14 +02:00
Manuel Thalmann 7611fee2a2 Ensure profile files can be created 2023-07-27 02:32:31 +02:00
Manuel Thalmann 67fe311272 Force creation of profile files 2023-07-27 02:28:37 +02:00
Manuel Thalmann 2300d05c87 Allow the addition of custom PowerShell profiles 2023-07-27 01:55:44 +02:00
Manuel Thalmann a3fd6399cd Fix incorrect code 2023-07-26 18:28:31 +02:00
Manuel Thalmann b5d9b20346 Refactor the logic for reordering the association config 2023-07-26 18:12:18 +02:00
Manuel Thalmann f3528a6fcf Normalize indentation of app association config 2023-07-26 17:35:03 +02:00
Manuel Thalmann 878c28e836 Refactor the format of saved app associations 2023-07-26 17:21:19 +02:00
Manuel Thalmann e390ff2637 Don't preserve whitespaces when loading xml 2023-07-26 16:22:44 +02:00
Manuel Thalmann 05ef9d0067 Fix addition of new default associations 2023-07-26 15:38:50 +02:00
Manuel Thalmann 1f2fda6480 Fix non-functioning code 2023-07-26 15:35:22 +02:00
Manuel Thalmann 6bee10a4e4 Clone node for new associations 2023-07-26 15:32:33 +02:00
Manuel Thalmann 33fdd590e3 Dispose the XML writer after use 2023-07-26 15:26:02 +02:00
Manuel Thalmann 0bf309168c Fix encoding of app association file 2023-07-26 14:49:03 +02:00
Manuel Thalmann e66d5d664a Fix incorrect XPath syntax 2023-07-26 13:01:45 +02:00
Manuel Thalmann 28f4eee69f Silence unnecessary output 2023-07-26 12:53:38 +02:00
Manuel Thalmann 12e837dbc8 Rename app association function 2023-07-26 12:53:30 +02:00
Manuel Thalmann 51c931abc2 Import the manipulated app associations 2023-07-26 12:50:35 +02:00
Manuel Thalmann 4ca5f958aa Fix format of association xml 2023-07-26 12:49:32 +02:00
Manuel Thalmann 87cb359a1f Add a script for editing app associations 2023-07-26 12:45:01 +02:00
Manuel Thalmann 971211246b Fix format of manipulated nextcloud config 2023-07-25 12:42:04 +02:00
Manuel Thalmann 2f867edf2a Remove non-existent variable 2023-07-25 12:40:35 +02:00
Manuel Thalmann 842bf7f2ea Fix the output of the Nextcloud configuration file 2023-07-25 12:39:45 +02:00
Manuel Thalmann 7ef31d4e95 Try converting the manipulated nextcloud config to string 2023-07-25 12:18:21 +02:00
Manuel Thalmann e5d77ec0da Fix a typo 2023-07-25 12:16:26 +02:00
Manuel Thalmann 7f1260b0df Refactor the manipulation of Nextcloud configurations 2023-07-25 12:15:28 +02:00
Manuel Thalmann c417fd6cf3 Print debug info about Nextcloud sync 2023-07-25 10:51:16 +02:00
Manuel Thalmann a9da573b1e Fix non-functioning code 2023-07-20 10:18:43 +02:00
Manuel Thalmann 72797a1397 Silence unnecessary console output 2023-07-19 23:19:05 +02:00
Manuel Thalmann 19966910bb Enable logging before doing anything 2023-07-19 09:54:45 +02:00
Manuel Thalmann c86a1cf87d Refactor NuGet package provider check 2023-07-19 09:53:11 +02:00
Manuel Thalmann 7b384d4ea6 Add console output to prerequisites 2023-07-19 09:48:08 +02:00
Manuel Thalmann 8f8000f5c0 Move NuGet provider installation to prerequisites 2023-07-19 09:41:22 +02:00
Manuel Thalmann f1c0d835e2 Remove desktop icons both from user and public folder 2023-07-19 03:17:27 +02:00
Manuel Thalmann eb36c585c7 Perform initial configuration before anything else 2023-07-19 01:16:25 +02:00
Manuel Thalmann ea8007e2ae Allow any version of NuGet to be installed 2023-07-18 21:48:20 +02:00
Manuel Thalmann c40c0cc00c Automatically install NuGet package provider 2023-07-18 21:45:15 +02:00
Manuel Thalmann f92116316d Remove unnecessary parameter 2023-07-18 21:41:47 +02:00
Manuel Thalmann 749b73c699 Add script for removing pinned icons 2023-07-18 20:04:34 +02:00
Manuel Thalmann 80efc58ee7 Add a function for removing desktop icons 2023-07-16 12:32:46 +02:00
Manuel Thalmann 18b962aa1e Remove unnecessary code 2023-07-16 11:41:29 +02:00
Manuel Thalmann 1654869529 Always forcefully restart computer 2023-07-16 11:30:20 +02:00
Manuel Thalmann d04514a34e Always forcefully restart computer as backup plan 2023-07-16 11:21:58 +02:00
Manuel Thalmann 6d516378e2 Fix non-functioning code 2023-07-16 10:55:25 +02:00
Manuel Thalmann 8bf3c6ba84 Forcefully restart computer if restarting doesn't work 2023-07-16 02:17:03 +02:00
Manuel Thalmann 4e983f8b76 Add missing statement 2023-07-16 02:01:31 +02:00
Manuel Thalmann f30f8dcba2 Simplify file name detection in URLs 2023-07-16 01:56:51 +02:00
Manuel Thalmann fbd361fc9c Fix typo 2023-07-16 01:48:53 +02:00
Manuel Thalmann 35feef4445 Refactor detection of url file name 2023-07-16 01:46:57 +02:00
Manuel Thalmann f2ba946217 Only import selenium if existent 2023-07-15 22:23:28 +02:00
Manuel Thalmann a22184ef60 Try deleting cookie banner in case of an error 2023-07-15 21:05:37 +02:00
Manuel Thalmann dcc2e7e7b8 Delete cookie banner only if necessary 2023-07-15 21:03:22 +02:00
Manuel Thalmann 3a932a63bc Try to delete obscuring cookie banner 2023-07-15 20:56:33 +02:00
Manuel Thalmann a835cc95de Refactor amd driver download 2023-07-15 20:42:25 +02:00
Manuel Thalmann 9fd8ef86f5 Allow invokation of custom downloads 2023-07-15 20:38:44 +02:00
Manuel Thalmann 4431a89563 Fix selector of download button for AMD drivers 2023-07-15 20:32:43 +02:00
Manuel Thalmann 3a17bb60b8 Add missing argument to amd installation script 2023-07-15 20:23:40 +02:00
Manuel Thalmann 51ce18531e Refactor amd driver installation script 2023-07-15 20:22:51 +02:00
Manuel Thalmann a12693abb7 Call proper method for closing automated browser 2023-07-15 20:04:25 +02:00
Manuel Thalmann 898dd80fcc Fix malfunctioning download checker 2023-07-15 19:56:45 +02:00
Manuel Thalmann a4983badcb Clean up after automated download 2023-07-15 19:53:20 +02:00
Manuel Thalmann 47814c7ad7 Improve automated downloads 2023-07-15 19:47:56 +02:00
Manuel Thalmann f9cbebf902 Fix broken download detection 2023-07-15 19:41:43 +02:00
Manuel Thalmann 7ce5a52ba6 Refactor function for waiting for download 2023-07-15 19:37:30 +02:00
Manuel Thalmann 703ed06469 Try waiting for file download 2023-07-15 19:33:12 +02:00
Manuel Thalmann e65a9d62d3 Fix incorrect code 2023-07-15 19:19:42 +02:00
Manuel Thalmann 6446fa366f Add script for automatically executing interactive downloads 2023-07-15 19:05:25 +02:00
Manuel Thalmann ecec8243b5 Add console output 2023-07-15 12:25:42 +02:00
Manuel Thalmann 57e12ad510 Execute web requests only once 2023-07-15 12:24:04 +02:00
Manuel Thalmann b6cf283c26 Try fixing non-functioning scripts 2023-07-15 12:21:38 +02:00
Manuel Thalmann 00ca8c2b96 Add script for installing amd chipset driver 2023-07-15 12:18:13 +02:00
Manuel Thalmann 26d46a548b Add a script for installing asus packages 2023-07-15 11:33:05 +02:00
Manuel Thalmann ba1d95d1e6 Add she-bang to all files 2023-07-12 22:37:31 +02:00
Manuel Thalmann 4387241907 Fix non-functioning code 2023-07-10 21:22:31 +02:00
Manuel Thalmann f81ccaff85 Refactor the determination of the nextcloud path 2023-07-03 22:54:30 +02:00
Manuel Thalmann a8dccbd6cc Enable UAC on cleanup 2023-07-03 14:35:16 +02:00