mirror of
https://github.com/snltty/linker.git
synced 2026-03-23 22:40:52 +08:00
优化了一下飞牛安装包
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,3 +12,5 @@ packages
|
||||
|
||||
TestResults
|
||||
/VpnServer
|
||||
|
||||
*.fpk
|
||||
|
||||
@@ -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
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
".url": {
|
||||
"linker.Application": {
|
||||
"linker.docker.Application": {
|
||||
"title": "Linker",
|
||||
"icon": "images/icon_{0}.png",
|
||||
"type": "url",
|
||||
|
||||
@@ -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
|
||||
@@ -3,6 +3,6 @@
|
||||
{
|
||||
"run-as": "package"
|
||||
},
|
||||
"username": "docker-linker",
|
||||
"groupname": "docker-linker"
|
||||
"username": "linker-docker",
|
||||
"groupname": "linker-docker"
|
||||
}
|
||||
@@ -14,22 +14,12 @@
|
||||
"shares":
|
||||
[
|
||||
{
|
||||
"name": "linker",
|
||||
"name": "linker-docker",
|
||||
"permission":
|
||||
{
|
||||
"rw":
|
||||
[
|
||||
"docker-linker"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linker/data",
|
||||
"permission":
|
||||
{
|
||||
"rw":
|
||||
[
|
||||
"docker-linker"
|
||||
"linker-docker"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
33
install-package/fpk/docker/wizard/uninstall
Normal file
33
install-package/fpk/docker/wizard/uninstall
Normal 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": "请选择配置保留选项"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1,5 +1,5 @@
|
||||
v1.9.6
|
||||
2025-12-01 17:42:29
|
||||
2025-12-02 17:20:22
|
||||
1. 一些累计更新,一些BUG修复
|
||||
2. 优化客户端数据同步,减少服务器流量
|
||||
3. 去除cdkey,改为发电解锁中继速度
|
||||
|
||||
Reference in New Issue
Block a user