I write a wrapper script which adds the support of github-desktop-flags.conf like chromium.
Here is the script
#!/bin/bash
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f "${XDG_CONFIG_HOME}/github-desktop-flags.conf" ]]; then
mapfile -t GITHUB_DESKTOP_USER_FLAGS <<< "$(grep -v '^#' "${XDG_CONFIG_HOME}/github-desktop-flags.conf")"
echo "User flags:" "${GITHUB_DESKTOP_USER_FLAGS[@]}"
fi
# Launch Github Desktop with the given flags
exec /opt/github-desktop/github-desktop "${GITHUB_DESKTOP_USER_FLAGS[@]}" "$@"
I hope this can be merged into this package.
Pinned Comments
fanninpm commented on 2022-04-05 00:18 (UTC)
ATTN: The hard dependency on
gnome-keyring
has finally been relaxed. I have not tested this thoroughly; your mileage may vary.immackay commented on 2019-10-04 23:52 (UTC)
For whom it may concern: this package depends on Shiftkey's linux support fork, located at https://github.com/shiftkey/desktop/
I check this regularly for releases. If you want the newest version, I suggest you check out github-desktop-git and modify the PKGBUILD to use the base repository, with the understanding that the application takes a significant amount of RAM to build.