kopia lustrzana https://github.com/dceejay/electron-node-red
let's try again
rodzic
8ffdabbbf1
commit
85809aed61
|
@ -5,6 +5,6 @@
|
|||
"icon-size": 80,
|
||||
"contents": [
|
||||
{ "x": 448, "y": 344, "type": "link", "path": "/Applications" },
|
||||
{ "x": 192, "y": 344, "type": "file", "path": "Node-RED-darwin-x64/Node-RED.app" }
|
||||
{ "x": 192, "y": 344, "type": "file", "path": "dist/Node-RED-darwin-x64/Node-RED.app" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"osx" : {
|
||||
"title": "Node-RED installer",
|
||||
"background": "appbkg.png",
|
||||
"icon": "nodered.icns",
|
||||
"icon-size": 80,
|
||||
"contents": [
|
||||
{ "x": 438, "y": 344, "type": "link", "path": "/Applications" },
|
||||
{ "x": 192, "y": 344, "type": "file" }
|
||||
]
|
||||
},
|
||||
"win" : {
|
||||
"title" : "Node-RED installer",
|
||||
"icon" : "nodered.ico"
|
||||
}
|
||||
}
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 34 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.3 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.3 KiB |
14
package.json
14
package.json
|
@ -8,14 +8,16 @@
|
|||
"test": "echo \" Warning: no test specified \"",
|
||||
|
||||
"clean": "rm -rf ./dist ",
|
||||
"clean: osx": "rm -rf ./dist/osx",
|
||||
"clean: win": "rm -rf ./dist/win",
|
||||
|
||||
"pack": "npm run pack : osx",
|
||||
"pack: osx": "npm run clean:. osx && electron-packager electron-node-red Node-RED --out = dist/osx --icon=nodered.icns --platform=darwin --arch=x64 ",
|
||||
"pack": "npm run pack:osx",
|
||||
"pack:osx": "npm run clean && electron-packager . Node-RED --icon=nodered.icns --platform=darwin --arch=x64 --out=dist",
|
||||
"pack:win": "npm run clean && electron-packager . Node-RED --icon=nodered.icns --platform=win32 --arch=x64 --out=dist",
|
||||
|
||||
"build": "npm run build:osx",
|
||||
"build:osx": "npm run pack:osx && appdmg appdmg.json dist/Node-RED.dmg",
|
||||
"build:mac": "npm run pack:osx && electron-builder \"dist/Node-RED-darwin-x64\" --platform=osx --out=dist --config=builder.json",
|
||||
"build:win": "npm run pack:win && electron-builder \"dist/Node-RED-win32-x64\" --platform=win --out=dist --config=builder.json"
|
||||
|
||||
"build": "npm run build : osx",
|
||||
"build: osx": "npm run pack: osx && appdmg appdmg.json dist/NodeRED.dmg"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Ładowanie…
Reference in New Issue