Skip to content

Commit

Permalink
Fix Uninstaller launching UniGetUI (fix #2227)
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed May 28, 2024
1 parent 6121be0 commit 5dd85b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WingetUI.iss
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,5 @@ Filename: "{app}\{#MyAppExeName}"; Parameters: "--migrate-wingetui-to-unigetui";

[UninstallRun]
; Remove WingetUI Notification registries
Filename: "{app}\{#MyAppExeName}"; Parameters: "--uninstall-wingetui"; Flags: skipifdoesntexist runhidden;
Filename: "{app}\{#MyAppExeName}"; Parameters: "--uninstall-unigetui"; Flags: skipifdoesntexist runhidden;
Filename: {sys}\taskkill.exe; Parameters: "/f /im WingetUI.exe"; Flags: skipifdoesntexist runhidden;
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ To translate WingetUI to other languages or to update an old translation, please
| <img src='https://flagcdn.com/cn.svg' width=20> &nbsp; Simplified Chinese (China) | 99% | Aaron Liu, adfnekc, [arthurfsy2](https://github.com/arthurfsy2), [bai0012](https://github.com/bai0012), BUGP Association, ciaran, CnYeSheng, Cololi, [FloatStream](https://github.com/FloatStream), [SpaceTimee](https://github.com/SpaceTimee), Yisme |
| <img src='https://flagcdn.com/tw.svg' width=20> &nbsp; Traditional Chinese (Taiwan) | 99% | Aaron Liu, CnYeSheng, Cololi, [Henryliu880922](https://github.com/Henryliu880922), [yrctw](https://github.com/yrctw) |

Last updated: Mon May 27 00:11:30 2024
Last updated: Tue May 28 23:11:51 2024
<!-- END Autogenerated translations -->


Expand Down
2 changes: 1 addition & 1 deletion src/UniGetUI/EntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static void Main(string[] args)
{
CoreData.IsDaemon = args.Contains("--daemon");

if (args.Contains("--uninstall-unigetui"))
if (args.Contains("--uninstall-unigetui") || args.Contains("--uninstall-wingetui"))
// If the app is being uninstalled, run the cleaner and exit
UninstallPreps();
else if (args.Contains("--migrate-wingetui-to-unigetui"))
Expand Down

0 comments on commit 5dd85b5

Please sign in to comment.