using a bit of checking (削除) and alias expansions (削除ここまで), this should help with users who use the flatpak version of flatpak-builder (me)
Add detection if user is using builder installed from flatpak (org.flatpak.Builder) #3
fluoriteByte/Subcode:main into main
this has been tested on my machine :3c
5ef6d62e4a
to 735187d79d
735187d79d
to 49885656e0
(this is out of scope for this pr i think but): i wonder if it would be better to combine these two scripts as well and have a --release flag so building a release build would be build-aux/flatpak.sh --release instead of build-aux/release-flatpak.sh. the reason why they are separate in the first place is that i don't know bash scripting that well so it seemed easier to have two scripts for this instead of trying to combine them
oh i can help with that
the simplest way is to have a default RELEASEMODE var that equals the filename of the dev json, and then detect --release and change it with the release json
i could cook that up after you merge this in :3c
also json*
hm, i think it would be better to have just the flatpak version of flatpak-builder, instead of also supporting the distro package. i don't really see much point in that as flatpak needs to be installed to build Subcode anyways so might as well also install flatpak-builder as flatpak and use that. i don't know why i used the distro package in the first place to be honest..
me too, also works better cus bugs that distro versions have aren't present in the flatpak (looking at you, ubuntu)
maybe i could close this and just work on a refactor of the script?
yeah, sure!
okay, closing it and starting work on the refactor!
Pull request closed
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?