Skip to content

Commit 679f2ef

Browse files
committed
feat: encrypt token on disk using safe storage api
Signed-off-by: Adam Setch <[email protected]>
1 parent 1804bb0 commit 679f2ef

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"protocols": [
8484
{
8585
"name": "Gitify",
86-
"schemes": ["gitify", "gitify-dev"]
86+
"schemes": ["gitify"]
8787
}
8888
],
8989
"mac": {

src/main/main.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ const menuBuilder = new MenuBuilder(mb);
3838
const contextMenu = menuBuilder.buildMenu();
3939

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

4543
if (isMacOS() || isWindows()) {
4644
/**

0 commit comments

Comments
 (0)