chore: add inner desktop as workspace so version gets bumped automatically
This commit is contained in:
@@ -238,8 +238,9 @@ const Urls = {
|
||||
Website: 'https://standardnotes.com',
|
||||
GitHub: 'https://github.com/standardnotes',
|
||||
Slack: 'https://standardnotes.com/slack',
|
||||
Discord: 'https://standardnotes.com/discord',
|
||||
Twitter: 'https://twitter.com/StandardNotes',
|
||||
GitHubReleases: 'https://github.com/standardnotes/desktop/releases',
|
||||
GitHubReleases: 'https://github.com/standardnotes/app/releases',
|
||||
}
|
||||
|
||||
function macAppMenu(appName: string): MenuItemConstructorOptions {
|
||||
@@ -596,6 +597,12 @@ function helpMenu(window: Electron.BrowserWindow, shell: Electron.Shell) {
|
||||
void shell.openExternal(Urls.GitHub)
|
||||
},
|
||||
},
|
||||
{
|
||||
label: str().discord,
|
||||
click() {
|
||||
void shell.openExternal(Urls.Discord)
|
||||
},
|
||||
},
|
||||
{
|
||||
label: str().slack,
|
||||
click() {
|
||||
|
||||
@@ -18,6 +18,7 @@ export function createEnglishStrings(): Strings {
|
||||
emailSupport: 'Email Support',
|
||||
website: 'Website',
|
||||
gitHub: 'GitHub',
|
||||
discord: 'Discord',
|
||||
slack: 'Slack',
|
||||
twitter: 'Twitter',
|
||||
toggleErrorConsole: 'Toggle Error Console',
|
||||
|
||||
@@ -23,6 +23,7 @@ interface AppMenuStrings {
|
||||
emailSupport: string
|
||||
website: string
|
||||
gitHub: string
|
||||
discord: string
|
||||
slack: string
|
||||
twitter: string
|
||||
toggleErrorConsole: string
|
||||
|
||||
@@ -144,7 +144,7 @@ export function setupUpdates(window: BrowserWindow, appState: AppState, backupsM
|
||||
}
|
||||
|
||||
export function openChangelog(state: UpdateState): void {
|
||||
const url = 'https://github.com/standardnotes/desktop/releases'
|
||||
const url = 'https://github.com/standardnotes/app/releases'
|
||||
if (state.latestVersion) {
|
||||
void shell.openExternal(`${url}/tag/v${state.latestVersion}`)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user