优化了一下飞牛安装包

This commit is contained in:
snltty
2025-12-02 17:20:22 +08:00
parent 3598795812
commit f0766266ba
9 changed files with 47 additions and 22 deletions

2
.gitignore vendored
View File

@@ -12,3 +12,5 @@ packages
TestResults
/VpnServer
*.fpk

View File

@@ -10,7 +10,7 @@ services:
tty: true
stdin_open: true
volumes:
- "/var/apps/linker/shares/linker/configs:/app/configs"
- "/var/apps/linker/shares/linker/logs:/app/logs"
- "/$TRIM_APPDEST_VOL/@appshare/linker-docker/configs:/app/configs"
- "/$TRIM_APPDEST_VOL/@appshare/linker-docker/logs:/app/logs"
devices:
- /dev/net/tun:/dev/net/tun

View File

@@ -1,6 +1,6 @@
{
".url": {
"linker.Application": {
"linker.docker.Application": {
"title": "Linker",
"icon": "images/icon_{0}.png",
"type": "url",

View File

@@ -2,8 +2,8 @@
### This script is called after the user uninstalls the application.
docker stop linker
docker rm linker
docker rmi -f snltty/linker-musl
if [ "$wizard_data_action" = "delete" ]; then
rm -rf $TRIM_APPDEST_VOL/@appshare/linker-docker
fi
exit 0

View File

@@ -3,6 +3,6 @@
{
"run-as": "package"
},
"username": "docker-linker",
"groupname": "docker-linker"
"username": "linker-docker",
"groupname": "linker-docker"
}

View File

@@ -14,22 +14,12 @@
"shares":
[
{
"name": "linker",
"name": "linker-docker",
"permission":
{
"rw":
[
"docker-linker"
]
}
},
{
"name": "linker/data",
"permission":
{
"rw":
[
"docker-linker"
"linker-docker"
]
}
}

View File

@@ -9,7 +9,7 @@ maintainer_url=https://linker.snltty.com
distributor=snltty
distributor_url=https://linker.snltty.com
desktop_uidir=ui
desktop_applaunchname=linker.Application
desktop_applaunchname=linker.docker.Application
service_port=1804
checkport=true

View File

@@ -0,0 +1,33 @@
[
{
"stepTitle": "确认卸载",
"items": [
{
"type": "tips",
"helpText": "您即将卸载此应用。请选择如何处理应用数据,<strong>警告:</strong> 选择删除数据后,所有应用数据将永久丢失,无法恢复。"
},
{
"type": "radio",
"field": "wizard_data_action",
"label": "配置保留选项",
"initValue": "keep",
"options": [
{
"label": "保留配置",
"value": "keep"
},
{
"label": "删除配置",
"value": "delete"
}
],
"rules": [
{
"required": true,
"message": "请选择配置保留选项"
}
]
}
]
}
]

View File

@@ -1,5 +1,5 @@
v1.9.6
2025-12-01 17:42:29
2025-12-02 17:20:22
1. 一些累计更新一些BUG修复
2. 优化客户端数据同步,减少服务器流量
3. 去除cdkey改为发电解锁中继速度