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 @@
"description": "",
"main": "main.js",
"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' ",
"อันตราย": "rm -rf *",
"touch": "touch สวัสดี",
......@@ -13,6 +14,7 @@
"author": "anon",
"license": "ISC",
"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