Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nbonamy committed Dec 23, 2024
1 parent 7bed5de commit b5a9244
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 811 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,3 @@ dist/

# office parser
officeParserTemp

# google drive settings
gdrive.json
6 changes: 0 additions & 6 deletions defaults/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,5 @@
"enabled": true
},
"nestor": {}
},
"dropbox": {
},
"gdrive": {
"tokens": null,
"fileIds": {}
}
}
1 change: 0 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ const config: ForgeConfig = {
'assets/[email protected]',
'assets/bulbUpdateWhite.png',
'assets/[email protected]',
//...(fs.existsSync('./gdrive.json') ? ['gdrive.json'] : []),
],
...osxPackagerConfig,
afterCopy: [
Expand Down
17 changes: 0 additions & 17 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import DocumentRepository from './rag/docrepo';
import Embedder from './rag/embedder';
import Nestor from './main/nestor';
import Computer from './main/computer';
//import OnlineStorage from './main/online';
import TrayIconManager from './main/tray';

import * as config from './main/config';
Expand All @@ -38,7 +37,6 @@ import Automator, { AutomationAction } from 'automations/automator';

let commander: Commander = null
let docRepo: DocumentRepository = null
//let onlineStorage: OnlineStorage = null
let nestor: Nestor = null

// first-thing: single instance
Expand Down Expand Up @@ -78,10 +76,6 @@ if (!process.mas) {
nestor = new Nestor();
}

// start online storage
// onlineStorage = new OnlineStorage(app);
// onlineStorage.initialize();

// this is going to be called later
const registerShortcuts = () => {
shortcuts.registerShortcuts(app, {
Expand Down Expand Up @@ -622,14 +616,3 @@ ipcMain.on('computer-get-screenshot', async (event) => {
ipcMain.on('computer-execute-action', async (event, payload) => {
event.returnValue = await Computer.executeAction(payload);
});

// ipcMain.on('dropbox-get-authentication-url', async (event, payload) => {
// const dropbox = new Dropbox(app, '', '')
// event.returnValue = await dropbox.getOAuthUrl()
// })

// ipcMain.on('dropbox-authenticate-with-code', async (event, payload) => {
// const dropbox = new Dropbox(app, '', '')
// const accessToken = await dropbox.getAccessTokenFromCode(payload)
// event.returnValue = (accessToken != null)
// })
256 changes: 0 additions & 256 deletions src/main/dropbox.ts

This file was deleted.

Loading

0 comments on commit b5a9244

Please sign in to comment.