change version file location to /opt/tor-snowflake_version.txt

This commit is contained in:
KernelSailor
2025-12-30 10:33:45 +01:00
parent 7b20b0fead
commit c4e5ce623d
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ $STD rm -rf /opt/snowflake.tar.gz
$STD mv /opt/snowflake-v${RELEASE} /opt/tor-snowflake
$STD chown -R snowflake:snowflake /opt/tor-snowflake
$STD sudo -H -u snowflake bash -c "cd /opt/tor-snowflake/proxy && go build -o snowflake-proxy ."
echo "${RELEASE}" >/opt/tor-snowflake/version
echo "${RELEASE}" >/opt/tor-snowflake_version.txt
msg_ok "Built Snowflake Proxy v${RELEASE}"
msg_info "Creating Service"