Skip to content

Commit df6a095

Browse files
authored
Merge pull request #146 from Accedia/develop
Develop
2 parents 4fd43bc + 73c5478 commit df6a095

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

electron-app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

electron-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fit-mitchell-rpa",
33
"appname": "REV Import Technology",
44
"productName": "REV Import Technology",
5-
"version": "1.5.85",
5+
"version": "1.5.86",
66
"homepage": "./",
77
"main": "./dist/main.js",
88
"description": "Automation for CCC by FIT",

electron-app/src/utils/window_manager.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)