新增生成config.json界面基础配置的高级选项

This commit is contained in:
黑先森
2024-11-13 16:42:55 +08:00
parent 1c8314c6fa
commit 92d25ab907
19 changed files with 355 additions and 206 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
# will have compiled files and executables
/target/
/gen/schemas
/easytier/
/easytier/logs
+1 -1
View File
@@ -1176,7 +1176,7 @@ checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
[[package]]
name = "easytier-game"
version = "1.1.7"
version = "1.1.8"
dependencies = [
"log",
"planif",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "easytier-game"
version = "1.1.7"
version = "1.1.8"
homepage = "https://github.com/EasyTier/EasyTier"
repository = "https://github.com/EasyTier/EasytierGame"
description = "A simple network initiator based on Easytier"
+2
View File
@@ -84,6 +84,8 @@
"fs:allow-open",
"fs:allow-resource-read",
"fs:allow-resource-read-recursive",
"fs:allow-resource-write",
"fs:allow-resource-write-recursive",
"clipboard-manager:allow-clear",
"clipboard-manager:allow-read-text",
"clipboard-manager:allow-write-text"
+22
View File
@@ -0,0 +1,22 @@
{
// 如果您的配置过于复杂,可以参考 使用配置文件进行联机的办法,以下是基础的界面配置,用于快速分享联机
"protocol": [
"tcp",
"udp"
], // 协议类型
"serverUrl": "public.easytier.top:11010", // easytier服务地址
"networkName": "", // 网络名
"networkPassword": "", // 网络密码
"hostname": "configTest", // 主机名
"ipv4": "10.126.126.1", // IP地址(选填,下面有dhcp)
"disableIpv6": false, // 禁用ipv6
"disbleListenner": true, // 禁用端口监听
"disableEncryption": false, // 禁用加密
"noTun": false, // 禁用tun
"latencyfirst": false, // 延迟优先
"disableUdpHolePunching": false, // 禁用udp打洞
"disbleP2p": false, // 禁用p2p, 强制中转
"dhcp": false, // 动态分配IP
"devName": false, // 是否启用自定义网卡名
"devNameValue": "" // 网卡名(启用devName之后才生效)
}
Binary file not shown.
+3 -2
View File
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "easytier-game",
"version": "1.1.7",
"version": "1.1.8",
"identifier": "com.tauri.easytier-game",
"build": {
@@ -13,7 +13,7 @@
"app": {
"windows": [
{
"title": "easytier-game 1.1.7",
"title": "easytier-game 1.1.8",
"minWidth": 340,
"width": 340,
"height": 305,
@@ -39,6 +39,7 @@
"resources": [
"easytier/config/",
"easytier/icons/",
"easytier/config_template.json",
"easytier/tool/WinIPBroadcast.exe",
"easytier/easytier-cli.exe",
"easytier/easytier-core.exe",