mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 13:59:49 -04:00
Try to fix 32-bit MWS support
This commit is contained in:
parent
61e2f54884
commit
945d5619c6
@ -62,7 +62,7 @@ public class WinAppUtilities {
|
|||||||
NativeLong r = Kernel32.INSTANCE.GetCurrentApplicationUserModelId(applicationUserModelIdLength, applicationUserModelId);
|
NativeLong r = Kernel32.INSTANCE.GetCurrentApplicationUserModelId(applicationUserModelIdLength, applicationUserModelId);
|
||||||
|
|
||||||
if (r.intValue() != W32Errors.ERROR_SUCCESS) {
|
if (r.intValue() != W32Errors.ERROR_SUCCESS) {
|
||||||
throw new IllegalStateException(String.format("Kernel32.GetCurrentApplicationUserModelId (%d)", r));
|
throw new IllegalStateException(String.format("Kernel32.GetCurrentApplicationUserModelId (%s)", r));
|
||||||
}
|
}
|
||||||
|
|
||||||
return applicationUserModelId.getValue();
|
return applicationUserModelId.getValue();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user