Commit graph

256 commits

Author SHA1 Message Date
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
Manuel Thalmann dbc3eeef42 Move UAC handling to context 2023-07-03 13:44:51 +02:00
Manuel Thalmann 0cfea82920 Clean up after restoration 2023-07-03 13:24:36 +02:00
Manuel Thalmann d52de2f40a Suppress unnecessary errors 2023-07-03 01:14:34 +02:00
Manuel Thalmann 430dc33ed5 Change order of operations when editing sync 2023-07-03 00:59:11 +02:00
Manuel Thalmann 72a943a784 Ensure content is being read before written 2023-07-03 00:58:21 +02:00
Manuel Thalmann 95e8ce6992 Refactor manipulation of nextcloud sync file 2023-07-03 00:47:21 +02:00
Manuel Thalmann 20debdc1ac Fix syntax error 2023-07-03 00:35:40 +02:00
Manuel Thalmann 16a5ea110f Try fixing the Add-Content command 2023-07-03 00:15:11 +02:00
Manuel Thalmann 525df4f072 Fix potential typo 2023-07-03 00:02:00 +02:00
Manuel Thalmann a9ef2bfb04 Try fixing the nextcloud sync creation 2023-07-02 23:29:58 +02:00
Manuel Thalmann 6e9ce12a41 Refactor string substitution 2023-07-02 21:49:00 +02:00
Manuel Thalmann d13527be19 Fix logic of setting up syncs 2023-07-02 20:45:25 +02:00
Manuel Thalmann 0f39ccbfb6 Kill Nextcloud while editing config 2023-07-02 17:38:44 +02:00
Manuel Thalmann a43fbad3d1 Add a script for adding nextcloud sync 2023-07-02 15:44:47 +02:00
Manuel Thalmann 2b1440c395 Show info if backup archive does not exist 2023-06-30 14:15:48 +02:00
Manuel Thalmann ed2cac87ca Add step for installing Nextcloud 2023-06-30 13:17:00 +02:00
Manuel Thalmann 681fb26a46 Rename powershell command 2023-06-30 12:19:54 +02:00
Manuel Thalmann 9d147090d9 Fix further typos 2023-06-30 04:47:31 +02:00
Manuel Thalmann c90fd19b43 Refactor removal of configuration values 2023-06-30 04:34:40 +02:00
Manuel Thalmann 52008c5eb7 Fix incorrect function call 2023-06-30 02:40:15 +02:00
Manuel Thalmann b6a4b41d1a Fix writing of registry config values 2023-06-30 02:34:52 +02:00
Manuel Thalmann ca48076167 Persist custom acl 2023-06-30 01:57:45 +02:00
Manuel Thalmann 7fbd17215e Fix regedit access rights 2023-06-30 00:55:42 +02:00
Manuel Thalmann cd19ae771b Prompt for continuation on error 2023-06-29 20:33:56 +02:00
Manuel Thalmann 1defca4bcd Allow anyone to edit config 2023-06-29 20:02:12 +02:00
Manuel Thalmann 01d4e3dafa Add method for removing the current stage 2023-06-29 19:13:17 +02:00
Manuel Thalmann 09b031ff92 Mute unwanted output 2023-06-29 19:11:41 +02:00
Manuel Thalmann 33d7d4834c Add a method for removing config values 2023-06-29 19:11:16 +02:00
Manuel Thalmann bf6700ae2f Add methods for getting or setting the current stage 2023-06-29 19:08:05 +02:00
Manuel Thalmann 73136bbf60 Allow storing settings using the context 2023-06-29 19:03:31 +02:00
Manuel Thalmann 27813bd1e9 Remove unnecessary statement 2023-06-28 13:43:20 +02:00
Manuel Thalmann 50b8511e9e Clean up handles during reg key handling 2023-06-28 13:40:56 +02:00
Manuel Thalmann b36d4d5181 Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
Manuel Thalmann a92e413623 Add scripts for handling auto login 2023-06-25 18:25:52 +02:00
Manuel Thalmann 6700e4f318 Exit script after rebooting 2023-06-25 18:11:56 +02:00
Manuel Thalmann 232c6d1de4 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
Manuel Thalmann 284dba9fc3 Unload registry hive after editing 2023-06-25 18:09:47 +02:00
Manuel Thalmann 9990fce5ab Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
Manuel Thalmann 1843f455e8 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
Manuel Thalmann 62968784d4 Fix key name for reg load 2023-06-25 17:57:06 +02:00
Manuel Thalmann 2c05bda390 Fix incomplete command 2023-06-25 17:02:44 +02:00
Manuel Thalmann 25d2353233 Fix registry editing commands 2023-06-25 17:01:38 +02:00
Manuel Thalmann 4dbbd1993f Fix non-functioning code 2023-06-25 16:54:10 +02:00
Manuel Thalmann 1eee5e69db Refactor registry value handling 2023-06-25 16:48:21 +02:00
Manuel Thalmann 6546f7b929 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
Manuel Thalmann 9fbdc118d4 Fix non-functioning code 2023-06-25 16:33:04 +02:00
Manuel Thalmann a13b9f4cd1 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
Manuel Thalmann df37f30eab Fix broken code statement 2023-06-25 16:14:08 +02:00
Manuel Thalmann 05478a43ef Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00
Manuel Thalmann 4780cd7f09 Fix reboot registration 2023-06-25 15:05:59 +02:00
Manuel Thalmann 65042d4d4c Add functions for registering RunOnce for new users 2023-06-23 20:08:31 +02:00
Manuel Thalmann 9ed31ffddc Prevent future auto logins 2023-06-22 23:04:13 +02:00
Manuel Thalmann 0f75bd3098 Centralize script for rebooting 2023-06-22 22:58:54 +02:00
Manuel Thalmann 249b4d531c Add scripts for creating user 2023-06-22 22:56:43 +02:00
Manuel Thalmann 6237f28b39 Add further log messages 2023-06-22 19:02:02 +02:00
Manuel Thalmann ad078d0dc8 Add scripts for restoring files 2023-06-22 18:44:31 +02:00
Manuel Thalmann 7593259f33 Disable verbose logs 2023-06-22 17:28:29 +02:00
Manuel Thalmann 8bfec1bb75 Make pwsh show all messages 2023-06-22 17:27:43 +02:00
Manuel Thalmann dbed2f97a8 Fix module installation check 2023-06-22 17:22:45 +02:00
Manuel Thalmann abb8a78f68 Rearrange installation scripts 2023-06-21 22:04:18 +02:00
Manuel Thalmann 6e68de3dde Add dedicated script for installing prerequisites 2023-06-18 19:58:01 +02:00
Manuel Thalmann 988e5bf689 Centralize method for creating temporary directories 2023-06-16 20:25:43 +02:00
Manuel Thalmann ada22de1a8 Allow specifying a custom backup root 2023-06-16 20:24:37 +02:00
Manuel Thalmann 1c312baa6e Add a script for installing windows 2023-06-16 20:24:22 +02:00
Manuel Thalmann 0a4ea5a504 Fix thumbs.db exclusion 2023-06-09 18:51:41 +02:00
Manuel Thalmann 1e7d34430e Exclude non-functioning folders 2023-06-07 23:55:07 +02:00
Manuel Thalmann 26e2622b52 Rename git directory 2023-06-07 23:06:37 +02:00