mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2026-01-18 16:12:43 +00:00
add win pack script
This commit is contained in:
parent
bd06296bff
commit
dc89f66ed4
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "another-redis-manager",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "A faster, better and more stable redis desktop manager.",
|
||||
"author": "qii404.me",
|
||||
"private": true,
|
||||
|
||||
@ -13,7 +13,8 @@
|
||||
"lint:init": "eslint --init",
|
||||
"asar": "node_modules/.bin/asar pack dist dist/app.asar --unpack-dir \"{app.asar,build-apps,app.asar.unpacked}\"",
|
||||
"pack:prepare": "npm run build; cp -r pack/electron/* dist; sed -i \"s/const APP_ENV = 'dev'/const APP_ENV = 'production'/g\" dist/electron-main.js;",
|
||||
"pack:linux": "node_modules/.bin/electron-builder --project=dist -l"
|
||||
"pack:linux": "node_modules/.bin/electron-builder --project=dist -l",
|
||||
"pack:win": "docker run --rm -it --env ELECTRON_CACHE=\"/root/.cache/electron\" --env ELECTRON_BUILDER_CACHE=\"/root/.cache/electron-builder\" -v ${PWD}:/project -v ~/.cache/electron:/root/.cache/electron -v ~/.cache/electron-builder:/root/.cache/electron-builder electronuserland/builder:wine sh -c \"node_modules/.bin/electron-builder --project=dist -w\""
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.18.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user