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

auth flow

This commit is contained in:
Razor 2019-09-13 12:54:36 +03:00
parent c3100bda49
commit 65923da275
29 changed files with 613 additions and 198 deletions

View file

@ -28,10 +28,13 @@ function createWindow () {
win.loadURL('http://localhost:8080');
ipcMain.on('appLoaded', () => {
pipe = Pipe.start();
pipe.read((event) => {
console.log('appLoaded');
pipe = new Pipe((event) => {
console.log('EVENT', event);
win.webContents.send('pipeEvent', event);
});
pipe.start();
});
ipcMain.on('pipeCmd', (e, data) => {