To build UI and run Photino in one command execute the following in a terminal.
# From inside root folder execute:
# `npm run build` will update the
# wwwroot folder after build is complete.
cd UserInterface && npm run dev
You may need to adjust the publish.sh
beforehand.
# Install Flatpak
sudo apt install flatpak flatpak-builder
# Add the Flathub repository
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# Add the GNOME runtime and SDK forx64
flatpak install org.gnome.Sdk/x86_64/45
flatpak install org.gnome.Platform/x86_64/45
# Add the GNOME runtime and SDK for ARM64
flatpak install org.gnome.Sdk/aarch64/45
flatpak install org.gnome.Platform/aarch64/45
dotnet restore KHID.UI
cd publish
./publish.sh