Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da04640fdf | ||
|
|
537d3b8aa8 | ||
|
|
de18d439e5 | ||
|
|
05105a6532 | ||
|
|
c879df948c |
No files matched your search
@@ -61,7 +61,7 @@ user unit wrapping `flatpak run`:
|
||||
```ini
|
||||
# ~/.config/systemd/user/heiniremote-agent.service
|
||||
[Unit]
|
||||
Description=HeiniRemote agent (Flatpak)
|
||||
Description=PC-Heini Fernwartung (HeiniRemote Agent, Flatpak)
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
@@ -100,3 +100,5 @@ StatusNotifier names for the tray icon.
|
||||
| `heiniremote-wrapper.sh` | Entry point: host-shell `$SHELL` override + config adoption. |
|
||||
| `host-shell.sh` | `flatpak-spawn --host` bridge for the PTY console. |
|
||||
| `de.pc_heini.HeiniRemoteAgent.*` | Desktop file, AppStream metainfo (version stamped by CI), icon. |
|
||||
|
||||
Builds track the newest upstream `main` commit. To rebuild before the nightly check, push a change to a packaging file (README, docs, LICENSE and .gitignore are ignored by the workflow) or run the workflow manually via `workflow_dispatch`.
|
||||
@@ -9,9 +9,18 @@
|
||||
# The inner resolution runs ON THE HOST: flatpak-spawn forwards the sandbox
|
||||
# environment, so $SHELL would still point at this script — resolve the user's
|
||||
# real login shell from passwd instead and fix up $SHELL before exec'ing it.
|
||||
#
|
||||
# The PTY itself was allocated inside the sandbox (its own devpts instance),
|
||||
# so on the host the forwarded fd cannot be named (`tty` fails, no
|
||||
# controlling terminal, tools that open /dev/tty break). script(1) allocates a
|
||||
# second, host-side PTY for the shell and relays through the forwarded one;
|
||||
# util-linux >= 2.35 also passes window-size changes along.
|
||||
exec flatpak-spawn --host /bin/sh -c '
|
||||
shell="$(getent passwd "$(id -un)" | cut -d: -f7)"
|
||||
[ -x "$shell" ] || shell=/bin/sh
|
||||
export SHELL="$shell"
|
||||
if command -v script >/dev/null 2>&1; then
|
||||
exec script -q -e -c "exec \"$shell\" -l" /dev/null
|
||||
fi
|
||||
exec "$shell" -l
|
||||
'
|
||||
@@ -72,3 +72,5 @@ flatpak build-export --disable-sandbox repo build-dir "$BRANCH"
|
||||
flatpak build-update-repo repo --title="HeiniRemote Agent" --prune --prune-depth=1
|
||||
|
||||
echo ">> done: ./repo"
|
||||
|
||||
# Touched to trigger a rebuild against upstream f8c509b (2026-09-21).
|
||||
Reference in new issue
Block a user