mirror of
https://github.com/yuruotong1/autoMate.git
synced 2025-12-26 05:16:21 +08:00
修改打包脚本
This commit is contained in:
parent
1d76f18920
commit
2ebea9f5ae
@ -17,7 +17,7 @@ export const config = {
|
||||
initShow: true,
|
||||
width: 1300,
|
||||
height: 700,
|
||||
openDevTools: true,
|
||||
openDevTools: false,
|
||||
frame: true,
|
||||
transparent: false,
|
||||
hash: '/#config/category/contentList'
|
||||
|
||||
17
package.bat
17
package.bat
@ -1,10 +1,13 @@
|
||||
@REM cd app
|
||||
@REM @REM call npm run build:win
|
||||
@REM @REM move .\dist\win-unpacked\resources\app.asar.unpacked\resources\icon.png .\dist\win-unpacked\resources
|
||||
@REM cd ..
|
||||
cd app
|
||||
call npm run build:win
|
||||
move .\dist\win-unpacked\resources\app.asar.unpacked\resources\icon.png .\dist\win-unpacked\resources
|
||||
cd ..
|
||||
cd server
|
||||
@REM call .\.venv\Scripts\activate
|
||||
call .\.venv\Scripts\activate
|
||||
call echo y | pyinstaller main.spec
|
||||
xcopy .\.venv\Lib\site-packages\litellm\*.json .\dist\autoMateServer\_internal\litellm\ /H /F /I /Y
|
||||
xcopy .\.venv\Lib\site-packages\litellm\*.json .\dist\autoMateServer\_internal\litellm\ /E /H /F /I /Y
|
||||
xcopy .\dist\autoMateServer\* ..\app\dist\win-unpacked\ /E /H /F /I /Y
|
||||
|
||||
cd ..\app\dist
|
||||
REN win-unpacked autoMate
|
||||
call del autoMate.zip
|
||||
powershell Compress-Archive -Path autoMate -DestinationPath autoMate.zip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user