Skip to content

Commit

Permalink
New functionality(file selection on + logo)
Browse files Browse the repository at this point in the history
  • Loading branch information
LAPTOP-MS3A4HDC\Asim khan committed Nov 3, 2021
1 parent 9fb900c commit 025a252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ function createWindow() {
}, 2000);
}

ipcMain.on("open-menu", (event, arg) => {
openFile();
});

app.on("ready", async () => {
const t = await i18next.use(Backend).init(i18nextOptions);
createWindow();
Expand Down
1 change: 1 addition & 0 deletions src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export default {
});
tab.value = key;
electron.ipcRenderer.send('open-menu');
};
const handleRemove = () => {
Expand Down

0 comments on commit 025a252

Please sign in to comment.