Ajout de la bêta

This commit is contained in:
ertherod 2018-05-08 19:13:22 +02:00
parent 079ec7561e
commit acdaf9cc29
6 changed files with 0 additions and 39 deletions

View File

@ -1,7 +0,0 @@
Vous devez avoir installer node.js sur votre ordinateur.
Il faut executer la commande :
npm i --save electron
dans un terminal pour pouvoir l'utiliser,
puis ouvrir un terminal ou une console dans le dossier et taper:
electron index.js

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,17 +0,0 @@
const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
let mainWindow
function createWindow() {
mainWindow = new BrowserWindow({icon:'resources/app/icon.png'});
mainWindow.setIco
mainWindow.loadURL('http://communiquons.org');
mainWindow.on('closed', () =>{
mainWindow = null;
});
}
app.on('ready', createWindow);

View File

@ -1,15 +0,0 @@
{
"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"
}
}

Binary file not shown.

Binary file not shown.