@fto-consult/expo-ui 7.4.58 → 7.4.59
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.
@@ -30,7 +30,7 @@
|
|
30
30
|
} else if(params.dataURL){
|
31
31
|
PDFObject.embed(params.dataURL,container,params);
|
32
32
|
}
|
33
|
-
console.log(params," is params heeein marrrrrrrrrrr ");
|
33
|
+
console.log(params," is params heeein marrrrrrrrrrr ",window.location,url.searchParams);
|
34
34
|
</script>
|
35
35
|
</body>
|
36
36
|
</html>
|
package/electron/preload.js
CHANGED
@@ -386,7 +386,7 @@ const ELECTRON = {
|
|
386
386
|
const urlPath = path.resolve(__dirname,"pdf-viewer","viewer.html");
|
387
387
|
if(fs.existsSync(mainPath)){
|
388
388
|
const opts = {
|
389
|
-
loadURL : `file://${urlPath}?file=${
|
389
|
+
loadURL : `file://${urlPath}?file=${encodeURIComponent(filePathUrl)}&locale=fr&fileName=${fileName}`,
|
390
390
|
showOnLoad : true,
|
391
391
|
devTools : true,
|
392
392
|
webPreferences : {
|