gluworld: don't use top level await
This commit is contained in:
parent
ba56391f97
commit
a13c1d3196
@ -6,6 +6,8 @@ import { join, dirname } from 'path';
|
|||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
|
(async () => {
|
||||||
const Chromium = await Gluon.open(pathToFileURL(join(__dirname, 'index.html')).href, {
|
const Chromium = await Gluon.open(pathToFileURL(join(__dirname, 'index.html')).href, {
|
||||||
windowSize: [ 800, 450 ]
|
windowSize: [ 800, 450 ]
|
||||||
});
|
});
|
||||||
|
})();
|
Loading…
x
Reference in New Issue
Block a user