mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-09 04:48:38 -05:00
Set AUMID manually for legacy processes
This commit is contained in:
parent
a1e979af9e
commit
64780eb39d
@ -25,11 +25,15 @@
|
|||||||
</File>
|
</File>
|
||||||
|
|
||||||
<File Id='filebot.platform.launcher.exe' Name='filebot.platform.launcher.exe' Source='filebot.platform.launcher.exe'>
|
<File Id='filebot.platform.launcher.exe' Name='filebot.platform.launcher.exe' Source='filebot.platform.launcher.exe'>
|
||||||
<Shortcut Id="shortcut.menu.filebot.platform" Directory="ProgramMenuDir" Name="FileBot (platform)" Description="Launch FileBot with platform-independent configuration" WorkingDirectory='INSTALLDIR' Icon="icon.ico" IconIndex="0" Advertise="no" />
|
<Shortcut Id="shortcut.menu.filebot.platform" Directory="ProgramMenuDir" Name="FileBot (platform)" Description="Launch FileBot with platform-independent configuration" WorkingDirectory='INSTALLDIR' Icon="icon.ico" IconIndex="0" Advertise="no">
|
||||||
|
<ShortcutProperty Key="System.AppUserModel.ID" Value="@{application.name}" />
|
||||||
|
</Shortcut>
|
||||||
</File>
|
</File>
|
||||||
|
|
||||||
<File Id='filebot.exe' Name='filebot.exe' Source='filebot.exe'>
|
<File Id='filebot.exe' Name='filebot.exe' Source='filebot.exe'>
|
||||||
<Shortcut Id="shortcut.menu.filebot.cmd" Directory="ProgramMenuDir" Name="FileBot (console)" Description="Launch FileBot with Debug Console" WorkingDirectory='INSTALLDIR' />
|
<Shortcut Id="shortcut.menu.filebot.cmd" Directory="ProgramMenuDir" Name="FileBot (console)" Description="Launch FileBot with Debug Console" WorkingDirectory='INSTALLDIR'>
|
||||||
|
<ShortcutProperty Key="System.AppUserModel.ID" Value="@{application.name}" />
|
||||||
|
</Shortcut>
|
||||||
</File>
|
</File>
|
||||||
|
|
||||||
<File Id='filebot.launcher.l4j.ini' Name='filebot.launcher.l4j.ini' Source='filebot.launcher.l4j.ini' />
|
<File Id='filebot.launcher.l4j.ini' Name='filebot.launcher.l4j.ini' Source='filebot.launcher.l4j.ini' />
|
||||||
|
@ -252,6 +252,11 @@ public class Main {
|
|||||||
// Windows-specific configuration
|
// Windows-specific configuration
|
||||||
WinAppUtilities.initializeApplication();
|
WinAppUtilities.initializeApplication();
|
||||||
frame.setIconImages(ResourceManager.getApplicationIconImages());
|
frame.setIconImages(ResourceManager.getApplicationIconImages());
|
||||||
|
|
||||||
|
// set AUMID manually for legacy processes
|
||||||
|
if (!isUWP()) {
|
||||||
|
WinAppUtilities.setAppUserModelID(getApplicationName());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// generic Linux / FreeBSD / Solaris configuration
|
// generic Linux / FreeBSD / Solaris configuration
|
||||||
frame.setIconImages(ResourceManager.getApplicationIconImages());
|
frame.setIconImages(ResourceManager.getApplicationIconImages());
|
||||||
|
Loading…
Reference in New Issue
Block a user