File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,15 @@ class WindowManager {
9595
9696 public startApp = async ( ) : Promise < void > => {
9797 await this . createMainWindow ( ) ;
98+ log . info ( 'loading has started this is on show' ) ;
9899 const storedUrl = store . get ( 'url' ) as string | null ;
99- const newStoredUrl = storedUrl . replace ( 'https//' , 'https://' ) ;
100- const url = storedUrl ? newStoredUrl : getCustomProtocolUrl ( process . argv ) ;
100+ log . info ( 'storedUrl at line 70,' , storedUrl ) ;
101+
102+ const newStoredUrl = storedUrl ?. replace ( 'https//' , 'https://' ) ?? null ;
103+ log . info ( 'new' , newStoredUrl ) ;
104+
105+ const url = newStoredUrl || getCustomProtocolUrl ( process . argv ) ;
106+ log . info ( 'The url at line 71 in the startLoading' , url ) ;
101107 if ( process . platform !== 'darwin' ) {
102108 if ( url ) {
103109 /**
You can’t perform that action at this time.
0 commit comments