Commit Graph

265 Commits (f5a41576df9f67ebf7e046e73c92564a9ba35127)

Author SHA1 Message Date
Joerg Hochwald 1320e7d356
Start some refactoring
Refactor the existing code. Apply some good practices and reformat the existing code.
No new functionality was added
2023-09-15 16:33:51 +02:00
KnifMelti 1147a2f0fd Winget v1.5.2201 2023-09-10 15:05:25 +02:00
Brendan Barton 773ef00d70
Stop running Get-Command Under System
#https://github.com/Romanitho/Winget-AutoUpdate/issues/387
Updated logic to use $WingetPath if running under system or admin context.
This avoids the possibility of Get-Command returning winget.exe from the users context.
2023-09-08 20:18:15 +08:00
Taco 9aeb8a2e4f Fix double-byte and half-width characters 2023-07-29 21:02:59 +08:00
Romain 70fbc8191a
Minor change to better compatibility 2023-07-28 11:47:27 +02:00
Romain f9459fded3
Fix "..." in long names 2023-07-27 17:15:51 +02:00
Taco 86c894eb35 Handle Chinese characters in apps' names 2023-07-25 14:08:58 +08:00
Taco 429ac7f4a5 fix IndexOf bug 2023-07-22 16:48:24 +08:00
KnifMelti c45bdfd00b 1.5.1881 an corrected download in PostUpdate... 2023-07-21 00:16:16 +02:00
Justin McIntosh 1e848490cc Update Invoke-PostUpdateActions.ps1 to 1.5.1572 2023-07-11 10:49:22 -04:00
romanitho 4e69844b4a fix for app detection on version like x.x.0.0 2023-06-21 18:15:25 +02:00
romanitho d8d71536e2 Improved application detection after upgrade 2023-06-21 15:47:38 +02:00
Romain 1ff8876e11
Fix retry behaviour 2023-05-20 16:23:36 +02:00
Fabian Seitz 39be9b2e60 Handle WAU-install symlinks in Updates and Uninstallations
#333
2023-05-03 08:13:58 +02:00
Fabian Seitz 463f11a926
Create symlink for install.log 2023-05-02 13:08:39 +02:00
Fabian Seitz 5ba779d171
Symlink full WAU folder 2023-05-02 12:28:29 +02:00
romanitho ae5f946fcd Remove useless regkeys 2023-04-22 14:00:07 +02:00
romanitho 232fe77f8c Version adjustments 2023-04-22 13:06:20 +02:00
Romain 610c146c13
Remove "Write-Log.ps1" as replaced by "Write-ToLog.ps1" 2023-04-19 22:57:46 +02:00
Romain 3081645319
fixed new version implementation for pre-releases 2023-04-19 22:43:13 +02:00
Romain 4814bb5a9e
Changes the way WAU is packaged and updated regarding new release processes 2023-04-18 11:44:59 +02:00
KnifMelti b9139542ce Better by Romain 2023-04-10 21:10:15 +02:00
KnifMelti 55c4efdc69 Variables from User-Run moved 2023-04-07 13:29:55 +02:00
Fabian Seitz 1f4bb8bcd6 Update megalinter and rename Write-Log function to Write-ToLog 2023-04-01 16:08:52 +02:00
Fabian Seitz c23f3d6883 Small optical code improvements 2023-03-31 17:56:07 +02:00
KnifMelti d8e526f238 Test content for winget ID:s 2023-03-28 10:22:43 +02:00
KnifMelti 43a176a99f -UseBasicParsing 2023-03-25 20:12:51 +01:00
KnifMelti 9e4d23fe38 [Bug]: Winget-AutoUpdate Parameter "ListPath" URL Not Pulling #304 2023-03-25 06:00:07 +01:00
Göran Axel Johannesson 22f7e3c83e
Merge branch 'Romanitho:main' into bugfix 2023-03-19 11:10:50 +01:00
KnifMelti f9e786f703 Final 2023-03-19 10:44:52 +01:00
KnifMelti 9c7943d26d unique description 2023-03-18 10:30:04 +01:00
Matteo Cerri 1374b720f0
Check actual language instead of region
"Get-Culture" returns system region, while "Get-UICulture" returns the actual Windows display language.
2023-03-18 00:06:29 +01:00
KnifMelti 1fcd0dccb4 Language independent 2023-03-17 20:57:08 +01:00
KnifMelti 24aa53184d Forgon an $i 2023-03-16 00:21:57 +01:00
KnifMelti 38946d6d49 More scenarios in winget output fixed 2023-03-16 00:04:24 +01:00
RedEchidnaUK 92a39fb9d1 Added AZBlob for Mods 2023-03-07 15:17:40 +00:00
KnifMelti 62b943afc7 [Feature Request]: -ListPath is a directory #289 and [Feature Request]: Log file location #291 2023-03-03 20:15:59 +01:00
KnifMelti 301c7eb3f3 Better fix for [Bug]: Install argument -UpdatesAtLogon and GPO setting #288 2023-02-23 05:14:40 +01:00
KnifMelti eb2f9ff8c4 Resolve [Bug]: Install argument -UpdatesAtLogon and GPO setting #288 2023-02-22 23:20:03 +01:00
KnifMelti d8779d6815 Text: up to date 2023-02-15 21:09:33 +01:00
KnifMelti a668cdac40 Corrected Paths 2023-02-15 21:00:51 +01:00
KnifMelti 1043f6b7d2 Checking prerequisites 2023-02-15 02:56:48 +01:00
KnifMelti c505773f8c A bit of error handling in ModsProtect 2023-02-07 20:06:54 +01:00
KnifMelti 2471438c3b ListPath as well... 2023-02-07 06:04:13 +01:00
KnifMelti 95abd0f807 Set WAU_ModsPath if not set when upgrading online 2023-02-07 05:50:18 +01:00
KnifMelti 7e04696cc0 Function for ModsProtect 2023-02-06 07:47:06 +01:00
KnifMelti d20fddf097 Log 2023-02-05 15:17:43 +01:00
KnifMelti 80f61d9b15 All done now! 2023-02-05 00:10:32 +01:00
KnifMelti 973b578e2e Done 2023-02-04 04:17:35 +01:00
KnifMelti 013e66ebdc Corrected and Safe 2023-02-04 01:08:38 +01:00
KnifMelti b248782c5c More logical 2023-02-01 03:03:16 +01:00
KnifMelti 6db690b887 Log Logrotation in own Function 2023-01-31 18:12:24 +01:00
KnifMelti 76e3b4bc22 Last edit, Done! 2023-01-21 18:20:57 +01:00
KnifMelti 021170b72b Small bits 2023-01-21 17:37:03 +01:00
KnifMelti bce8f565b8 .Trim() GPO $AppIDs Data 2023-01-21 13:51:48 +01:00
KnifMelti e518369851 Finally a GPO List Array that works with -contains 2023-01-20 03:59:27 +01:00
KnifMelti a6e1a5030a GPO Black/White List Activated in WAU 2023-01-19 07:11:20 +01:00
KnifMelti 7dc71b5ea7 Sort winget_system_apps.txt 2023-01-16 03:49:24 +01:00
KnifMelti c4834c0053 Optimized logging of Rotation/Policies 2023-01-13 21:42:06 +01:00
KnifMelti 4d0fc6e445 GPO and fixes for Max-Logfiles/LogSize 2023-01-13 06:32:57 +01:00
KnifMelti bc7dd12a60 Parameters, README, and fixes 2023-01-13 03:33:00 +01:00
KnifMelti 2fe4baec0a LogRotation (max 3, max 1MB) 2023-01-12 21:16:03 +01:00
GAJ-san 09db5c3033 Fix 2023-01-11 12:18:38 +01:00
KnifMelti 50263f756e mod\bins for placing MsiZap.exe etc. in 2023-01-10 03:35:03 +01:00
KnifMelti 72bcf77672 List/ Mods Path critical corrections 2023-01-08 18:57:47 +01:00
KnifMelti 407efdd8f7 Forgot test deletions... 2023-01-05 03:31:45 +01:00
KnifMelti a248215c64 Done, ISS must be confed to handle ++ in filename! 2023-01-04 18:56:07 +01:00
KnifMelti d7039653b8 List-/ModsPath rewritten, now validated on Apache 2023-01-04 00:46:24 +01:00
GAJ-san feaaa6566a Started adoption of Test-ModsPath for IIS 2023-01-03 15:22:29 +01:00
KnifMelti 5a649f318c Final fix ;) 2022-12-31 16:45:23 +01:00
KnifMelti 13ff435506 Updates at Time now active standalone + fixes 2022-12-31 16:25:19 +01:00
KnifMelti ad7333136a Log also Changed settings if None 2022-12-31 13:16:57 +01:00
KnifMelti 0673be5b70 Shortcuts Policies and som critical fixes 2022-12-31 11:15:10 +01:00
KnifMelti 17e95793e9 Forgot to include changes... 2022-12-31 01:23:23 +01:00
KnifMelti ab215d8615 UserContext and fixes to settings 2022-12-31 00:59:46 +01:00
KnifMelti c712872826 $UpdatesAtTime now managed in Policies too 2022-12-30 19:56:06 +01:00
KnifMelti a6b92b47c9 WAU_UpdatesAtTime now read and saved 2022-12-30 11:46:10 +01:00
KnifMelti 87cf2af171 Mostly done 2022-12-30 08:55:27 +01:00
KnifMelti dd9930e3d9 Forgotten ARM64 fix 2022-12-22 04:29:03 +01:00
KnifMelti d6abb076c3 Small fixes 2022-12-11 12:02:36 +01:00
KnifMelti 3c30bfec00 Winget Error Handling 2022-12-11 01:31:44 +01:00
KnifMelti ddd852abc6 -override mods (.txt) too 2022-12-08 17:53:37 +01:00
KnifMelti 5703823d6a $ModsInstalled now corrected! 2022-12-04 02:30:28 +01:00
KnifMelti 9e2573eaea $ModsInstall/$ModsInstalled 2022-12-04 01:55:40 +01:00
KnifMelti baa7ef84a4 Adding PreInstall mods... 2022-11-26 17:47:38 +01:00
KnifMelti 0d483a1012 Fix -UseBasicParsing 2022-11-15 00:04:54 +01:00
KnifMelti 7e631fd0a3 Last fix and more log info 2022-11-08 03:21:48 +01:00
KnifMelti fdfcdc9858 Fix date and time check in loop 2022-11-08 01:09:52 +01:00
KnifMelti bcb274b178 Spelling 2022-11-06 06:37:34 +01:00
KnifMelti 7039fa97a2 Don't Skip 2022-11-05 20:52:51 +01:00
KnifMelti 145fec2204 Optimized ModsPath Function 2022-11-05 12:52:58 +01:00
KnifMelti d73980ded5 Log Deleted Local Mods 2022-11-05 01:12:13 +01:00
KnifMelti 04dd756217 Cleaned 2022-11-04 22:40:03 +01:00
KnifMelti 3262d11099 Error handling 2022-11-04 22:22:11 +01:00
KnifMelti 991dd55c2f Comment removed 2022-11-04 00:40:29 +01:00
KnifMelti 108df76229 ModsPath Done 2022-11-04 00:09:53 +01:00
KnifMelti 231e6fa2f2 Small fixes 2022-11-03 01:19:04 +01:00
KnifMelti 0c1cf4aed0 URL Remaining 2022-11-03 00:19:59 +01:00
KnifMelti efc68d12cc Function begun 2022-11-02 19:38:31 +01:00
Romain 0b4495e930
adjustment 2022-10-30 16:21:25 +01:00