feat: update SDK and GUI versions, add debugger protection settings

- Updated SDK_DECODER_SEMVER to "1.3.0" and GUI_SEMVER to "1.2.4" in config.ini.
- Updated MailViewer component to handle PDF already open error and improved iframe handling.
- Removed deprecated useMsgConverter setting from settings page.
- Added IsDebuggerRunning function to check for attached debuggers and quit the app if detected.
- Enhanced PDF viewer to prevent infinite loading and improved error handling.

Co-Authored-By: Laky-64 <iraci.matteo@gmail.com>
This commit is contained in:
Flavio Fois
2026-02-04 23:25:20 +01:00
parent 0cda0a26fc
commit e7d1850a63
24 changed files with 1053 additions and 709 deletions

View File

@@ -3,81 +3,85 @@
// This file is automatically generated. DO NOT EDIT
export function CheckIsDefaultEMLHandler() {
return window['go']['main']['App']['CheckIsDefaultEMLHandler']();
return ObfuscatedCall(0, []);
}
export function GetConfig() {
return window['go']['main']['App']['GetConfig']();
return ObfuscatedCall(1, []);
}
export function GetImageViewerData() {
return window['go']['main']['App']['GetImageViewerData']();
return ObfuscatedCall(2, []);
}
export function GetMachineData() {
return window['go']['main']['App']['GetMachineData']();
return ObfuscatedCall(3, []);
}
export function GetPDFViewerData() {
return window['go']['main']['App']['GetPDFViewerData']();
return ObfuscatedCall(4, []);
}
export function GetStartupFile() {
return window['go']['main']['App']['GetStartupFile']();
return ObfuscatedCall(5, []);
}
export function GetViewerData() {
return window['go']['main']['App']['GetViewerData']();
return ObfuscatedCall(6, []);
}
export function IsDebuggerRunning() {
return ObfuscatedCall(7, []);
}
export function OpenDefaultAppsSettings() {
return window['go']['main']['App']['OpenDefaultAppsSettings']();
return ObfuscatedCall(8, []);
}
export function OpenEMLWindow(arg1, arg2) {
return window['go']['main']['App']['OpenEMLWindow'](arg1, arg2);
return ObfuscatedCall(9, [arg1, arg2]);
}
export function OpenImage(arg1, arg2) {
return window['go']['main']['App']['OpenImage'](arg1, arg2);
return ObfuscatedCall(10, [arg1, arg2]);
}
export function OpenImageWindow(arg1, arg2) {
return window['go']['main']['App']['OpenImageWindow'](arg1, arg2);
return ObfuscatedCall(11, [arg1, arg2]);
}
export function OpenPDF(arg1, arg2) {
return window['go']['main']['App']['OpenPDF'](arg1, arg2);
return ObfuscatedCall(12, [arg1, arg2]);
}
export function OpenPDFWindow(arg1, arg2) {
return window['go']['main']['App']['OpenPDFWindow'](arg1, arg2);
return ObfuscatedCall(13, [arg1, arg2]);
}
export function QuitApp() {
return window['go']['main']['App']['QuitApp']();
return ObfuscatedCall(14, []);
}
export function ReadEML(arg1) {
return window['go']['main']['App']['ReadEML'](arg1);
return ObfuscatedCall(15, [arg1]);
}
export function ReadMSG(arg1, arg2) {
return window['go']['main']['App']['ReadMSG'](arg1, arg2);
return ObfuscatedCall(16, [arg1, arg2]);
}
export function ReadMSGOSS(arg1) {
return window['go']['main']['App']['ReadMSGOSS'](arg1);
return ObfuscatedCall(17, [arg1]);
}
export function ReadPEC(arg1) {
return window['go']['main']['App']['ReadPEC'](arg1);
return ObfuscatedCall(18, [arg1]);
}
export function SaveConfig(arg1) {
return window['go']['main']['App']['SaveConfig'](arg1);
return ObfuscatedCall(19, [arg1]);
}
export function ShowOpenFileDialog() {
return window['go']['main']['App']['ShowOpenFileDialog']();
return ObfuscatedCall(20, []);
}