Skip to content

Commit 737ea57

Browse files
Merge pull request #154 from Accedia/feat/magic-button-support-logic
changed locations for mitchel connect
2 parents 1c420dc + ed1ed27 commit 737ea57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

electron-app/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Main {
6060
app.on('second-instance', async (e, argv) => {
6161
const url = getCustomProtocolUrl(argv);
6262
if (argv.some((url) => url.includes('openVBS'))) {
63-
shell.openPath('C:\\FIT.vbs');
63+
shell.openPath('C:\\FIT-Mitchell-Cloud-RO-Import-Tool\\FIT.bat');
6464
app.quit();
6565
return;
6666
}

electron-app/src/utils/window_manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ class WindowManager {
6666
this.loadingWindow = new BrowserWindow(WINDOW_CONFIG.loading);
6767
this.loadLoadingWindowContent();
6868
this.loadingWindow.once('show', async () => {
69-
log.info('VBS URL', process.argv);
69+
console.log('VBS URL', process.argv);
7070
if (process && process.argv.some((url) => url.includes('openVBS'))) {
71-
shell.openPath('C:\\FIT.vbs');
71+
shell.openPath('C:\\FIT-Mitchell-Cloud-RO-Import-Tool\\FIT.bat');
7272
app.quit();
7373
return;
7474
}

0 commit comments

Comments
 (0)