fix: resolve Auto-Trim canvas CORS block with webSecurity, implement dynamic multi-language localization (EN, TR, DE, RU, AR) with English base

This commit is contained in:
Ümit Tunç
2026-05-23 11:01:25 +03:00
parent dba9ac7642
commit 868d7519a4
3 changed files with 406 additions and 56 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ function createWindow() {
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
contextIsolation: true,
nodeIntegration: false
nodeIntegration: false,
webSecurity: false // Disabled to allow canvas pixel reading on local file:// assets for Auto-Trim
}
});