offline-first wip
All checks were successful
/ test (push) Successful in 5s

This commit is contained in:
Leon van Kammen 2024-08-06 16:50:51 +02:00
parent 4f2aefe5ef
commit 2fada2f3b3
2 changed files with 6 additions and 3 deletions

2
make
View file

@ -26,7 +26,7 @@ standalone(){
dev(){
cd "$DIR"
test -f xrsh.com || standalone
test -f cert.pem || openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout /tmp/key.pem -out /tmp/cert.pem
test -f /tmp/cert.pem || openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout /tmp/key.pem -out /tmp/cert.pem
./xrsh.com -c 0 -C /tmp/cert.pem -K /tmp/key.pem -D . "$@"
}

View file

@ -7,9 +7,12 @@
<link rel="stylesheet" href="./index.css"></link>
<script src="./assets/aframe.min.js"></script>
<script src="com/require.js"></script>
<script src="com/selfcontainer.js"></script>
<script src="com/launcher.js"></script>
<!-- allow xrsh to selfcontain itself -->
<script src="https://jpillora.com/xhook/dist/xhook.min.js"></script>
<script src="com/selfcontainer.js"></script>
<script src="com/launcher.js"></script>
<!-- some launchable dom/aframe items for the menu -->
<script src="com/xd.js"></script>
<script src="com/launcher-optional.js"></script>