mirror of
https://github.com/pierre42100/ARCHIVE-ComunicDesktop
synced 2024-11-21 19:59:24 +00:00
ajout de la version 0.1.0
Première version de Comunic desktop
This commit is contained in:
commit
4e8f7b234e
7
README.md
Normal file
7
README.md
Normal file
@ -0,0 +1,7 @@
|
||||
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
|
BIN
v0.1.0/icon.png
Normal file
BIN
v0.1.0/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
17
v0.1.0/index.js
Normal file
17
v0.1.0/index.js
Normal file
@ -0,0 +1,17 @@
|
||||
const electron = require('electron');
|
||||
const app = electron.app;
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
|
||||
let mainWindow
|
||||
|
||||
function createWindow() {
|
||||
mainWindow = new BrowserWindow({icon:'icon.png'});
|
||||
mainWindow.setIco
|
||||
mainWindow.loadURL('http://beta.communiquons.org/login');
|
||||
|
||||
mainWindow.on('closed', () =>{
|
||||
mainWindow = null;
|
||||
});
|
||||
}
|
||||
|
||||
app.on('ready', createWindow);
|
14
v0.1.0/package.json
Normal file
14
v0.1.0/package.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"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": {
|
||||
"electron": "^2.0.0"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user