File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,8 +150,6 @@ function update_panel() {
150150 fi
151151 ;;
152152 release)
153- # TODO release should change to 3.13
154- install_python310
155153 activate_python_venv
156154 # error "you can not install release version 8 using this script"
157155 # exit 1
@@ -164,7 +162,8 @@ function update_panel() {
164162 update_progress " Updating..." " Hiddify Panel from $current_panel_version to $latest " 10
165163 # pip3 install -U hiddifypanel==$latest
166164 disable_panel_services
167- pip install -U wheel hiddifypanel
165+ disable_panel_services
166+ uv pip install -U --pre hiddifypanel
168167 update_progress " Updated..." " Hiddify Panel to $latest " 50
169168 return 0
170169 fi
334333
335334
336335export USE_VENV=310
337- if [[ " $@ " == * " dev " * || " $@ " == * " docker " * || " $@ " == * " develop " * || " $@ " == * " beta " * ]]; then
336+ if [[ " $@ " == * " dev " * || " $@ " == * " docker " * || " $@ " == * " develop " * || " $@ " == * " beta " * || " $@ " == * " release " * ]]; then
338337 export USE_VENV=313
339338fi
340339
Original file line number Diff line number Diff line change @@ -615,11 +615,11 @@ function check_venv_compatibility() {
615615 ;;
616616 beta)
617617 # Beta is always venv compatible
618- USE_VENV=310
618+ USE_VENV=313
619619 ;;
620620 release)
621621 # Get the latest release version
622- USE_VENV=310
622+ USE_VENV=313
623623 ;;
624624 * )
625625 echo " Unknown package mode: $package_mode "
You can’t perform that action at this time.
0 commit comments