Skip to content

alexanderadam/etax_flatpak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงพ eTax Zug Flatpak ๐Ÿš€

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! ๐Ÿฅณ

Features ๐Ÿ†

  • 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")

Quick Start - From Zero to Tax Hero ๐Ÿ

Install Flatpak (if not already installed)

sudo apt install flatpak # Debian/Ubuntu
# or
sudo dnf install flatpak # Fedora

From Flatpak Remote

  1. 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
  2. (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
    
  3. Install the app:

    flatpak install --user etaxzug ch.zg.etax
  4. Run eTax Zug:

    flatpak run ch.zg.etax

๐Ÿ”‘ Repository Info

From Repository

1๏ธโƒฃ Clone the repository

git clone https://github.com/alexanderadam/etax_flatpak.git
cd etax_flatpak

2๏ธโƒฃ Build the Flatpak (itโ€™s a taxing job, but someoneโ€™s gotta do it)

flatpak-builder --user --install --force-clean build-dir flatpak/ch.zg.etax.yaml

Run eTax Zug (and relax, youโ€™re in a sandbox ๐Ÿ˜Ž)

flatpak run ch.zg.etax

How it works (extra-data) ๐Ÿง™โ€โ™‚๏ธ

  • 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.

Updating for a new year ๐Ÿ—“๏ธ

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!)

Support & Troubleshooting ๐Ÿ›Ÿ

If you encounter issues, please open an issue on GitHub. For advanced troubleshooting, see flatpak/README.md.

Repository Structure

  • flatpak/ โ€” Contains all Flatpak-specific files:
  • 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 script
  • CONTRIBUTING.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.

License ๐Ÿ“œ

This repo only packages the official eTax Zug app. All rights to the app remain with the canton Zug.