Skip to content

Commit

Permalink
fix: release can not be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Mar 7, 2024
1 parent 6c6ce0b commit 2f89803
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions common/hiddify_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ function update_panel() {
fi
;;
release)
error "you can not install release version 8 using this script"
exit 1
# error "you can not install release version 8 using this script"
# exit 1
latest=$(get_release_version hiddify-panel)
echo "hiddify panel version current=$current_panel_version latest=$latest"
if [[ $force == "true" || "$current_panel_version" != "$latest" ]]; then
Expand Down
8 changes: 4 additions & 4 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ function main() {
local current_config_version=$(get_installed_config_version)
local current_panel_version=$(get_installed_panel_version)

if [[ $package_mode == "release" ]] && [[ $current_config_version == *"dev"* || ! $current_panel_version == 10* || ! $current_panel_version == 9* ]]; then
bash common/downgrade.sh
return 0
fi
# if [[ $package_mode == "release" ]] && [[ $current_config_version == *"dev"* || ! $current_panel_version == 10* || ! $current_panel_version == 9* ]]; then
# bash common/downgrade.sh
# return 0
# fi

rm -rf sniproxy caddy
update_progress "Hiddify Updater" "Creating a backup" 5
Expand Down

0 comments on commit 2f89803

Please sign in to comment.