diff --git a/gluworld/index.html b/gluworld/index.html index 1179251..6fa0c36 100644 --- a/gluworld/index.html +++ b/gluworld/index.html @@ -8,7 +8,7 @@

Gluon
- built with + built with

@@ -24,7 +24,6 @@
+ + \ No newline at end of file diff --git a/gluworld/index.js b/gluworld/index.js index eff4305..983539a 100644 --- a/gluworld/index.js +++ b/gluworld/index.js @@ -6,17 +6,6 @@ import { join, dirname } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -Gluon.open(pathToFileURL(join(__dirname, 'index.html')).href, () => { - const setVersions = () => { - if (typeof chromium_version === 'undefined') return setTimeout(setVersions, 100); - - chromium_version.textContent = CHROMIUM_VERSION; - node_version.textContent = NODE_VERSION; - gluon_version.textContent = GLUON_VERSION; - glugun_version.textContent = 'GLUGUN_VERSION' === 'G\LUGUN_VERSION' ? 'nothing' : 'Glugun GLUGUN_VERSION'; - }; - - setVersions(); -}, { +const Chromium = await Gluon.open(pathToFileURL(join(__dirname, 'index.html')).href, undefined, { windowSize: [ 800, 450 ] }); \ No newline at end of file