Skip to content

Commit

Permalink
Removed links tied to original author
Browse files Browse the repository at this point in the history
  • Loading branch information
cipherdragon committed Sep 25, 2021
1 parent a1b0456 commit d3bca8a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/main/menu/menus/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,19 @@ import { MenuItemConstructorOptions, shell } from "electron";

import { translate } from "../../i18n/i18n";

const URL_LICENSE = "https://github.com/samuelmeuli/mini-diary/blob/master/LICENSE.md";
const URL_PRIVACY_POLICY = "https://github.com/samuelmeuli/mini-diary/blob/master/PRIVACY.md";
const URL_WEBSITE = "https://minidiary.app";
const URL_LICENSE = "https://github.com/cipherdragon/zombie-diary/blob/master/LICENSE.md"

export default function getHelpMenu(): MenuItemConstructorOptions {
return {
label: translate("help"),
role: "help",
submenu: [
{
label: translate("website"),
click(): void {
shell.openExternal(URL_WEBSITE);
},
},
{ type: "separator" },
{
label: translate("license"),
click(): void {
shell.openExternal(URL_LICENSE);
},
},
{
label: translate("privacy-policy"),
click(): void {
shell.openExternal(URL_PRIVACY_POLICY);
},
},
],
};
}

0 comments on commit d3bca8a

Please sign in to comment.