abrechenbarkeit-sd/airootfs/usr/local/bin/app_main

8 lines
324 B
Text
Raw Normal View History

2024-12-06 23:21:11 +00:00
#!/usr/bin/fish
if test -e /sys/firmware/efi/efivars/AppUrl-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38
set url (cat /sys/firmware/efi/efivars/AppUrl-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
else
set url /usr/local/share/webapps/no_config/index.html
end
/usr/bin/cage -d -- electron --ozone-platform=wayland $url