Hello,
Creating this as a blank issue since the templates are not really matching this one.
Also, I will replace certain Arch specific terms with more generic ones.
Problem
Users are not able to build Jan from a source tarball, for example:
https://github.com/janhq/jan/archive/refs/tags/v0.8.3.tar.gz
Context
I am an Arch user and use Jan via the AUR.
The "official" package is available here: https://aur.archlinux.org/packages/jan
This build script requires downloading the whole Jan repository that is over 2GB.
This can be heavy if a person clears the Git repo folder.
I've then tried to modify the build script to use the tarball, with a big failure
Expected
- Modify build script to use tarball rather than Git repo
- Run build script
- App is built, install app
- App works
What happens
The GUI is broken, for some reasons; there is no clear log of broken UI.
Resolution
Investigate why the Git metadata is required for a successful GUI.
Additional informations
I'm attaching the terminal logs of both tarball and regular builds, plus the screenshot of how the GUI looks like.
Tarball build
jan_tarball.log
Git tree build
jan_git.log

Hello,
Creating this as a blank issue since the templates are not really matching this one.
Also, I will replace certain Arch specific terms with more generic ones.
Problem
Users are not able to build Jan from a source tarball, for example:
https://github.com/janhq/jan/archive/refs/tags/v0.8.3.tar.gz
Context
I am an Arch user and use Jan via the AUR.
The "official" package is available here: https://aur.archlinux.org/packages/jan
This build script requires downloading the whole Jan repository that is over 2GB.
This can be heavy if a person clears the Git repo folder.
I've then tried to modify the build script to use the tarball, with a big failure
Expected
What happens
The GUI is broken, for some reasons; there is no clear log of broken UI.
Resolution
Investigate why the Git metadata is required for a successful GUI.
Additional informations
I'm attaching the terminal logs of both tarball and regular builds, plus the screenshot of how the GUI looks like.
Tarball build
jan_tarball.log
Git tree build
jan_git.log