From 3bab4a0b5b9afbdf5c8548ea47474ab1cb16fc28 Mon Sep 17 00:00:00 2001 From: Bkeenke <128972800+bkeenke@users.noreply.github.com> Date: Tue, 30 Apr 2024 01:05:56 +0300 Subject: [PATCH] Update init.sh --- init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.sh b/init.sh index e00d029..12c5202 100644 --- a/init.sh +++ b/init.sh @@ -158,6 +158,7 @@ install_encode_file() { if [ ! -f /etc/amnezia/amneziawg/encode.py ]; then colorized_echo blue "Downloading encode.py" wget -O- https://raw.githubusercontent.com/bkeenke/awg-manager/master/encode.py > /etc/amnezia/amneziawg/encode.py + pip3 install PyQt6 if [ ! -f /etc/amnezia/amneziawg/encode.py ]; then colorized_echo red "encode.py not found" exit 1 @@ -176,6 +177,7 @@ install_init_awg_manager() { chmod 700 ./awg-manager.sh ./awg-manager.sh -i -s $(curl https://ipinfo.io/ip) -I $(ip route | awk '/default/ { print $5 }') ./awg-manager.sh -u system -c + ./awg-manager.sh -u system -d fi } case "$1" in