@fto-consult/expo-ui 7.4.55 → 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 +5 -1
- 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,6 +399,7 @@ const ELECTRON = {
|
|
396
399
|
opts[v] = options;
|
397
400
|
}
|
398
401
|
});
|
402
|
+
console.log("will print options ",opts);
|
399
403
|
return this.createPDFWindow(opts)
|
400
404
|
}
|
401
405
|
})
|