#!/bin/sh
# Runs the per-user launcher, seeded from this package, so it can update itself (it can't replace
# a file under /usr). Same place the installer puts it.
d="${XDG_DATA_HOME:-$HOME/.local/share}/zen-client"
[ -x "$d/zenclient-launcher" ] || { mkdir -p "$d" && cp /usr/lib/zen-client/zenclient-launcher "$d/"; }
exec "$d/zenclient-launcher" "$@"
