- 64-bit x86_64 CPU
- Flatpak enabled Linux distribution
- flatpak-builder installed
- git installed
- About 1.5GB free space in your $HOME directory
This is a temporary step. Once the development team gets Pathos on Flathub, this step will be unessessary. The following instructions builds and installs the flatpak image of Pathos.
flatpak install org.freedesktop.Sdk/x86_64/24.08 org.winehq.Wine/x86_64/stable-24.08 org.freedesktop.Platform.Compat.i386/x86_64/24.08
cd ~/git
git clone https://github.com/hydrian/pathos-flatpak.git
cd ~/git/pathos-flatpak
./flatpak-build.sh
The first time you run the the flatpak it will have to setup a wine environment. This may take a while depending on your hardware.
You should have a 'Pathos' entry in your applciation menu.
If you have issues, try running it from the command line. This may help diagnose some issues.
flatpak run net.azurewebsites.pathos
Do to the lack of Microsoft Visual Studio or Build Tools on Wine or native Linux, this cannot be supported.
Do to Wine a issue, full-screen mode won't be supported as a default. Maxized window is recommended. If you want full-screen mode, take a look at Work Arounds
The flatpak package only supports x86_64 even though the native Windows installer supports both i386 and x86_64. If there is enough demand, I may create an i386 build if there is enough demnd. Also, PR's are accepted for this feature.
- Full-screen mode can be supported with custom configuration. See #3
You get this error:
Exporting net.azurewebsites.pathos to repo
FB: Running: flatpak build-export --arch=x86_64 '--exclude=/lib/debug/*' --include=/lib/debug/app '--exclude=/share/runtime/locale/*/*' '/home/hydrian@TYGERCLAN.LAN/git/pathos-flatpak/.flatpak/repo' .flatpak/build main
error: opening repo: opendir(objects): No such file or directory
Export failed: Child process exited with code 1
FB: Unmounting read-only fs: fusermount -uz /home/hydrian@TYGERCLAN.LAN/git/pathos-flatpak/.flatpak/state/rofiles/rofiles-ImiZGI
Failed to build image
You have a messed up repo directory. Delete the build directory and rerun the flatpak-build.sh
script.
rm -Rf ~/git/pathos-flatpak/.flatpak/repo