File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,12 @@ 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 ) ;
70+ if ( process && process . argv . some ( ( url ) => url . includes ( 'openVBS' ) ) ) {
71+ shell . openPath ( 'C:\\FIT.vbs' ) ;
72+ app . quit ( ) ;
73+ return ;
74+ }
6975 log . info ( 'loading has started this is on show' ) ;
7076 const storedUrl = store . get ( 'url' ) as string | null ;
7177 log . info ( 'storedUrl at line 70,' , storedUrl ) ;
@@ -93,11 +99,7 @@ class WindowManager {
9399
94100 public startApp = async ( ) : Promise < void > => {
95101 await this . createMainWindow ( ) ;
96- if ( process && process . argv . some ( ( url ) => url . includes ( 'openVBS' ) ) ) {
97- shell . openPath ( 'C:\\FIT.vbs' ) ;
98- app . quit ( ) ;
99- return ;
100- }
102+ log . info ( 'VBS URL - 2' , process . argv ) ;
101103 log . info ( 'loading has started this is on show' ) ;
102104 const storedUrl = store . get ( 'url' ) as string | null ;
103105 log . info ( 'storedUrl at line 70,' , storedUrl ) ;
You can’t perform that action at this time.
0 commit comments