Skip to content

Commit

Permalink
fix: loop
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed May 5, 2024
1 parent ca01fbb commit 1391894
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/hiddify_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function install_panel() {
echo "/opt/hiddify-manager/menu.sh" >>~/.bashrc
echo "cd /opt/hiddify-manager/" >>~/.bashrc
fi
# activate_python_venv
activate_python_venv

install_package jq wireguard libev-dev libevdev2 default-libmysqlclient-dev build-essential pkg-config
update_panel "$package_mode" "$force"
Expand Down
5 changes: 3 additions & 2 deletions common/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ function install_python() {
add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get -y remove python*
fi
rm -rf "/opt/hiddify-manager/.venv/"
install_package python3.10-dev
ln -sf $(which python3.10) /usr/bin/python3
ln -sf /usr/bin/python3 /usr/bin/python
Expand All @@ -250,8 +251,8 @@ function install_python() {
# Therefore we still use python3.10
# region make virtual env

create_python_venv
activate_python_venv
# create_python_venv
# activate_python_venv
# endregion

}
Expand Down

0 comments on commit 1391894

Please sign in to comment.