This Flatpak package downloads and runs the official eTax Zug app in a sandboxed environment โ no more tax-ing installations!
This repository packages the official eTax Zug Java desktop application as a Flatpak for easy installation and sandboxing on Linux systems. Filing your taxes has never been soโฆ contained! ๐ฅณ
- Downloads the official installer from the canton Zug website (no shady businessโjust Swiss precision!)
- Runs the original installer (no funny business, except in this README)
- Sandboxed and isolated from the rest of your system (your other apps won't get "taxed")
Install Flatpak (if not already installed)
sudo apt install flatpak # Debian/Ubuntu
# or
sudo dnf install flatpak # Fedora
-
Add the Flatpak repo:
flatpak remote-add --user --if-not-exists etaxzug https://alexanderadam.github.io/etax_flatpak/repo/ flatpak remote-modify --no-gpg-verify etaxzug
-
(Optional โ also I still have to do this first ๐คฃ) Import the GPG key:
Download the key:
wget https://alexanderadam.github.io/etax_flatpak/repo/gpgkey flatpak remote-modify --gpg-import=repo/gpgkey etaxzug
-
Install the app:
flatpak install --user etaxzug ch.zg.etax
-
Run eTax Zug:
flatpak run ch.zg.etax
- Repo URL: https://alexanderadam.github.io/etax_flatpak/repo/
- GPG Key: See above or
.flatpakrepo
file.
git clone https://github.com/alexanderadam/etax_flatpak.git
cd etax_flatpak
flatpak-builder --user --install --force-clean build-dir flatpak/ch.zg.etax.yaml
flatpak run ch.zg.etax
- The Flatpak manifest uses
extra-data
to download the official eTax Zug installer zip at install time. - A post-install script extracts the shell installer and installs the Java app and desktop file inside the Flatpak.
New year, new taxes! To update for a new tax year, just update the Flatpak manifest URL, SHA256, and filenames to match the new official eTax Zug release. See the Flatpak manifest and launcher script for details. For development and contribution, see CONTRIBUTING.md
. (Donโt worry, itโs less work than your tax return!)
If you encounter issues, please open an issue on GitHub. For advanced troubleshooting, see flatpak/README.md
.
flatpak/
โ Contains all Flatpak-specific files:ch.zg.etax.yaml
โ Main Flatpak manifestch.zg.etax.post-install.sh
โ Post-install script for extracting the app after download.etaxzug.sh
โ Launcher script for the eTax Zug app inside the Flatpak sandbox.README.md
โ Flatpak usage and packaging notes.
repo/
โ Flatpak repository. This is what gets published to GitHub Pages for user installation..github/workflows/
โ GitHub Actions CI/CD workflows for building and publishing the Flatpak repo.flatpak.yml
โ Main workflow for build and deploy.
.flatpakrepo
โ Metadata file for users to add the repo to Flatpak.build.sh
โ Local build and export scriptCONTRIBUTING.md
โ Contribution guidelines
Other files and directories may be present for specific releases, tests, or local development. See the README for user instructions and this file for advanced packaging details.
This repo only packages the official eTax Zug app. All rights to the app remain with the canton Zug.