-
-
Notifications
You must be signed in to change notification settings - Fork 3
🏗️ Building
Installation is as simple as installing the above, downloading and extracting the zip archive, changing to the new repo's directory, and run the following command:
flatpak-builder --force-clean --user --install-deps-from=appcenter --install builddir ./io.github.ellie_commons.jorts.ymlIf you feel spicy you can try io.github.ellie_commons.jorts.legacy.yml instead. It is pre-revival Jorts. It is half functional.
flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=repo builddir io.github.ellie_commons.jorts.flathub.ymlFirst go on a Windows box, and install MSYS2 Then run the "./windows/prep.sh" script. It will install all needed dependencies Then run "./windows/deploy.sh". It will:
- build the app. Meson includes the extra cruft for windows stuff
- then compile it like grandma does when she cooks
- then move it along with needed dependencies in the deploy
- then create an NSIS script for an installer with everything
- then create the installer
The resulting Exe has everything bundled up in it, including uninstaller. It is built so as to not need admin rights. You can distribute as is.
Idk how to do that yet sorry
Is there demand? I dont wanna bother with that... For packagers: A tweak would be to have Jorts create a data directory instead of using its root. You can remove the vala compiler windows flags in src/Services/Storage in check_datadir