Skip to content

Commit 0a6ddbf

Browse files
committed
移除webui
1 parent 1567f73 commit 0a6ddbf

44 files changed

Lines changed: 9 additions & 14858 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 版本 6.0.0(2026-02-27
1+
## 版本 6.0.1(2026-04-11
22

33
### 核心更新
44
修复了一些已知问题

.github/dependabot.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,6 @@
22

33
version: 2
44
updates:
5-
# npm 依赖 (WebUI)
6-
- package-ecosystem: "npm"
7-
directory: "/src/webui"
8-
schedule:
9-
interval: "daily"
10-
commit-message:
11-
prefix: "chore(deps)"
12-
13-
14-
# Gradle 依赖 (Android Manager)
15-
- package-ecosystem: "gradle"
16-
directory: "/src/manager"
17-
schedule:
18-
interval: "daily"
19-
commit-message:
20-
prefix: "chore(deps)"
215

226

237
# GitHub Actions
@@ -28,4 +12,3 @@ updates:
2812
commit-message:
2913
prefix: "ci(deps)"
3014

31-

.github/workflows/build.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
branches: [ main ]
77
paths:
88
- 'src/module/**'
9-
- 'src/webui/**'
109
release:
1110
types: [published]
1211

@@ -25,22 +24,6 @@ jobs:
2524
with:
2625
fetch-depth: 0
2726

28-
- name: 设置 Node.js
29-
uses: actions/setup-node@v6
30-
with:
31-
node-version: '20'
32-
cache: 'npm'
33-
cache-dependency-path: src/webui/package-lock.json
34-
35-
- name: 设置 Python
36-
uses: actions/setup-python@v6
37-
with:
38-
python-version: '3.x'
39-
40-
- name: 安装 WebUI 依赖
41-
working-directory: src/webui
42-
run: npm install
43-
4427
- name: 更新 versionCode
4528
id: get_version
4629
run: |
@@ -49,9 +32,6 @@ jobs:
4932
echo "versionCode 已更新为: $COMMIT_COUNT"
5033
echo "commit_count=$COMMIT_COUNT" >> $GITHUB_OUTPUT
5134
52-
- name: 构建 WebUI
53-
run: python src/webui/build_webui.py
54-
5535
- name: 上传构建产物
5636
uses: actions/upload-artifact@v7
5737
with:
@@ -143,4 +123,4 @@ jobs:
143123
144124
[查看更新日志](${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }})
145125
146-
[下载模块](${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/NetProxy-Module.zip)
126+
[下载模块](${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/NetProxy-Module.zip)

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
*.zip
2-
/src/module/webroot/*
3-
!/src/module/webroot/.gitkeep
4-
deploy_webui.py
52

63
# IDE 配置
74
.idea/
85
*.iml
9-
10-
# Gradle 本地配置
11-
gradle-daemon-jvm.properties

docs/webui/features.md

Lines changed: 0 additions & 104 deletions
This file was deleted.

docs/webui/overview.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/module/customize.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,13 @@ sync_to_live() {
181181
return 0
182182
fi
183183

184-
# 同步非配置文件 (bin, scripts, webroot 等)
185-
local sync_dirs="bin scripts webroot action.sh service.sh module.prop"
184+
if [ -e "$LIVE_DIR/webroot" ]; then
185+
rm -rf "$LIVE_DIR/webroot" 2> /dev/null
186+
print_ok "已移除旧 WebUI 文件"
187+
fi
188+
189+
# 同步非配置文件 (bin, scripts 等)
190+
local sync_dirs="bin scripts action.sh service.sh module.prop"
186191

187192
for item in $sync_dirs; do
188193
local src="$MODPATH/$item"

src/webui/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)