mirror of
https://github.com/yuruotong1/autoMate.git
synced 2025-12-26 05:16:21 +08:00
加入自动更新功能
This commit is contained in:
parent
d611e9e277
commit
7de7ef711b
@ -49,7 +49,10 @@ appImage:
|
||||
artifactName: ${name}-${version}.${ext}
|
||||
npmRebuild: false
|
||||
publish:
|
||||
provider: generic
|
||||
url: https://example.com/auto-updates
|
||||
provider: github
|
||||
owner: yuruotong1
|
||||
repo: autoMate
|
||||
releaseType: 'release'
|
||||
|
||||
electronDownload:
|
||||
mirror: https://npmmirror.com/mirrors/electron/
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "automate",
|
||||
"version": "1.0.0",
|
||||
"version": "2.2.1",
|
||||
"description": "An Electron application with React and TypeScript",
|
||||
"main": "./out/main/index.js",
|
||||
"author": "example.com",
|
||||
"homepage": "https://electron-vite.org",
|
||||
"repository": "https://github.com/yuruotong1/autoMate",
|
||||
"repository": "https://github.com/yuruotong1/autoMate/tree/master/app",
|
||||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
||||
|
||||
@ -4,7 +4,7 @@ pip install -r requirements.txt
|
||||
call echo y | pyinstaller main.spec
|
||||
xcopy .\.venv\Lib\site-packages\litellm\*.json .\dist\autoMateServer\_internal\litellm\ /E /H /F /I /Y
|
||||
|
||||
cd app
|
||||
cd ..\app
|
||||
set "target_dir=.\dist"
|
||||
del /f /q "%target_dir%\*.*"
|
||||
for /d %%i in ("%target_dir%\*") do rmdir /s /q "%%i"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user