let's try again

pull/8/head
Dave Conway-Jones 2016-05-06 17:07:03 +01:00
rodzic 8ffdabbbf1
commit 85809aed61
5 zmienionych plików z 25 dodań i 7 usunięć

Wyświetl plik

@ -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" }
]
}

16
builder.json 100644
Wyświetl plik

@ -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"
}
}

BIN
nodered.ico 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 34 KiB

0
nodered.png 100755 → 100644
Wyświetl plik

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 1.3 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 1.3 KiB

Wyświetl plik

@ -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",