File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 fail-fast : false
1313 matrix :
1414 include :
15- - os : macos-12
16- arch : x86_64
1715 - os : macos-14
1816 arch : arm64
1917 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if exist dist rmdir /s /q dist
66if exist build rmdir /s /q build
77
88REM 使用PyInstaller打包
9- pyinstaller build_exe .spec
9+ pyinstaller build .spec
1010
1111REM 检查打包是否成功
1212if exist dist\FreePDF\FreePDF.exe (
Original file line number Diff line number Diff line change @@ -113,12 +113,14 @@ a = Analysis(
113113 datas = [
114114 # 配置文件
115115 ('pdf2zh_config.json' , '.' ),
116+ # ui文件
117+ ('ui' , '.' ),
116118 # 模型文件
117119 ('models/' , 'models/' ),
118120 # 字体文件
119121 ('fonts/' , 'fonts/' ),
120- # 资源文件
121- ('assets/ ' , 'assets/ ' ),
122+ # 渲染器文件
123+ ('pdfjs ' , '. ' ),
122124 ],
123125 hiddenimports = [
124126 # pdf2zh相关
You can’t perform that action at this time.
0 commit comments