mirror of
https://github.com/EasyTier/EasytierGame.git
synced 2025-05-19 10:27:56 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41f58f1df6 | ||
|
|
0a17c269ea | ||
|
|
6fd3b999d7 | ||
|
|
3773e11b24 | ||
|
|
987541ab52 | ||
|
|
d800a414c0 | ||
|
|
a5954744a1 |
@@ -56,6 +56,9 @@ Releases: [https://github.com/EasyTier/EasytierGame/releases](https://github.c
|
|||||||
- 1.2.6重写 自建服务器功能,可以自行搭建服务器,但是需要一些网络知识,具体可以查看文档[自建服务器](https://www.easytier.top/guide/network/host-public-server.html),也可查看帮助.txt
|
- 1.2.6重写 自建服务器功能,可以自行搭建服务器,但是需要一些网络知识,具体可以查看文档[自建服务器](https://www.easytier.top/guide/network/host-public-server.html),也可查看帮助.txt
|
||||||

|

|
||||||
|
|
||||||
|
- 1.3.5 增强工具 新增了forceBindIP
|
||||||
|

|
||||||
|
|
||||||
## 特性
|
## 特性
|
||||||
|
|
||||||
- 基于easytier组网工具开发,界面清晰简单
|
- 基于easytier组网工具开发,界面清晰简单
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
rustup default nightly
|
||||||
|
@echo 使用rust nightly构建支持win7的版本,请先将根目录的windows.0.48.5 放入以下目录
|
||||||
|
@echo C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\你自己的版本\lib\x64
|
||||||
|
@echo C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\你自己的版本\lib\x86
|
||||||
|
@echo C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\你自己的版本\atlmfc\lib\x64
|
||||||
|
@echo C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\你自己的版本\atlmfc\lib\x86
|
||||||
|
pnpm tauri build -- -Z build-std --target x86_64-win7-windows-msvc
|
||||||
|
rustup default stable
|
||||||
|
pnpm tauri build
|
||||||
|
pnpm run release
|
||||||
|
pnpm run release-win7
|
||||||
+14
-15
@@ -3,41 +3,40 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"author": "leizi97",
|
"author": "leizi97",
|
||||||
"description": "A simple network initiator based on Easytier",
|
"description": "A simple network initiator based on Easytier",
|
||||||
"version": "1.3.5",
|
"version": "1.3.7",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nuxt dev --dotenv env/.env.dev --host 0.0.0.0",
|
"dev": "nuxt dev --dotenv env/.env.dev --host 0.0.0.0",
|
||||||
"build": "nuxt generate --dotenv env/.env.prod",
|
"build": "nuxt generate --dotenv env/.env.prod",
|
||||||
"release": "node zip.js"
|
"release": "node zip.js",
|
||||||
|
"release-win7": "node zip.js win7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@element-plus/icons-vue": "^2.3.1",
|
"@element-plus/icons-vue": "^2.3.1",
|
||||||
"@element-plus/nuxt": "^1.1.1",
|
"@element-plus/nuxt": "^1.1.1",
|
||||||
"@nuxtjs/tailwindcss": "^6.12.2",
|
"@nuxtjs/tailwindcss": "6.13.1",
|
||||||
"@pinia/nuxt": "0.9.0",
|
"@pinia/nuxt": "0.9.0",
|
||||||
"@tauri-apps/api": "^2.1.1",
|
"@tauri-apps/api": "^2.2.0",
|
||||||
"@tauri-apps/cli": "^2.1.0",
|
"@tauri-apps/cli": "2.2.4",
|
||||||
"@tauri-apps/plugin-cli": "^2.2.0",
|
"@tauri-apps/plugin-cli": "^2.2.0",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
|
"@tauri-apps/plugin-clipboard-manager": "2.2.0",
|
||||||
"@tauri-apps/plugin-fs": "^2.2.0",
|
"@tauri-apps/plugin-fs": "^2.2.0",
|
||||||
"@tauri-apps/plugin-log": "^2.2.0",
|
"@tauri-apps/plugin-log": "^2.2.0",
|
||||||
"@tauri-apps/plugin-shell": "^2.2.0",
|
"@tauri-apps/plugin-shell": "^2.2.0",
|
||||||
"@tauri-apps/plugin-window-state": "^2.2.0",
|
"@tauri-apps/plugin-window-state": "^2.2.0",
|
||||||
|
"@tauri-apps/plugin-dialog": "2.2.0",
|
||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
||||||
"@vueuse/core": "12.2.0",
|
"@vueuse/core": "12.4.0",
|
||||||
"archiver": "^7.0.1",
|
"archiver": "^7.0.1",
|
||||||
"element-plus": "^2.9.1",
|
"element-plus": "2.9.3",
|
||||||
"less": "^4.2.0",
|
"less": "4.2.1",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"nuxt": "3.15.0",
|
"nuxt": "3.15.2",
|
||||||
"pinia": "^2.3.0",
|
"pinia": "^2.3.0",
|
||||||
"pinia-plugin-persistedstate": "^4.2.0",
|
"pinia-plugin-persistedstate": "^4.2.0",
|
||||||
"postcss": "^8.4.38",
|
"postcss": "^8.4.38",
|
||||||
"prettier": "^3.4.1",
|
"prettier": "3.4.2",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.9",
|
"prettier-plugin-tailwindcss": "0.6.10",
|
||||||
"vue-clipboard3": "^2.0.0"
|
"vue-clipboard3": "^2.0.0"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@tauri-apps/plugin-dialog": "~2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+13
-12
@@ -274,10 +274,10 @@
|
|||||||
plain
|
plain
|
||||||
></ElButton>
|
></ElButton>
|
||||||
</ElTooltip>
|
</ElTooltip>
|
||||||
<ElTooltip
|
<!-- <ElTooltip
|
||||||
placement="left"
|
placement="left"
|
||||||
content="房间信息"
|
content="房间信息"
|
||||||
>
|
> -->
|
||||||
<ElButton
|
<ElButton
|
||||||
class="!ml-[7px]"
|
class="!ml-[7px]"
|
||||||
@click="handleShowMemberDialog"
|
@click="handleShowMemberDialog"
|
||||||
@@ -285,7 +285,7 @@
|
|||||||
type="success"
|
type="success"
|
||||||
size="small"
|
size="small"
|
||||||
>房间信息</ElButton>
|
>房间信息</ElButton>
|
||||||
</ElTooltip>
|
<!-- </ElTooltip> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
@@ -1331,20 +1331,21 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
await writeText(WT);
|
await writeText(WT);
|
||||||
|
await ElConfirmPrimary(
|
||||||
|
`{action} 虚拟网IP,主机名,子网代理,为子网代理启用smoltcp堆栈,开机自启,软件启动自动联机,出口节点,不生成Tun网卡,错误日志相关配置`,
|
||||||
|
"提示",
|
||||||
|
{
|
||||||
|
confirmButtonText: "知道了",
|
||||||
|
showCancelButton: false,
|
||||||
|
action: "不会分享"
|
||||||
|
}
|
||||||
|
);
|
||||||
ElMessage.success("配置已复制");
|
ElMessage.success("配置已复制");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
ElMessage.error("分享失败");
|
ElMessage.error("分享失败");
|
||||||
}
|
}
|
||||||
ElConfirmPrimary(
|
|
||||||
`{action} 虚拟网IP,主机名,子网代理,为子网代理启用smoltcp堆栈,开机自启,软件启动自动联机,出口节点,不生成Tun网卡,错误日志相关配置`,
|
|
||||||
"提示",
|
|
||||||
{
|
|
||||||
confirmButtonText: "知道了",
|
|
||||||
showCancelButton: false,
|
|
||||||
action: "不会分享"
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
if (command === "import_config") {
|
if (command === "import_config") {
|
||||||
importConfigData.data = "";
|
importConfigData.data = "";
|
||||||
|
|||||||
@@ -201,6 +201,13 @@
|
|||||||
>
|
>
|
||||||
一键关闭防火墙
|
一键关闭防火墙
|
||||||
</ElButton>
|
</ElButton>
|
||||||
|
<ElButton
|
||||||
|
@click="handleCustomFireWall"
|
||||||
|
type="danger"
|
||||||
|
size="small"
|
||||||
|
>
|
||||||
|
自定义防火墙策略
|
||||||
|
</ElButton>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-[10px]">
|
<div class="mb-[10px]">
|
||||||
<ElText class="!mx-[10px]">域防火墙</ElText>
|
<ElText class="!mx-[10px]">域防火墙</ElText>
|
||||||
@@ -298,6 +305,10 @@
|
|||||||
forceBindStart: false
|
forceBindStart: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const handleCustomFireWall = async () => {
|
||||||
|
await open("wf.msc");
|
||||||
|
}
|
||||||
|
|
||||||
const handleTabsChange = async (tabPaneName: TabPaneName) => {
|
const handleTabsChange = async (tabPaneName: TabPaneName) => {
|
||||||
if (tabPaneName === "netcard") {
|
if (tabPaneName === "netcard") {
|
||||||
// await initNetCardInfo();
|
// await initNetCardInfo();
|
||||||
|
|||||||
Generated
+668
-415
File diff suppressed because it is too large
Load Diff
Generated
+954
-477
File diff suppressed because it is too large
Load Diff
+16
-15
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "easytier-game"
|
name = "easytier-game"
|
||||||
version = "1.3.5"
|
version = "1.3.7"
|
||||||
homepage = "https://github.com/EasyTier/EasyTier"
|
homepage = "https://github.com/EasyTier/EasyTier"
|
||||||
repository = "https://github.com/EasyTier/EasytierGame"
|
repository = "https://github.com/EasyTier/EasytierGame"
|
||||||
description = "A simple network initiator based on Easytier"
|
description = "A simple network initiator based on Easytier"
|
||||||
@@ -8,7 +8,7 @@ authors = ["leizi97"]
|
|||||||
license = "LICENSE"
|
license = "LICENSE"
|
||||||
|
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.77.2"
|
# rust-version = "1.77.2"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@@ -18,34 +18,35 @@ name = "app_lib"
|
|||||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "2.0.3", features = [] }
|
tauri-build = { version = "2.0.5", features = [] }
|
||||||
# prost-build = "0.13.2"
|
# prost-build = "0.13.2"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde_json = "1.0"
|
serde_json = "1.0.135"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0.217", features = ["derive"] }
|
||||||
log = "0.4"
|
log = "0.4.25"
|
||||||
tauri = { version = "2.1.1", features = [
|
tauri = { version = "2.2.2", features = [
|
||||||
"tray-icon",
|
"tray-icon",
|
||||||
"image-png",
|
"image-png",
|
||||||
"image-ico",
|
"image-ico",
|
||||||
|
"devtools"
|
||||||
] }
|
] }
|
||||||
|
|
||||||
tauri-plugin-log = "2.2.0"
|
tauri-plugin-log = "2.2.0"
|
||||||
tauri-plugin-shell = "2.2.0"
|
tauri-plugin-shell = "2.2.0"
|
||||||
reqwest = { version = "0.12", features = ["json"] }
|
reqwest = { version = "0.12.12", features = ["json"] }
|
||||||
zip = "2.2"
|
zip = "2.2.2"
|
||||||
sysinfo = '0.32.0'
|
sysinfo = '0.33.1'
|
||||||
planif = { git = "https://github.com/mattrobineau/planif", tag = "1.0.1" }
|
planif = { git = "https://github.com/mattrobineau/planif", tag = "1.0.1" }
|
||||||
whoami = "1.5.2"
|
whoami = "1.5.2"
|
||||||
tauri-plugin-fs = "2.2.0"
|
tauri-plugin-fs = "2.2.0"
|
||||||
tauri-plugin-clipboard-manager = "2.0.2"
|
tauri-plugin-clipboard-manager = "2.2.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
tokio = { version = "1.41.1", features = ["process"] }
|
tokio = { version = "1.43.0", features = ["process"] }
|
||||||
tauri-plugin-dialog = "2"
|
tauri-plugin-dialog = "2.2.0"
|
||||||
# prost = "0.13"
|
# prost = "0.13"
|
||||||
# prost-types = "0.13"
|
# prost-types = "0.13"
|
||||||
|
hashbrown = "0.15.2"
|
||||||
|
|
||||||
[dependencies.windows]
|
[dependencies.windows]
|
||||||
version = "0.58.0"
|
version = "0.58.0"
|
||||||
@@ -53,5 +54,5 @@ features = ["Win32_System_TaskScheduler", "Win32_System_Power", "Win32_NetworkMa
|
|||||||
|
|
||||||
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
|
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
|
||||||
tauri-plugin-cli = "2.2.0"
|
tauri-plugin-cli = "2.2.0"
|
||||||
tauri-plugin-single-instance = "2.2.0"
|
tauri-plugin-single-instance = "2.2.1"
|
||||||
tauri-plugin-window-state = "2.2.0"
|
tauri-plugin-window-state = "2.2.0"
|
||||||
|
|||||||
@@ -74,6 +74,11 @@
|
|||||||
"cmd": "explorer",
|
"cmd": "explorer",
|
||||||
"name": "explorer"
|
"name": "explorer"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"args": true,
|
||||||
|
"cmd": "wf.msc",
|
||||||
|
"name": "wf.msc"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"args": true,
|
"args": true,
|
||||||
"cmd": "netsh",
|
"cmd": "netsh",
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -754,7 +754,7 @@ pub fn run() {
|
|||||||
// }
|
// }
|
||||||
#[cfg(not(target_os = "android"))]
|
#[cfg(not(target_os = "android"))]
|
||||||
let _tray_menu = TrayIconBuilder::with_id("main")
|
let _tray_menu = TrayIconBuilder::with_id("main")
|
||||||
.menu_on_left_click(false)
|
.show_menu_on_left_click(false)
|
||||||
.on_tray_icon_event(|tray, event| {
|
.on_tray_icon_event(|tray, event| {
|
||||||
if let TrayIconEvent::Click {
|
if let TrayIconEvent::Click {
|
||||||
button: MouseButton::Left,
|
button: MouseButton::Left,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||||
"productName": "easytier-game",
|
"productName": "easytier-game",
|
||||||
"version": "1.3.5",
|
"version": "1.3.7",
|
||||||
"identifier": "com.tauri.easytier-game",
|
"identifier": "com.tauri.easytier-game",
|
||||||
|
|
||||||
"build": {
|
"build": {
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"app": {
|
"app": {
|
||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"title": "easytier-game 1.3.5",
|
"title": "easytier-game 1.3.7",
|
||||||
"label": "main",
|
"label": "main",
|
||||||
"minWidth": 340,
|
"minWidth": 340,
|
||||||
"width": 340,
|
"width": 340,
|
||||||
@@ -63,7 +63,8 @@
|
|||||||
"easytier/Packet.dll",
|
"easytier/Packet.dll",
|
||||||
"easytier/wintun.dll",
|
"easytier/wintun.dll",
|
||||||
"easytier/clear_local_data.bat",
|
"easytier/clear_local_data.bat",
|
||||||
"帮助.txt"
|
"帮助.txt",
|
||||||
|
"uninstall.exe"
|
||||||
],
|
],
|
||||||
"windows": {
|
"windows": {
|
||||||
"webviewInstallMode": {
|
"webviewInstallMode": {
|
||||||
|
|||||||
Binary file not shown.
@@ -1,8 +1,8 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
/** @type {import('tailwindcss/plugin')} */
|
/** @type {import('tailwindcss/plugin')} */
|
||||||
|
import plugin from "tailwindcss/plugin"
|
||||||
const plugin = require("tailwindcss/plugin");
|
// const plugin = require("tailwindcss/plugin");
|
||||||
module.exports = {
|
export default {
|
||||||
content: ["./components/**/*.{js,vue,ts}", "./layouts/**/*.vue", "./pages/**/*.vue", "./plugins/**/*.{js,ts}", "./app.vue", "./error.vue"],
|
content: ["./components/**/*.{js,vue,ts}", "./layouts/**/*.vue", "./pages/**/*.vue", "./plugins/**/*.{js,ts}", "./app.vue", "./error.vue"],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {}
|
extend: {}
|
||||||
Binary file not shown.
@@ -1,14 +1,15 @@
|
|||||||
/**
|
/**
|
||||||
* 生成 release 发布包 zip 文件
|
* 生成 release 发布包 zip 文件
|
||||||
*/
|
*/
|
||||||
|
const pkg = require("./package.json");
|
||||||
const releaseDir = "./src-tauri/target/release";
|
const isWin7 = process.argv[2] == 'win7';
|
||||||
|
const releaseDir = isWin7 ? "./src-tauri/target/x86_64-win7-windows-msvc/release" : "./src-tauri/target/release";
|
||||||
|
const fileName = isWin7 ? `easytier-game_windows7_fix_${pkg.version}.zip` : `easytier-game_windows_x86_64_${pkg.version}.zip`; // 发布包格式
|
||||||
const releaseDirEasytier = `${releaseDir}/easytier/`;
|
const releaseDirEasytier = `${releaseDir}/easytier/`;
|
||||||
const releaseExe = `${releaseDir}/easytier-game.exe`;
|
const releaseExe = `${releaseDir}/easytier-game.exe`;
|
||||||
const releaseHelp = `${releaseDir}/帮助.txt`;
|
const releaseHelp = `${releaseDir}/帮助.txt`;
|
||||||
|
const releaseUninstall = `${releaseDir}/uninstall.exe`;
|
||||||
const deleteEasytierFiles = ["logs/", "guiLogs/", "cache/"];
|
const deleteEasytierFiles = ["logs/", "guiLogs/", "cache/"];
|
||||||
const pkg = require("./package.json");
|
|
||||||
const fileName = `easytier-game_windows_x86_64_${pkg.version}.zip`; // 发布包格式
|
|
||||||
const releaseZipDir = "./release";
|
const releaseZipDir = "./release";
|
||||||
const releaseZip = `${releaseZipDir}/${fileName}`;
|
const releaseZip = `${releaseZipDir}/${fileName}`;
|
||||||
|
|
||||||
@@ -62,5 +63,6 @@ archive.pipe(output);
|
|||||||
archive
|
archive
|
||||||
.append(fs.createReadStream(path.join(__dirname, releaseExe)), { name: "easytier-game.exe" })
|
.append(fs.createReadStream(path.join(__dirname, releaseExe)), { name: "easytier-game.exe" })
|
||||||
.append(fs.createReadStream(path.join(__dirname, releaseHelp)), { name: "帮助.txt" })
|
.append(fs.createReadStream(path.join(__dirname, releaseHelp)), { name: "帮助.txt" })
|
||||||
|
.append(fs.createReadStream(path.join(__dirname, releaseUninstall)), { name: "uninstall.exe" })
|
||||||
.directory(path.join(__dirname, releaseDirEasytier), "easytier")
|
.directory(path.join(__dirname, releaseDirEasytier), "easytier")
|
||||||
.finalize();
|
.finalize();
|
||||||
|
|||||||
Reference in New Issue
Block a user