summarylogtreecommitdiffstats
path: root/electron-launcher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'electron-launcher.sh')
-rw-r--r--electron-launcher.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/electron-launcher.sh b/electron-launcher.sh
index 447eefc864c0..9184504c33db 100644
--- a/electron-launcher.sh
+++ b/electron-launcher.sh
@@ -7,13 +7,13 @@ flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/%%PKGNAME%%-flags.conf"
declare -a flags
if [[ -f "${flags_file}" ]]; then
- mapfile -t < "${flags_file}"
+ mapfile -t < "${flags_file}"
fi
for line in "${MAPFILE[@]}"; do
- if [[ ! "${line}" =~ ^[[:space:]]*#.* ]] && [[ -n "${line}" ]]; then
- flags+=("${line}")
- fi
+ if [[ ! "${line}" =~ ^[[:space:]]*#.* ]] && [[ -n "${line}" ]]; then
+ flags+=("${line}")
+ fi
done
exec /usr/lib/%%PKGNAME%%/%%PROJECTNAME%% "${flags[@]}" "$@"