gluworld: initial add
This commit is contained in:
parent
6b41f1e43b
commit
f2c5e8fb23
@ -8,7 +8,8 @@ Minimal integrated ecosystem for making "desktop apps" from websites easily usin
|
||||
- [Glugun](glugun): builds Gluon apps into releasable builds with optional bundling (soon)
|
||||
|
||||
### Apps
|
||||
- [Glucord](glucord): minimal Discord client loading official webapp (demo/example)
|
||||
- [Gluworld](gluworld): basic Hello World demo app
|
||||
- [Glucord](glucord): minimal desktop Discord client loading official webapp (demo/example)
|
||||
|
||||
<br>
|
||||
|
||||
|
10
gluworld/index.html
Normal file
10
gluworld/index.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Welcome to Gluon!</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to Gluon!</h1>
|
||||
</body>
|
||||
</html>
|
9
gluworld/index.js
Normal file
9
gluworld/index.js
Normal file
@ -0,0 +1,9 @@
|
||||
import * as Gluon from '../gluon/index.js';
|
||||
|
||||
import { fileURLToPath, pathToFileURL } from 'url';
|
||||
import { join, dirname } from 'path';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
Gluon.open(pathToFileURL(join(__dirname, 'index.html')).href);
|
Loading…
x
Reference in New Issue
Block a user