Commit graph

348 commits

Author SHA1 Message Date
fed96c7cdf Update code accordingly 2024-03-24 01:10:44 +01:00
f91980ce9a Create ExpandString values by default 2024-03-24 01:10:00 +01:00
19900bac81 Pause scripts on errors 2024-03-23 17:32:45 +01:00
c3bcd60a10 Move file lists to proper location 2024-03-23 17:29:07 +01:00
3f905b0753 Move file lists to resource directory 2024-03-23 17:18:38 +01:00
0246633c68 Allow creation of multiple users 2024-03-23 15:38:06 +01:00
24febb32f8 Leave entrypoint uninitialized if not determinable 2024-03-22 17:55:43 +01:00
6aaff564cc Add missing import 2024-03-21 17:21:02 +01:00
bfad7f1228 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
ddc255221b Remove duplicate declaration 2024-03-21 01:52:06 +01:00
e4e9dd4191 Prevent PowerShell variable name collision 2024-03-21 00:29:38 +01:00
dab33f679b Allow global installation of powershell configs 2024-03-20 23:49:21 +01:00
ea1078e5db Add a script for running bash from powershell 2024-03-20 21:44:02 +01:00
3ac1ce8c66 Rename powershell util script 2024-03-20 18:56:16 +01:00
5055eddb82 Add scripts for editing the powershell profile 2024-03-20 16:33:18 +01:00
8339cb3006 Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
a944f8d575 Remove existing backup files 2023-08-05 03:03:57 +02:00
d4a64e8e71 Remove archive existence check when restoring personal files 2023-08-05 03:03:47 +02:00
49f504ef97 Use normal compression level 2023-08-02 12:57:03 +02:00
9bbf391833 Split inner files in 2GB parts 2023-08-01 20:32:23 +02:00
f59cd93363 Re-enable large page mode 2023-08-01 17:22:20 +02:00
7a3ca3f26b Lower the compression level 2023-08-01 16:56:21 +02:00
eee5b66b15 Use highest compression level 2023-08-01 16:31:03 +02:00
08cebce876 Split archive into 4GB parts 2023-08-01 16:01:51 +02:00
7549d99514 Disable removal of PowerShell modules 2023-08-01 15:31:14 +02:00
6fbacee204 Disable large page mode 2023-08-01 15:30:32 +02:00
b7d87d1861 Remove modules before uninstalling 2023-08-01 14:48:32 +02:00
310d0e7733 Split archives in 2G parts 2023-08-01 14:22:15 +02:00
cf065edc4f Clean up all prerequisites 2023-08-01 13:19:27 +02:00
51db28634c Try fixing use of inline if 2023-08-01 12:50:48 +02:00
21fd4093df Allow archives to not be split 2023-08-01 12:48:27 +02:00
5c1832c116 Set archive paths accordingly 2023-08-01 12:35:40 +02:00
7ce4b2bbe4 Split large archives 2023-08-01 12:30:06 +02:00
80b6287329 Disable large page mode 2023-08-01 12:06:33 +02:00
b9ecde1340 Allow creation of backups without specifying 7z arguments 2023-08-01 03:34:56 +02:00
db4cc549f4 Ignore expected errors 2023-08-01 01:04:49 +02:00
3e43cd870f Use default compression level 2023-07-31 16:31:12 +02:00
bd7cf8c153 Set default arguments for creating archives 2023-07-30 15:20:01 +02:00
a562562403 Add missing argument for unpacking 7z archive 2023-07-30 14:36:37 +02:00
8046d7c34c Fix typo 2023-07-30 14:34:56 +02:00
7d97efe563 Install 7z command if necessary 2023-07-30 14:33:02 +02:00
bca5438944 Exclude symbolic links 2023-07-30 04:10:03 +02:00
850b93af05 Fix incorrect backup path 2023-07-29 21:19:57 +02:00
f91e394e73 Fix incorrect RegEx pattern 2023-07-29 11:04:55 +02:00
e3e998a4a4 Prevent sleep mode for all actions 2023-07-29 03:37:43 +02:00
9c02d8913f Fix incorrect order of code statements 2023-07-29 03:25:47 +02:00
ec057db9ef Fix incorrect function call 2023-07-29 03:21:26 +02:00
7731c0dd71 Add log messages 2023-07-29 03:01:53 +02:00
3578bf6407 Allow the prevention of sleep mode 2023-07-29 02:58:00 +02:00
f70513f234 Allow choosing where to create PowerShell profiles to 2023-07-27 02:54:14 +02:00
c71a8edcaf Ensure profile files can be created 2023-07-27 02:32:31 +02:00
00d349e162 Force creation of profile files 2023-07-27 02:28:37 +02:00
ada9df8e20 Allow the addition of custom PowerShell profiles 2023-07-27 01:55:44 +02:00
023364b4b1 Fix incorrect code 2023-07-26 18:28:31 +02:00
a892256374 Refactor the logic for reordering the association config 2023-07-26 18:12:18 +02:00
1855ab7e5f Normalize indentation of app association config 2023-07-26 17:35:03 +02:00
a6d438d9c2 Refactor the format of saved app associations 2023-07-26 17:21:19 +02:00
d0685c5054 Don't preserve whitespaces when loading xml 2023-07-26 16:22:44 +02:00
bdf72fadbf Fix addition of new default associations 2023-07-26 15:38:50 +02:00
e0ed130e58 Fix non-functioning code 2023-07-26 15:35:22 +02:00
b63c801566 Clone node for new associations 2023-07-26 15:32:33 +02:00
7ae8d7f2c6 Dispose the XML writer after use 2023-07-26 15:26:02 +02:00
b4d4e6d10f Fix encoding of app association file 2023-07-26 14:49:03 +02:00
5e2c5bf5cd Fix incorrect XPath syntax 2023-07-26 13:01:45 +02:00
85a665fa08 Silence unnecessary output 2023-07-26 12:53:38 +02:00
537f43eae7 Rename app association function 2023-07-26 12:53:30 +02:00
585b9e3d55 Import the manipulated app associations 2023-07-26 12:50:35 +02:00
3b420f42d4 Fix format of association xml 2023-07-26 12:49:32 +02:00
186f6b5db7 Add a script for editing app associations 2023-07-26 12:45:01 +02:00
0d11a67b44 Fix format of manipulated nextcloud config 2023-07-25 12:42:04 +02:00
0609221a8e Remove non-existent variable 2023-07-25 12:40:35 +02:00
5b9f22eec2 Fix the output of the Nextcloud configuration file 2023-07-25 12:39:45 +02:00
4075bab13e Try converting the manipulated nextcloud config to string 2023-07-25 12:18:21 +02:00
13c48c5a3b Fix a typo 2023-07-25 12:16:26 +02:00
1f9d2774dc Refactor the manipulation of Nextcloud configurations 2023-07-25 12:15:28 +02:00
7ba8fb50b2 Print debug info about Nextcloud sync 2023-07-25 10:51:16 +02:00
3b918ca0a1 Fix non-functioning code 2023-07-20 10:18:43 +02:00
62224f1ab0 Silence unnecessary console output 2023-07-19 23:19:05 +02:00
d8a3e3d2c1 Enable logging before doing anything 2023-07-19 09:54:45 +02:00
c98f3c2372 Refactor NuGet package provider check 2023-07-19 09:53:11 +02:00
1e807ee800 Add console output to prerequisites 2023-07-19 09:48:08 +02:00
c098b6060c Move NuGet provider installation to prerequisites 2023-07-19 09:41:22 +02:00
6d166ab71e Remove desktop icons both from user and public folder 2023-07-19 03:17:27 +02:00
dffb937078 Perform initial configuration before anything else 2023-07-19 01:16:25 +02:00
d05eb95bb1 Allow any version of NuGet to be installed 2023-07-18 21:48:20 +02:00
fe74d438bb Automatically install NuGet package provider 2023-07-18 21:45:15 +02:00
9715160b98 Remove unnecessary parameter 2023-07-18 21:41:47 +02:00
409851f563 Add script for removing pinned icons 2023-07-18 20:04:34 +02:00
32030e1455 Add a function for removing desktop icons 2023-07-16 12:32:46 +02:00
18b1ae071c Remove unnecessary code 2023-07-16 11:41:29 +02:00
3d23ce78bc Always forcefully restart computer 2023-07-16 11:30:20 +02:00
126c130f83 Always forcefully restart computer as backup plan 2023-07-16 11:21:58 +02:00
93b41e9f0a Fix non-functioning code 2023-07-16 10:55:25 +02:00
4fd85abf67 Forcefully restart computer if restarting doesn't work 2023-07-16 02:17:03 +02:00
54542203e5 Add missing statement 2023-07-16 02:01:31 +02:00
6419257cd8 Simplify file name detection in URLs 2023-07-16 01:56:51 +02:00
e49d6af4e1 Fix typo 2023-07-16 01:48:53 +02:00
63e9bc36ca Refactor detection of url file name 2023-07-16 01:46:57 +02:00
4a42abdbe4 Only import selenium if existent 2023-07-15 22:23:28 +02:00
d50b9e97b3 Try deleting cookie banner in case of an error 2023-07-15 21:05:37 +02:00
55ec81b4f0 Delete cookie banner only if necessary 2023-07-15 21:03:22 +02:00
cc8921ff73 Try to delete obscuring cookie banner 2023-07-15 20:56:33 +02:00
6e766bf73a Refactor amd driver download 2023-07-15 20:42:25 +02:00
d2f57c832a Allow invokation of custom downloads 2023-07-15 20:38:44 +02:00
981e6d739c Fix selector of download button for AMD drivers 2023-07-15 20:32:43 +02:00
e57b8293c2 Add missing argument to amd installation script 2023-07-15 20:23:40 +02:00
0d69995cdd Refactor amd driver installation script 2023-07-15 20:22:51 +02:00
1d2bafeb69 Call proper method for closing automated browser 2023-07-15 20:04:25 +02:00
06dd879887 Fix malfunctioning download checker 2023-07-15 19:56:45 +02:00
4eb23fee10 Clean up after automated download 2023-07-15 19:53:20 +02:00
15977d0a97 Improve automated downloads 2023-07-15 19:47:56 +02:00
93f97e2fed Fix broken download detection 2023-07-15 19:41:43 +02:00
7db3d35e86 Refactor function for waiting for download 2023-07-15 19:37:30 +02:00
164430e9b4 Try waiting for file download 2023-07-15 19:33:12 +02:00
383d2467f7 Fix incorrect code 2023-07-15 19:19:42 +02:00
09422bd435 Add script for automatically executing interactive downloads 2023-07-15 19:05:25 +02:00
7e4b132644 Add console output 2023-07-15 12:25:42 +02:00
de58359af4 Execute web requests only once 2023-07-15 12:24:04 +02:00
60d9691f45 Try fixing non-functioning scripts 2023-07-15 12:21:38 +02:00
cfd7c17fc7 Add script for installing amd chipset driver 2023-07-15 12:18:13 +02:00
7f3144e482 Add a script for installing asus packages 2023-07-15 11:33:05 +02:00
487c83afb2 Add she-bang to all files 2023-07-12 22:37:31 +02:00
9f46580fa1 Fix non-functioning code 2023-07-10 21:22:31 +02:00
a6e6d77c97 Refactor the determination of the nextcloud path 2023-07-03 22:54:30 +02:00
19ad2e270a Enable UAC on cleanup 2023-07-03 14:35:16 +02:00
0996dbecaf Move UAC handling to context 2023-07-03 13:44:51 +02:00
d96a1bf913 Clean up after restoration 2023-07-03 13:24:36 +02:00
e8a6492566 Suppress unnecessary errors 2023-07-03 01:14:34 +02:00
77a9287238 Change order of operations when editing sync 2023-07-03 00:59:11 +02:00
3644e43d76 Ensure content is being read before written 2023-07-03 00:58:21 +02:00
d85cea9cb2 Refactor manipulation of nextcloud sync file 2023-07-03 00:47:21 +02:00
0a7851fabe Fix syntax error 2023-07-03 00:35:40 +02:00
b37430fa2b Try fixing the Add-Content command 2023-07-03 00:15:11 +02:00
333418e357 Fix potential typo 2023-07-03 00:02:00 +02:00
63d5513817 Try fixing the nextcloud sync creation 2023-07-02 23:29:58 +02:00
7361eb583a Refactor string substitution 2023-07-02 21:49:00 +02:00
78a296fdf1 Fix logic of setting up syncs 2023-07-02 20:45:25 +02:00
a5bf93f5ed Kill Nextcloud while editing config 2023-07-02 17:38:44 +02:00
63875268ea Add a script for adding nextcloud sync 2023-07-02 15:44:47 +02:00
9ffa903626 Show info if backup archive does not exist 2023-06-30 14:15:48 +02:00
550cb86241 Add step for installing Nextcloud 2023-06-30 13:17:00 +02:00
9758a6428f Rename powershell command 2023-06-30 12:19:54 +02:00
55d6d92b0b Fix further typos 2023-06-30 04:47:31 +02:00
5d0b77035f Refactor removal of configuration values 2023-06-30 04:34:40 +02:00
1496513c2f Fix incorrect function call 2023-06-30 02:40:15 +02:00
33b6bca4dd Fix writing of registry config values 2023-06-30 02:34:52 +02:00
865329e188 Persist custom acl 2023-06-30 01:57:45 +02:00
ee89445da6 Fix regedit access rights 2023-06-30 00:55:42 +02:00
2a6829af09 Prompt for continuation on error 2023-06-29 20:33:56 +02:00
2f959ff6ac Allow anyone to edit config 2023-06-29 20:02:12 +02:00
32fd5aa572 Add method for removing the current stage 2023-06-29 19:13:17 +02:00
a79a330e2a Mute unwanted output 2023-06-29 19:11:41 +02:00
7f71def89e Add a method for removing config values 2023-06-29 19:11:16 +02:00
aa5d71eb4f Add methods for getting or setting the current stage 2023-06-29 19:08:05 +02:00
5bbe1e3733 Allow storing settings using the context 2023-06-29 19:03:31 +02:00
6a4ff4645a Remove unnecessary statement 2023-06-28 13:43:20 +02:00
c90d2f7cdd Clean up handles during reg key handling 2023-06-28 13:40:56 +02:00
45be15723e Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
63906c53ce Add scripts for handling auto login 2023-06-25 18:25:52 +02:00
9cd6834819 Exit script after rebooting 2023-06-25 18:11:56 +02:00
13e5346063 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
805394463a Unload registry hive after editing 2023-06-25 18:09:47 +02:00
b61c6d1d60 Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
5e27e16a85 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
294eb7839a Fix key name for reg load 2023-06-25 17:57:06 +02:00
972e1b6584 Fix incomplete command 2023-06-25 17:02:44 +02:00
fb41e37fa2 Fix registry editing commands 2023-06-25 17:01:38 +02:00
eed0ddc82b Fix non-functioning code 2023-06-25 16:54:10 +02:00
0b2e2744b0 Refactor registry value handling 2023-06-25 16:48:21 +02:00
416facf2a0 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
a1b8e9d9aa Fix non-functioning code 2023-06-25 16:33:04 +02:00
87d7aa36c0 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
1e62f6f9de Fix broken code statement 2023-06-25 16:14:08 +02:00
94c74c8468 Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00
38a1e3a225 Fix reboot registration 2023-06-25 15:05:59 +02:00
95981f4d3c Add functions for registering RunOnce for new users 2023-06-23 20:08:31 +02:00
686251b0f7 Prevent future auto logins 2023-06-22 23:04:13 +02:00
2365d3320c Centralize script for rebooting 2023-06-22 22:58:54 +02:00
4668ffc42a Add scripts for creating user 2023-06-22 22:56:43 +02:00
0ccc870584 Add further log messages 2023-06-22 19:02:02 +02:00
c45a659aaa Add scripts for restoring files 2023-06-22 18:44:31 +02:00
22c55f2729 Disable verbose logs 2023-06-22 17:28:29 +02:00
3ab7bb9e64 Make pwsh show all messages 2023-06-22 17:27:43 +02:00
aaed1891bc Fix module installation check 2023-06-22 17:22:45 +02:00
52834fcd92 Rearrange installation scripts 2023-06-21 22:04:18 +02:00
b40ba593a3 Add dedicated script for installing prerequisites 2023-06-18 19:58:01 +02:00
f99b180f98 Centralize method for creating temporary directories 2023-06-16 20:25:43 +02:00
f4198ff39d Allow specifying a custom backup root 2023-06-16 20:24:37 +02:00
ac288a913d Add a script for installing windows 2023-06-16 20:24:22 +02:00
3db7fb1ff9 Fix thumbs.db exclusion 2023-06-09 18:21:26 +02:00
24ef21e8d4 Exclude non-functioning folders 2023-06-07 23:55:07 +02:00
f7036abc36 Rename git directory 2023-06-07 23:06:37 +02:00
8bed12a582 Fix incorrect file path 2023-06-07 22:56:41 +02:00
c670771acb Exclude reWASD from public file backup 2023-06-07 22:16:12 +02:00
ba9de1aa3b Move files to proper location 2023-06-07 22:15:06 +02:00
17aaa3ff87 Remove unnecessary Import-Module statements 2023-06-07 19:15:47 +02:00
f6d0f9d594 Add central function for creating backup 2023-06-07 01:32:14 +02:00
d0eff6a264 Add scripts for backing up personal files 2023-06-07 00:56:29 +02:00