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:
parent
c3100bda49
commit
65923da275
29 changed files with 613 additions and 198 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue