feat/offline-first: work in progress [might break]
All checks were successful
/ test (push) Successful in 5s

This commit is contained in:
Leon van Kammen 2024-08-29 15:39:54 +00:00
parent 04da7e8f88
commit 2ef7e9ea3b
4 changed files with 5 additions and 3 deletions

View file

@ -27,4 +27,6 @@ $ git clone --recurse-submodules https://forgejo.isvery.ninja/xrsh/xrsh
> Now serve the repo from a HTTPS webserver (for example run `./make dev`)
Run `./make standalone` to package everything into `xrsh.com`

4
make
View file

@ -18,7 +18,7 @@ standalone(){
rm ${APP}.com || true
test -f ${APP}.com || install
set -x
zip -x "*.git*" -r ${APP}.com index.html LICENSE src/index.{html,css} src/assets src/com/*.js src/com/isoterminal/{xrsh.iso,libv86.js,bios,v86.wasm}
zip -x "*.git*" -r ${APP}.com index.html LICENSE src/index.{html,css} src/assets src/com/*.js src/com/isoterminal/{xrsh.iso,libv86.js,bios,v86.wasm,mnt,images/buildroot-bzimage.bin}
sha256sum ${APP}.com > ${APP}.txt
ls -lah ${APP}.com
}
@ -36,7 +36,7 @@ shell(){
$OCI rm -f xrsh || true
$OCI run --name xrsh -d \
-v ./src/com/isoterminal/mnt:/mnt busybox:1.31.1-musl tail -f /dev/null
$OCI exec -it xrsh /bin/sh -i -c 'source /mnt/profile && sh'
$OCI exec -it xrsh /bin/sh -i -c 'ln -s /mnt/profile /etc/profile && sh --login'
}
recordings(){

BIN
xrsh.com

Binary file not shown.

View file

@ -1 +1 @@
3dab35009ec137a1dba77bd1f318b71ca8004e25e1ae42b324adec0b1e02bfbd xrsh.com
c826450426cb67fa3f9f9c5803e14f1b03358f1a89a0e5a3781417bec63912b5 xrsh.com