mirror of
https://github.com/pierre42100/ARCHIVE-ComunicDesktop
synced 2024-11-21 11:59:20 +00:00
Add beta
This commit is contained in:
parent
079ec7561e
commit
e88551f962
@ -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);
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
27
v0.1.1/index.js
Normal file
27
v0.1.1/index.js
Normal file
@ -0,0 +1,27 @@
|
||||
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.loadURL('https://communiquons.org/');
|
||||
|
||||
mainWindow.on('closed', () =>{
|
||||
mainWindow = null;
|
||||
});
|
||||
}
|
||||
app.on('window-all-closed', () =>{
|
||||
if(process.platform !== 'darwin'){
|
||||
app.quit();
|
||||
}
|
||||
});
|
||||
|
||||
app.on('ready', createWindow);
|
BIN
v0.1.1beta/icon.png
Normal file
BIN
v0.1.1beta/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
28
v0.1.1beta/index.js
Normal file
28
v0.1.1beta/index.js
Normal 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
v0.1.1beta/package.json
Normal file
15
v0.1.1beta/package.json
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user