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:
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user