1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

working pipe

This commit is contained in:
Razor 2019-09-18 19:45:06 +03:00
parent 5047441c23
commit ea0166d924
18 changed files with 57 additions and 447 deletions

View file

@ -4,7 +4,7 @@ global.atob = require('atob');
const electron = require('electron');
const { app, BrowserWindow, ipcMain } = require('electron');
const spawn = require('child_process').spawn;
const Pipe = require('./electron/addon');
const Pipe = require('./electron/pipe');
function createWindow () {
const { width, height } = electron.screen.getPrimaryDisplay().workAreaSize;
@ -44,7 +44,6 @@ function createWindow () {
});
ipcMain.on('appClose', () => {
Pipe.stop();
app.quit();
});
};