@fto-consult/expo-ui 7.4.54 → 7.4.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/electron/preload.js +6 -3
- package/package.json +1 -1
package/electron/preload.js
CHANGED
@@ -388,7 +388,10 @@ const ELECTRON = {
|
|
388
388
|
const opts = {
|
389
389
|
loadURL : `file://${urlPath}?file=${decodeURIComponent(filePathUrl)}&locale=fr&fileName=${fileName}`,
|
390
390
|
showOnLoad : true,
|
391
|
-
|
391
|
+
webPreferences : {
|
392
|
+
devTools : true,
|
393
|
+
...Object.assign({},options.webPreferences),
|
394
|
+
},
|
392
395
|
fileName
|
393
396
|
};
|
394
397
|
["width","height"].map((v)=>{
|
@@ -396,8 +399,8 @@ const ELECTRON = {
|
|
396
399
|
opts[v] = options;
|
397
400
|
}
|
398
401
|
});
|
399
|
-
console.log("will print
|
400
|
-
return this.createPDFWindow(
|
402
|
+
console.log("will print options ",opts);
|
403
|
+
return this.createPDFWindow(opts)
|
401
404
|
}
|
402
405
|
})
|
403
406
|
}
|