Commit d1fd0e7a authored by Supharoek Sudadet's avatar Supharoek Sudadet

ทำให้สามารถใช้คำสั่ง npm run release เพื่อสร้าง executable file ได้

parent e2a294ac
release-builds/
\ No newline at end of file
This diff is collapsed.
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"description": "", "description": "",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
"release":"./node_modules/electron/cli.js . mywindowapp --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/png/logo.png --prune=true --out=release-builds",
"app": "echo 'super duper' ", "app": "echo 'super duper' ",
"อันตราย": "rm -rf *", "อันตราย": "rm -rf *",
"touch": "touch สวัสดี", "touch": "touch สวัสดี",
...@@ -13,6 +14,7 @@ ...@@ -13,6 +14,7 @@
"author": "anon", "author": "anon",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"electron": "^1.8.2" "electron": "^1.8.2",
"electron-packager": "^11.0.1"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment