activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Replace aw-qt with aw-tauri

Open 0xbrayo opened this issue 7 months ago • 10 comments

[!IMPORTANT] Replace aw-qt with aw-tauri, updating build, submodules, and packaging scripts for Tauri integration.

  • Build System:
    • Add build-tauri.yml for Tauri builds, supporting multiple OS and Python/Node versions.
    • Update build.yml to reflect new OS and Node versions.
    • Modify Makefile to conditionally include aw-tauri and exclude aw-qt.
  • Submodules:
    • Add aw-tauri and awatcher submodules in .gitmodules.
    • Remove aw-qt from active submodules when TAURI_BUILD is true.
  • Scripts:
    • Add build_app_tauri.sh for macOS app bundle creation.
    • Add aw-tauri.iss for Windows installer creation.
    • Update package-all.sh to handle Tauri builds.
    • Add move-to-aw-modules.sh for module management.
  • Documentation:
    • Add README.txt in scripts/package for module setup instructions.
    • Update contributor information in changelog_contributors.csv and changelog_contributors_twitter.csv.

This description was created by Ellipsis for 7c07d6dc4a3bd9e896009b76ec0c523ffe615512. You can customize this summary. It will automatically update as commits are pushed.

0xbrayo avatar Jul 20 '25 12:07 0xbrayo

Still WIP, tested Windows and MacOS both work. I haven't yet tested signing yet.

0xbrayo avatar Jul 20 '25 12:07 0xbrayo

Windows build randomly fails sometimes idk why.

0xbrayo avatar Jul 20 '25 12:07 0xbrayo

Adds arm releases for linux and macos. Windows won't compile for arm.

0xbrayo avatar Jul 29 '25 15:07 0xbrayo

@ErikBjare review

0xbrayo avatar Jul 31 '25 07:07 0xbrayo

Looks good, but I'd like to keep the old-style aw-qt builds. Haven't reviewed thoroughly (still on vacation).

Maybe build the new aw-tauri bundle in a separate CI workflow/job?

ErikBjare avatar Aug 01 '25 11:08 ErikBjare

Cool, will do.

0xbrayo avatar Aug 01 '25 11:08 0xbrayo

Separated build.yml and build-tauri.yml builds. Will test a bit more tomorrow. bump runner versions on build, add retries, create unique upload name for each action etc.

0xbrayo avatar Aug 04 '25 19:08 0xbrayo

Not very sure about the last commit, it works but maybe it will break later? Not sure how best to test it.

0xbrayo avatar Aug 08 '25 07:08 0xbrayo

@ellipsis-dev review

0xbrayo avatar Aug 08 '25 07:08 0xbrayo

@ellipsis-dev review

0xbrayo avatar Aug 08 '25 07:08 0xbrayo