Skip to content

Commit

Permalink
Merge pull request #37 from GitStartHQ/change-protocol-to-see-if-it-f…
Browse files Browse the repository at this point in the history
…ixes-login-issues

change-protocol scheme-to-see-if-it-fixes-login-issues
  • Loading branch information
richardguerre authored Aug 23, 2021
2 parents 19e74fb + 9ebf8a7 commit f94473f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion electron/app/app-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class AppConstants {
: 10 * 1000 // 10 seconds
: 5 * 60 * 1000; // 5 minutes
IDLE_IN_SECONDS_TO_LOG: number = 60 * 1;
PROTOCOL_NAME: string = 'x-gitstart-devtime';
PROTOCOL_NAME: string = 'x-devtime';
}

export const appConstants = new AppConstants();
2 changes: 1 addition & 1 deletion electron/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ app.whenReady().then(() => {
);
});

// open-url event is triggered whenever opening a url with protocol PROTOCOL_NAME (e.g. type x-gitstart-devtime://test in your browser, it should open GitStart DevTime with a success notification). Preferred method of handling protocol URLs on Mac.
// open-url event is triggered whenever opening a url with protocol PROTOCOL_NAME (e.g. type x-devtime://test in your browser, it should open GitStart DevTime with a success notification). Preferred method of handling protocol URLs on Mac.
app.on('open-url', (_, rawUrl) => {
console.log("on.('open-url'):", rawUrl);
processProtocolUrl(rawUrl);
Expand Down
2 changes: 1 addition & 1 deletion electron/electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ publish:
protocols:
- name: GitStart DevTime
schemes:
- x-gitstart-devtime
- x-devtime

win:
target:
Expand Down

0 comments on commit f94473f

Please sign in to comment.