Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"build": {
"productName": "Gitify",
"appId": "com.electron.gitify",
"copyright": "Copyright © 2024 Gitify Team",
"copyright": "Copyright © 2025 Gitify Team",
"asar": true,
"files": [
"assets/images/*",
Expand All @@ -83,7 +83,7 @@
"protocols": [
{
"name": "Gitify",
"schemes": ["gitify"]
"schemes": ["gitify", "gitify-dev"]
}
],
"mac": {
Expand Down
4 changes: 3 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ const menuBuilder = new MenuBuilder(mb);
const contextMenu = menuBuilder.buildMenu();

// Register your app as the handler for a custom protocol
app.setAsDefaultProtocolClient('gitify');
const protocol =
process.env.NODE_ENV === 'development' ? 'gitify-dev' : 'gitify';
app.setAsDefaultProtocolClient(protocol);

if (isMacOS() || isWindows()) {
/**
Expand Down