Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion UniGetUI.iss
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Source: "InstallerExtras\ForceUniGetUIPortable"; DestDir: "{app}"; Tasks: portab


[Icons]
Name: "{autostartmenu}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: regularinstall\startmenuicon
Name: "{autostartmenu}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; AppUserModelID: "Devolutions.UniGetUI"; Tasks: regularinstall\startmenuicon
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: regularinstall\desktopicon

[Run]
Expand Down
226 changes: 0 additions & 226 deletions src/UniGetUI.Avalonia/Infrastructure/AppShortcutAumidStamper.cs

This file was deleted.

6 changes: 0 additions & 6 deletions src/UniGetUI.Avalonia/Infrastructure/AvaloniaAppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ Welcome to UniGetUI Version {CoreData.VersionName}
Logger.ImportantInfo($"Packaged (MSIX): {CoreTools.IsPackagedApp()}");
Logger.ImportantInfo($"Args: {(args.Length > 0 ? string.Join(" ", args) : "(none)")}");

// Stamp the AUMID onto the Start Menu shortcut so the shell surfaces toasts. The
// installer cannot write the property-store value directly; this is idempotent.
#if WINDOWS
AppShortcutAumidStamper.EnsureStamped();
#endif

// Bind Avalonia's UI-thread dispatcher to this (main/STA) thread before the single-instance
// listener starts: if a second instance connects mid-startup, the listener's Dispatcher.UIThread.Post
// would otherwise bind it to the worker thread and make Win32Platform.Initialize throw.
Expand Down
2 changes: 1 addition & 1 deletion src/UniGetUI.Avalonia/Infrastructure/Win32ToastNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace UniGetUI.Avalonia.Infrastructure;
/// <remarks>
/// The notifier is keyed by an AppUserModelID (AUMID). For an unpackaged Win32 app the
/// shell will only surface toasts for that AUMID once a Start Menu shortcut carrying the
/// same AUMID exists; <see cref="AppShortcutAumidStamper"/> handles that side. Toast
/// same AUMID exists; the installer writes that property on its Start Menu shortcut. Toast
/// activation (button clicks) is intentionally not wired — clicking the toast launches
/// the app with its <c>unigetui://</c> deep-link so the single-instance handler can
/// foreground the window, which keeps this dependency-free.
Expand Down
Loading
Loading