StreamController icon indicating copy to clipboard operation
StreamController copied to clipboard

Enable creating flatpaks from local repo

Open jfbauer432 opened this issue 6 months ago • 2 comments

After doing everything manually once to create a flatpak from my local git repo, I modified the install.sh script to allow creating flatpaks from other then the official location. One future change that could be handy is to be able to specify any commit id to use. But that would have complicated the editing of the .yml file and I really didn't need it for what I was doing.

Hope this is helpful.


Changed the flatpak/install.sh to it can be used to create a flatpak from a source other then the official repo on github. Also optionally create a flatpak bundle (can be used to test flatpak on another system).

Added a few options:

  -h --help             Show this message
  --repo=path           Path to StreamController repo (must be local)
                        use 'current' for git repo in current pwd
  --branch=branch       Name of branch in --repo to use
                        Ignored if --repo is not specified
  --make-bundle         Create a flatpak bundle so you can try
                        it on another system
  --yes                 Answer yes to all questions

Simplified the question answering code (needed after adding the --yes option)

jfbauer432 avatar Aug 26 '24 21:08 jfbauer432