Skip to content

Commit 545ee44

Browse files
committed
chore: release v0.7.0
1 parent eb874cd commit 545ee44

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nodenet",
33
"private": true,
4-
"version": "0.6.9",
4+
"version": "0.7.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nodenet"
3-
version = "0.6.9"
3+
version = "0.7.0"
44
description = "macOS desktop VPN server controller and monitor"
55
authors = ["NodeNet"]
66
edition = "2021"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
33
"productName": "NodeNet",
4-
"version": "0.6.9",
4+
"version": "0.7.0",
55
"identifier": "com.nodenet.app",
66
"build": {
77
"beforeDevCommand": "pnpm dev",

src/components/ServerUpdates.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ const VERSION_CHECK_CMD =
1414
'u=""; r=""; ' +
1515
'[ -f /usr/local/x-ui/x-ui ] && u=$(/usr/local/x-ui/x-ui -v 2>&1); ' +
1616
'u=$(echo "$u" | grep -oE \'[0-9]+\\.[0-9]+\\.[0-9]+\' | head -1); ' +
17-
'for p in /usr/local/x-ui/xray /usr/local/x-ui/bin/xray /usr/bin/xray /usr/local/bin/xray; do if [ -f "$p" ]; then r=$("$p" version 2>&1); break; fi; done; ' +
18-
'[ -z "$r" ] && r=$(xray version 2>&1); ' +
19-
'r=$(echo "$r" | grep -oE \'[0-9]+\\.[0-9]+\\.[0-9]+\' | head -1); ' +
17+
'r=$(go version -m /usr/local/x-ui/x-ui 2>/dev/null | awk \'/xray-core/{print $3}\' | tr -d \'v\'); ' +
18+
'[ -z "$r" ] && r=$(grep -a "$(printf \'dep\\tgithub.com/xtls/xray-core\\t\')" /usr/local/x-ui/x-ui 2>/dev/null | grep -oE \'[0-9]+\\.[0-9]+\\.[0-9]+\' | head -1); ' +
2019
'echo "xui:${u:-n/a}"; echo "xray:${r:-n/a}"';
2120

2221
const UPDATE_CMD =

0 commit comments

Comments
 (0)