gluon: fix changes from last commit
This commit is contained in:
parent
4290f54981
commit
2004afe7d5
@ -85,9 +85,11 @@ export const open = async (url, onLoad = () => {}) => {
|
|||||||
|
|
||||||
const toRun = `(() => {
|
const toRun = `(() => {
|
||||||
if (window.self !== window.top) return; // inside frame
|
if (window.self !== window.top) return; // inside frame
|
||||||
const GLUON_VERSION = ${process.versions.gluon};
|
|
||||||
|
const GLUON_VERSION = '${process.versions.gluon}';
|
||||||
|
const NODE_VERSION = '${process.versions.node}';
|
||||||
const CHROMIUM_VERSION = navigator.userAgentData.brands.find(x => x.brand === "Chromium").version;
|
const CHROMIUM_VERSION = navigator.userAgentData.brands.find(x => x.brand === "Chromium").version;
|
||||||
const NODE_VERSION = ${process.versions.node};
|
|
||||||
(${onLoad.toString()})();
|
(${onLoad.toString()})();
|
||||||
})()`;
|
})()`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user