diff --git a/src/main/menu/menus/help.ts b/src/main/menu/menus/help.ts index c562af6..52f8045 100644 --- a/src/main/menu/menus/help.ts +++ b/src/main/menu/menus/help.ts @@ -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); - }, - }, ], }; }