From 19c4ca7b75f9e51c55590be161167bf10c975f05 Mon Sep 17 00:00:00 2001 From: BeatLink Date: Sun, 14 Jul 2019 01:40:14 -0500 Subject: Move launch script --- browser/linux/resources/launch_librewolf.sh | 17 +++++++++++++++++ .../linux/resources/launch_scripts/launch_librewolf.sh | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100755 browser/linux/resources/launch_librewolf.sh delete mode 100755 browser/linux/resources/launch_scripts/launch_librewolf.sh (limited to 'browser') diff --git a/browser/linux/resources/launch_librewolf.sh b/browser/linux/resources/launch_librewolf.sh new file mode 100755 index 0000000..88058c6 --- /dev/null +++ b/browser/linux/resources/launch_librewolf.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +# PROFILE SPECIFIC SETTINGS WILL NOT WORK, DO NOT UNCOMMENT +# Adds option to install settings if argument is passed +# if [ "$1" = "--install-settings" ]; then +# ./install_settings; +# fi + +# Sets env variables to disable dedicated profiles (which breaks in some cases) +export MOZ_LEGACY_PROFILES=1; +export SNAP_NAME="firefox"; +SCRIPT_FOLDER=$(realpath $(dirname $0)); +chmod +x $SCRIPT_FOLDER/librewolf; +$SCRIPT_FOLDER/librewolf "$@"; + + + diff --git a/browser/linux/resources/launch_scripts/launch_librewolf.sh b/browser/linux/resources/launch_scripts/launch_librewolf.sh deleted file mode 100755 index 88058c6..0000000 --- a/browser/linux/resources/launch_scripts/launch_librewolf.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# PROFILE SPECIFIC SETTINGS WILL NOT WORK, DO NOT UNCOMMENT -# Adds option to install settings if argument is passed -# if [ "$1" = "--install-settings" ]; then -# ./install_settings; -# fi - -# Sets env variables to disable dedicated profiles (which breaks in some cases) -export MOZ_LEGACY_PROFILES=1; -export SNAP_NAME="firefox"; -SCRIPT_FOLDER=$(realpath $(dirname $0)); -chmod +x $SCRIPT_FOLDER/librewolf; -$SCRIPT_FOLDER/librewolf "$@"; - - - -- cgit