mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-13 15:10:37 +00:00
3fb3148829
* sign * Add: Picotool * Remove rpi-utils folder * Add: Legcord-nightly and organize legcord packages into folder * Remove picotools folder
14 lines
335 B
Bash
14 lines
335 B
Bash
#!/bin/sh
|
|
electron=/usr/bin/electron
|
|
|
|
CONFIG=${XDG_CONFIG_HOME:-~/.config}
|
|
FLAGS="$CONFIG/armcord-flags.conf"
|
|
|
|
# Allow users to override command-line options
|
|
if [ -f "$FLAGS" ]; then
|
|
USER_FLAGS="$(cat "$FLAGS")"
|
|
fi
|
|
|
|
# shellcheck disable=SC2086 # USER_FLAGS has to be unquoted
|
|
"$electron" /usr/share/armcord/app.asar $USER_FLAGS "$@"
|