abrechenbarkeit-sd/airootfs/usr/local/bin/app_main
2024-12-07 00:29:42 +01:00

7 lines
324 B
Fish

#!/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