Add version 0.1.1b

This commit is contained in:
Pierre HUBERT 2018-09-24 20:47:41 +02:00
parent 699fe8599a
commit 01ced676a6
3 changed files with 43 additions and 0 deletions

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

28
index.js Normal file
View File

@ -0,0 +1,28 @@
const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
let mainWindow
function createWindow() {
mainWindow = new BrowserWindow({
icon:'resources/app/icon.png',
webPreferences: {
nodeIntegration: false,
preload: './preload.js'
}
});
mainWindow.setIco
mainWindow.loadURL('https://beta.communiquons.org/');
mainWindow.on('closed', () =>{
mainWindow = null;
});
}
app.on('window-all-closed', () =>{
if(process.platform !== 'darwin'){
app.quit();
}
});
app.on('ready', createWindow);

15
package.json Normal file
View File

@ -0,0 +1,15 @@
{
"name": "communic-desktop",
"version": "0.1.0",
"description": "A client-desktop for communiquons.org",
"main": "index.js",
"scripts": {
"test": "electron ."
},
"author": "Team dev communic",
"license": "GPL-3.0",
"dependencies": {},
"devDependencies": {
"electron": "^2.0.0"
}
}