chore: add inner desktop as workspace so version gets bumped automatically

This commit is contained in:
Mo
2022-06-15 20:55:05 -05:00
parent 05c56a5235
commit 6758c82b99
11 changed files with 28 additions and 30 deletions

View File

@@ -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() {

View File

@@ -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',

View File

@@ -23,6 +23,7 @@ interface AppMenuStrings {
emailSupport: string
website: string
gitHub: string
discord: string
slack: string
twitter: string
toggleErrorConsole: string

View File

@@ -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 {