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:
parent
5047441c23
commit
ea0166d924
18 changed files with 57 additions and 447 deletions
|
@ -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();
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue