From 6b18a1109d6f8780178de8178c02acf0a85545d4 Mon Sep 17 00:00:00 2001 From: Pea Nut <peanut2@systemli.org> Date: Fri, 9 Feb 2024 17:46:41 +0100 Subject: [PATCH] Add "un/install dev target for linux" to Makefile `bitmask-root` needs to be in in the path (/usr/local/bin did not work). Maybe I overlook something here, but this seems required to get the dev environment up and running. This is currently how I run/debug things: ``` make vendor (required only once) make build && make install_dev_linux && DEBUG=1 LEAP_DRYRUN=1 build/qt/release/riseup-vpn --no-systray ``` --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 9fde5cdc..7eb006f0 100644 --- a/Makefile +++ b/Makefile @@ -448,3 +448,9 @@ generate_locales: get_%: @curl -L -X GET --user "api:${API_TOKEN}" "https://www.transifex.com/api/2/project/bitmask/resource/bitmask-desktop/translation/${subst -,_,$*}/?file" > gui/i18n/main_$*.ts + +install_dev_linux: + @sudo install -m 0755 pkg/pickle/helpers/bitmask-root /usr/bin/bitmask-root + +uninstall_dev_linux: + @sudo rm -rf /usr/bin/bitmask-root -- GitLab