Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit 0816731

Browse files
committed
ci(build): Improve PyInstaller hook and add repository metadata
- Add flet_desktop package collection to PyInstaller hook for proper desktop client bundling - Include flet_desktop data files and submodules in build configuration - Add repository field to package.json with GitHub project URL - Ensure flet.exe desktop client is properly included in Windows builds
1 parent 2387781 commit 0816731

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

hooks/hook-flet.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
datas, binaries, hiddenimports = collect_all('flet')
55
datas += collect_data_files('flet_core')
66
datas += collect_data_files('flet_runtime')
7+
8+
# 收集 flet_desktop 包(包含 flet.exe 桌面客户端)
9+
datas += collect_data_files('flet_desktop', include_py_files=True)
10+
hiddenimports += collect_submodules('flet_desktop')
11+
712
hiddenimports += collect_submodules('flet')
813
hiddenimports += collect_submodules('flet_core')
914
hiddenimports += collect_submodules('flet_runtime')

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
22
"name": "lucky-lillia-desktop-win-x64",
3-
"version": "1.1.2"
3+
"version": "1.1.2",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/LLOneBot/lucky-lillia-desktop"
7+
}
48
}

0 commit comments

Comments
 (0)