Commit graph

12 commits

Author SHA1 Message Date
Johannes Millan
90abae0c3b fix(linux): align wrapper wm class with desktop entry 2026-05-09 18:11:40 +02:00
Johannes Millan
297aeb30ab fix(electron): harden Snap+Wayland argv wrapper after multi-review
Address findings from code-reviewer + debugger-assistant +
refactor-specialist multi-review on 8e1c47ebc2:

- afterPack: read wrapper source before rename; on writeFile failure,
  roll the rename back so a broken intermediate state can't ship a
  package with no launcher. Strengthen idempotency check to require a
  shebang at binPath (both files alone no longer counts as "installed").
- wrapper: gate the X11 injection on \$SNAP_NAME = "superproductivity",
  not just \$SNAP set. An xdg-open from a sibling snap (e.g. Firefox)
  leaks \$SNAP into the child env, which previously would have silently
  forced XWayland on .deb/.rpm users. Derive BIN_DIR from \$SNAP
  directly when we are our snap, avoiding fragile \$0 resolution
  through snapd's wrapper chain. Stop argv scanning at -- so positional
  args that resemble --ozone-platform aren't misread as a user override.
- app-control: point app.relaunch() execPath at the sibling shell
  wrapper instead of the default process.execPath (which is the renamed
  ELF and would bypass the flag injection on a relaunched Snap+Wayland
  instance).
- Move build/snap-wrapper.sh -> build/linux/snap-wrapper.sh to match
  the existing build/linux/ layout convention.
- Update research doc §18 to reflect the tightened predicate and the
  relaunch fix.
2026-04-21 15:03:42 +02:00
Johannes Millan
9b7b01d24a fix(ci): update references for repo migration to super-productivity org
- Add permissions: contents: write to build.yml and manual-build.yml
  to fix GitHub release creation after org migration
- Update AUR PKGBUILD download URL to new org
- Update release notes changelog link
- Update GitHub project example hints in translation files
2026-01-10 12:56:27 +01:00
Aria Moradi
9e59910f43
AUR: include checksums 2025-09-01 23:06:05 +03:30
José Miguel Sarasola
4f6cc1643f AUR: Use package version on download deb to avoid caching issues
Proposed by Dominiquini on the AUR comments section
2025-06-09 08:38:35 +02:00
Johannes Millan
d2e5ef7958 build: update meta text 2025-01-17 16:57:36 +01:00
José Miguel Sarasola
9b32f513f2 Update Arch Linux PKGBUILD_template for new artifacts changes
New packaging seems to change a couple of things:

1. Package version is no longer included on the filename of the release
artifact
2. Looks like the directory inside the package new includes spaces on
the target install dir
2024-11-15 12:05:32 +01:00
José Miguel Sarasola
dac2f888ba
Explictly skip the MD5sums 2020-11-01 18:20:22 +01:00
José Miguel Sarasola
aa95a1d78c
Fix AUR Action 2020-11-01 17:46:59 +01:00
José Miguel Sarasola
c416b4b47a
Use package.json version for PKGBUILD on CI 2020-11-01 16:02:10 +01:00
José Miguel Sarasola
a4d81ca09d
Add johannesjo as maintainer and owner of the package 2020-11-01 13:14:18 +01:00
José Miguel Sarasola
dddfb6f302
Move PKGBUILD to build/linux 2020-11-01 12:54:33 +01:00