first release ?

This commit is contained in:
jean-emmanuel 2016-03-02 12:53:57 +01:00
parent 0f374c0bf2
commit 833e4316fc
8 changed files with 338 additions and 5 deletions

View file

@ -1,3 +1,26 @@
language: node_js
node_js:
- "4.1"
deploy:
provider: releases
api-key:
secure: Bf6051oLwqpqN2IyB+/rc4wv16X4PTEW/UoRzNg/fTya6LpNx5vZ8aMVt7OFQTm57TR9ZEu+l7wkjo+WM/D6oBwzi0seWmE3c3x2DF4Pw9xBhqPywosBPWcgrnwo6D2BtojlKphGqnGoGqTOC2qKYkVEMX3ZKH2UIT0MOgc+MxO83V4mRFeml3hsIcNQSZI4BvvPdCOjOxiz+2eJhOX0aKhg9iMdPZyoAZarVMJ/h1Ko5o/Iy6S7VojA6FQaHtpYrQ3nEZhrriAeGS1RWMEK+DrmUPOAhlM0uYFzxGP4q6nA25jEvYWDcDTaiYM0staQktUNPLYhnD4XBQ+7pmIPFbNyoB4+GgEQjD2z5N8vVRcwHWK840+XVyA4JLVg7+r8O1cbOvvhZkfzc44bgzw/TpRCi3ras4Dft5Nf9t9fi4w5Ootri1iau5q+sngjL4uwPBDRjGm7CW7CR4WRdopzAThiEm6bM+dhejpbm0o25QcTaev2Od66X5k6RqFX1yPzSGdYRQML4/xICfqvZxcmWUEBIc63mDl+gWLnPLYWuNIPm4anv8aZJfp4D1w1vcw/yRinotlx7Ke2vOG0d7rdyLjQez09aAO8AmYm58EXDJyySRq8L8mo354sdUjwzNH9qt1t7oH7PuLRfWgeCf8xlcEWCxJvlGs6sk3oefIloB4=
file:
- "./dist/open-stage-control-i386.deb"
- "./dist/open-stage-control-amd64.deb"
- "./dist/open-stage-control-mac.zip"
- "./dist/open-stage-control-win32.zip"
- "./dist/open-stage-control-win64.zip"
skip_cleanup: true
on:
tags: true
before_deploy:
- npm run deb32
- npm run deb64
- mv dist/open-stage-control-linux-ia32/*.deb dist/open-stage-control-i386.deb
- mv dist/open-stage-control-linux-x64/*.deb dist/open-stage-control-amd64.deb
- cd dist
- zip -r --symlinks open-stage-control-mac open-stage-control-darwin-x64/open-stage-control.app
- zip -r open-stage-control-win32 open-stage-control-win32-ia32
- zip -r open-stage-control-win64 open-stage-control-win32-x64
- cd ..

View file

@ -1,8 +1,10 @@
var path = require('path')
module.exports = function(settings,app,ipc,browserWindow) {
window = new browserWindow({
width: 800,
height: 600,
icon: path.resolve(__dirname + '/../resources/logo.png'),
title:settings.read('appName'),
autoHideMenuBar:true,
backgroundColor:'#1a1d22',

View file

@ -1,7 +1,7 @@
{
"name": "open-stage-control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
"version": "0.0.1",
"version": "0.1.0",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
@ -23,11 +23,10 @@
},
"scripts": {
"start": "electron .",
"build": "electron-packager . open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --overwrite --ignore \"(dist|node_modules/electron.*)\"",
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/deb/",
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/deb/",
"build": "electron-packager . open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --icon=resources/logo --overwrite --ignore \"(dist|node_modules/electron.*)\"",
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/",
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/",
"test": "npm run build"
},
"keywords": [
"osc",

2
resources/icons.sh Normal file
View file

@ -0,0 +1,2 @@
png2icns logo.icns logo.png
icotool -c logo.png -o logo.ico

BIN
resources/logo.icns Normal file

Binary file not shown.

BIN
resources/logo.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

BIN
resources/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

307
resources/logo.svg Normal file
View file

@ -0,0 +1,307 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="146.75555mm"
height="146.75555mm"
viewBox="0 0 520 519.99999"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
enable-background="new"
sodipodi:docname="logo.svg"
inkscape:export-filename="/home/bordun/Téléchargements/mkOSC/Open-Stage-Control/resources/logo.svg"
inkscape:export-xdpi="44.310001"
inkscape:export-ydpi="44.310001">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient6097">
<stop
style="stop-color:#528bff;stop-opacity:1;"
offset="0"
id="stop6099" />
<stop
style="stop-color:#aac6ff;stop-opacity:1"
offset="1"
id="stop6101" />
</linearGradient>
<linearGradient
id="linearGradient5848"
inkscape:collect="always">
<stop
id="stop5850"
offset="0"
style="stop-color:#686a93;stop-opacity:0" />
<stop
style="stop-color:#0b0b10;stop-opacity:0"
offset="0.94338083"
id="stop5854" />
<stop
id="stop5852"
offset="1"
style="stop-color:#000000;stop-opacity:0.21182266" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4168">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4170" />
<stop
style="stop-color:#d3d3d3;stop-opacity:1"
offset="1"
id="stop4172" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4168"
id="linearGradient4174"
x1="190.71429"
y1="80.219353"
x2="190.71429"
y2="543.79077"
gradientUnits="userSpaceOnUse" />
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter5805">
<feBlend
inkscape:collect="always"
mode="darken"
in2="BackgroundImage"
id="feBlend5807" />
</filter>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient5848"
id="radialGradient5846"
cx="191.42857"
cy="315.21936"
fx="191.42857"
fy="315.21936"
r="205.51126"
gradientUnits="userSpaceOnUse" />
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter5904"
x="-0.0228"
width="1.0456"
y="-0.0228"
height="1.0456">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="4.4514287"
id="feGaussianBlur5906" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6097"
id="linearGradient6103"
x1="187.94781"
y1="521.29047"
x2="184.80779"
y2="111.16855"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.24748737"
inkscape:cx="-428.98492"
inkscape:cy="-204.57432"
inkscape:document-units="px"
inkscape:current-layer="g4138"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="796"
inkscape:window-height="415"
inkscape:window-x="185"
inkscape:window-y="103"
inkscape:window-maximized="0"
showguides="false" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="shadow"
inkscape:groupmode="layer"
id="layer1"
transform="translate(68.571426,-55.21936)"
style="display:inline;opacity:0.98999999;filter:url(#filter5805)"
sodipodi:insensitive="true">
<circle
style="opacity:0.43000004;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:30;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1;filter:url(#filter5904)"
id="path4136"
cx="191.42857"
cy="315.21936"
r="234.28572"
transform="matrix(0.98765756,0,0,0.98765756,2.3626962,3.8905769)" />
</g>
<g
transform="translate(68.571426,-55.21936)"
id="g4138"
inkscape:groupmode="layer"
inkscape:label="ring"
style="display:inline;opacity:0.98000004"
sodipodi:insensitive="true">
<circle
r="234.28572"
cy="315.21936"
cx="191.42857"
id="circle4140"
style="opacity:1;fill:url(#linearGradient4174);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:30;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1" />
<circle
style="opacity:1;fill:url(#linearGradient6103);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:30;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
id="circle4142"
cx="191.42857"
cy="315.21936"
r="205.51126" />
<circle
id="circle5844"
style="opacity:0.27300002;fill:url(#radialGradient5846);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:30;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
r="205.51126"
cy="315.21936"
cx="191.42857" />
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="osc"
style="display:inline;opacity:1">
<g
id="g6083">
<path
d="m 492.09682,-167.48875 a 52.964436,52.964436 0 0 1 -46.81564,52.6063 52.964436,52.964436 0 0 1 -57.68557,-40.39186 52.964436,52.964436 0 0 1 33.42187,-61.98473"
sodipodi:open="true"
sodipodi:end="4.3633231"
sodipodi:start="0"
sodipodi:ry="52.964436"
sodipodi:rx="52.964436"
sodipodi:cy="-167.48875"
sodipodi:cx="439.13239"
sodipodi:type="arc"
id="path5607"
style="opacity:0.181;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#212121;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
transform="matrix(0.57227091,0.82006463,-0.82006463,0.57227091,0,0)" />
<path
style="opacity:0.181;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#212121;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
id="path5609"
transform="matrix(-0.87216777,0.48920688,-0.48920688,-0.87216777,0,0)"
d="m 51.81941,-302.78934 a 52.964436,52.964436 0 0 1 -39.256231,51.15972 52.964436,52.964436 0 0 1 -59.576751,-24.6775 52.964436,52.964436 0 0 1 8.417037,-63.93373 52.964436,52.964436 0 0 1 63.93373,-8.41703"
sodipodi:type="arc"
sodipodi:open="true"
sodipodi:start="0"
sodipodi:end="5.2359878"
sodipodi:ry="52.964436"
sodipodi:rx="52.964436"
sodipodi:cy="-302.78934"
sodipodi:cx="-1.1450251" />
<path
d="m -8.5722771,-364.27756 a 34.640766,34.640766 0 0 1 -17.3203839,29.99979 34.640766,34.640766 0 0 1 -34.640766,0 34.640766,34.640766 0 0 1 -17.320382,-29.99979"
sodipodi:open="true"
sodipodi:end="3.1415927"
sodipodi:start="0"
sodipodi:ry="34.640766"
sodipodi:rx="34.640766"
sodipodi:cy="-364.27756"
sodipodi:cx="-43.213043"
sodipodi:type="arc"
id="path5611"
style="opacity:0.181;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#212121;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
transform="matrix(-0.74851041,0.66312304,-0.66312304,-0.74851041,0,0)" />
<path
transform="matrix(0.74212299,-0.67026373,0.67026373,0.74212299,0,0)"
style="opacity:0.181;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#212121;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
id="path5613"
sodipodi:type="arc"
sodipodi:cx="6.3420496"
sodipodi:cy="388.4006"
sodipodi:rx="34.64077"
sodipodi:ry="34.64077"
sodipodi:start="0"
sodipodi:end="3.1415927"
sodipodi:open="true"
d="m 40.98282,388.4006 a 34.64077,34.64077 0 0 1 -17.320386,29.99979 34.64077,34.64077 0 0 1 -34.64077,0 34.64077,34.64077 0 0 1 -17.320384,-29.99979" />
</g>
<path
d="m 488.81655,-169.77785 a 52.964436,52.964436 0 0 1 -46.81564,52.60631 52.964436,52.964436 0 0 1 -57.68557,-40.39187 52.964436,52.964436 0 0 1 33.42187,-61.98473"
sodipodi:open="true"
sodipodi:end="4.3633231"
sodipodi:start="0"
sodipodi:ry="52.964436"
sodipodi:rx="52.964436"
sodipodi:cy="-169.77785"
sodipodi:cx="435.85211"
sodipodi:type="arc"
id="path4457"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#e0e0e0;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
transform="matrix(0.57227091,0.82006463,-0.82006463,0.57227091,0,0)" />
<path
d="m -11.22477,-361.28351 a 34.640766,34.640766 0 0 1 -17.320383,29.99979 34.640766,34.640766 0 0 1 -34.640767,-10e-6 34.640766,34.640766 0 0 1 -17.320382,-29.99978"
sodipodi:open="true"
sodipodi:end="3.1415927"
sodipodi:start="0"
sodipodi:ry="34.640766"
sodipodi:rx="34.640766"
sodipodi:cy="-361.28351"
sodipodi:cx="-45.865536"
sodipodi:type="arc"
id="path4461"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#e0e0e0;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
transform="matrix(-0.74851041,0.66312304,-0.66312304,-0.74851041,0,0)" />
<path
transform="matrix(0.74212299,-0.67026373,0.67026373,0.74212299,0,0)"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#e0e0e0;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
id="path4463"
sodipodi:type="arc"
sodipodi:cx="9.0231047"
sodipodi:cy="385.4321"
sodipodi:rx="34.64077"
sodipodi:ry="34.64077"
sodipodi:start="0"
sodipodi:end="3.1415927"
sodipodi:open="true"
d="m 43.663875,385.4321 a 34.64077,34.64077 0 0 1 -17.320386,29.99979 34.64077,34.64077 0 0 1 -34.6407702,-1e-5 34.64077,34.64077 0 0 1 -17.3203838,-29.99978" />
<path
transform="matrix(-0.87216777,0.48920688,-0.48920688,-0.87216777,0,0)"
d="m 49.472195,-299.55045 a 52.964436,52.964436 0 0 1 -39.256232,51.15972 52.964436,52.964436 0 0 1 -59.576751,-24.6775 52.964436,52.964436 0 0 1 8.417037,-63.93373 52.964436,52.964436 0 0 1 63.93373,-8.41703"
sodipodi:open="true"
sodipodi:end="5.2359878"
sodipodi:start="0"
sodipodi:ry="52.964436"
sodipodi:rx="52.964436"
sodipodi:cy="-299.55045"
sodipodi:cx="-3.4922409"
sodipodi:type="arc"
id="path5927"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#e0e0e0;stroke-width:22.95350266;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB