Skip to content

Commit

Permalink
feat: windows one flder build package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Oct 22, 2024
1 parent e54895a commit 009cf77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"python-onefile-build-win": "python -m PyInstaller --onefile --add-data ./src/pyflask/libcrypto-1_1-x64.dll;. --add-data ./src/pyflask/libssl-1_1-x64.dll;. --additional-hooks-dir=./hooks/hook-backports.py;. --clean ./src/pyflask/app.py --distpath ./pyflaskdist",
"python-onefile-build-unix": "python -m PyInstaller --onefile --clean ./src/pyflask/app.py --additional-hooks-dir=./hooks/hook-backports.py --distpath ./pyflaskdist",
"python-folder-build-unix": "python -m PyInstaller --onedir --clean ./src/pyflask/app.py --additional-hooks-dir=./hooks/hook-backports.py --distpath ./pyflaskdist",
"python-folder-build-win": "python -m PyInstaller --onedir --add-data ./src/pyflask/libcrypto-1_1-x64.dll;. --add-data ./src/pyflask/libssl-1_1-x64.dll;. --additional-hooks-dir=./hooks/hook-backports.py;. --clean ./src/pyflask/app.py --distpath ./pyflaskdist",
"deploy-win": "npm run python-onefile-build-win && npm run build && electron-builder --win --config --publish always",
"deploy-linux": "npm run python-folder-build-unix && npm run build && electron-builder --linux --config --publish always",
"deploy-mac": "npm run python-folder-build-unix && npm run build && electron-builder --mac --config --publish always"
Expand Down Expand Up @@ -110,4 +111,4 @@
"rollup-plugin-copy": "^3.5.0",
"vite": "^4.4.9"
}
}
}

0 comments on commit 009cf77

Please sign in to comment.