Skip to content

The swiss army knife of lossless video/audio editing

update urls

Mikael Finstad260107c27a43
diff --git a/src/common/constants.ts b/src/common/constants.ts
index 5a8edc62..6964eb20 100644
--- a/src/common/constants.ts
+++ b/src/common/constants.ts
@@ -4,13 +4,14 @@ export const getReleaseUrl = (version: string) => `https://github.com/mifi/lossl
export const compareReleasesUrl = (fromVersion: string, toVersion: string) => `https://github.com/mifi/lossless-cut/compare/v${fromVersion}...v${toVersion}`;
export const licensesUrl = 'https://losslesscut.mifi.no/licenses.txt';
export const thanksUrl = 'https://mifi.no/thanks';
-export const issuesUrl = 'https://github.com/mifi/lossless-cut/issues';
-export const discussionsUrl = 'https://github.com/mifi/lossless-cut/discussions';
+export const discussionsUrl = 'https://mifi.no/losslesscut/discussions';
export const usageUrl = 'https://mifi.no/losslesscut/usage';
export const faqUrl = 'https://mifi.no/losslesscut/faq';
+export const featureRequestUrl = 'https://mifi.no/losslesscut/feature-request';
+export const publicBugReportUrl = 'https://mifi.no/losslesscut/bug-report';
export const troubleshootingUrl = 'https://mifi.no/losslesscut/troubleshooting';
// Note: https://github.com/mifi/lossless-cut/blob/master/docs/file-name-template.md used to be https://github.com/mifi/lossless-cut/blob/master/docs.md#custom-exported-file-names
-export const exportedFileNameTemplateHelpUrl = 'https://github.com/mifi/lossless-cut/blob/master/docs/file-name-template.md';
-export const selectSegmentByExpressionHelpUrl = 'https://github.com/mifi/lossless-cut/blob/master/docs/expressions.md#select-segments-by-expression';
-export const editSegmentByExpressionHelpUrl = 'https://github.com/mifi/lossless-cut/blob/master/docs/expressions.md#edit-segments-by-expression';
+export const exportedFileNameTemplateHelpUrl = 'https://mifi.no/losslesscut/file-name-template';
+export const selectSegmentByExpressionHelpUrl = 'https://mifi.no/losslesscut/select-segments-by-expression';
+export const editSegmentByExpressionHelpUrl = 'https://mifi.no/losslesscut/edit-segments-by-expression';
export const supportEmail = '[email protected]';
diff --git a/src/main/menu.ts b/src/main/menu.ts
index 2c1b0563..ee59e1b3 100644
--- a/src/main/menu.ts
+++ b/src/main/menu.ts
@@ -2,7 +2,7 @@
import electron, { BrowserWindow, MenuItem, MenuItemConstructorOptions } from 'electron';
import { t } from 'i18next';
-import { homepageUrl, getReleaseUrl, licensesUrl, thanksUrl, issuesUrl, usageUrl, faqUrl, troubleshootingUrl } from '../common/constants.js';
+import { homepageUrl, getReleaseUrl, licensesUrl, thanksUrl, usageUrl, faqUrl, troubleshootingUrl, featureRequestUrl } from '../common/constants.js';
import { logFilePath } from './logger.js';
import { getConfigPath } from './configStore.js';
@@ -464,7 +464,7 @@ export default ({ app, mainWindow, newVersion, isStoreBuild }: {
},
{
label: esc(t('Feature request')),
- click() { electron.shell.openExternal(issuesUrl); },
+ click() { electron.shell.openExternal(featureRequestUrl); },
},
...(!isStoreBuild ? [{
label: esc(`${t('Donate')} ❤️`),
diff --git a/src/renderer/src/reporting.tsx b/src/renderer/src/reporting.tsx
index 0e819a14..50601e27 100644
--- a/src/renderer/src/reporting.tsx
+++ b/src/renderer/src/reporting.tsx
@@ -4,7 +4,7 @@ import { Trans } from 'react-i18next';
import CopyClipboardButton from './components/CopyClipboardButton';
import { isStoreBuild, isMasBuild, isWindowsStoreBuild, isExecaError, appVersion, appPath } from './util';
import getSwal from './swal';
-import { discussionsUrl, githubUrl, issuesUrl, supportEmail } from '../../common/constants';
+import { discussionsUrl, githubUrl, publicBugReportUrl, supportEmail } from '../../common/constants';
const electron = window.require('electron');
@@ -29,7 +29,7 @@ export function openSendReportDialog({ err, message, state }: {
If you&apos;re having a problem or question about LosslessCut, please first check the links in the <b>Help</b> menu. If you cannot find any resolution, you may ask a question in <span className="link-button" role="button" onClick={() => electron.shell.openExternal(discussionsUrl)}>GitHub discussions</span> or on <span className="link-button" role="button" onClick={() => electron.shell.openExternal(githubUrl)}>Discord.</span>
</p>
<p>
- If you believe that you found a bug in LosslessCut, you may <span className="link-button" role="button" onClick={() => electron.shell.openExternal(issuesUrl)}>report a bug</span>.
+ If you believe that you found a bug in LosslessCut, you may <span className="link-button" role="button" onClick={() => electron.shell.openExternal(publicBugReportUrl)}>report a bug</span>.
</p>
</Trans>
);