From 56359c1b41594ca2b68a9886d2985fca4df99854 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 5 Apr 2020 18:32:21 +0800 Subject: [PATCH] update links --- no.mifi.losslesscut.appdata.xml | 2 +- package.json | 2 +- public/constants.js | 4 +++- src/HelpSheet.jsx | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/no.mifi.losslesscut.appdata.xml b/no.mifi.losslesscut.appdata.xml index 841eb35d..e81382a1 100644 --- a/no.mifi.losslesscut.appdata.xml +++ b/no.mifi.losslesscut.appdata.xml @@ -14,7 +14,7 @@ https://raw.githubusercontent.com/mifi/lossless-cut/master/main_screenshot.jpg - https://github.com/mifi/lossless-cut/ + https://mifi.no/losslesscut/ https://github.com/mifi/lossless-cut/issues https://paypal.me/mifino diff --git a/package.json b/package.json index 1345edf5..31205775 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "author": { "name": "Mikael Finstad", "email": "finstaden@gmail.com", - "url": "https://mifi.no" + "url": "https://mifi.no/losslesscut/" }, "repository": { "type": "git", diff --git a/public/constants.js b/public/constants.js index 760fc3f9..2913dc90 100644 --- a/public/constants.js +++ b/public/constants.js @@ -1,7 +1,9 @@ -const homepage = 'https://github.com/mifi/lossless-cut'; +const homepage = 'https://mifi.no/losslesscut/'; +const githubLink = 'https://github.com/mifi/lossless-cut/'; const releasesPage = 'https://github.com/mifi/lossless-cut/releases'; module.exports = { homepage, releasesPage, + githubLink, }; diff --git a/src/HelpSheet.jsx b/src/HelpSheet.jsx index e6b7ba1c..99c004df 100644 --- a/src/HelpSheet.jsx +++ b/src/HelpSheet.jsx @@ -10,7 +10,7 @@ import { primaryColor } from './colors'; const electron = window.require('electron'); const { clipboard } = electron; -const { homepage } = electron.remote.require('./constants'); +const { githubLink } = electron.remote.require('./constants'); const HelpSheet = memo(({ visible, onTogglePress, ffmpegCommandLog, @@ -30,7 +30,7 @@ const HelpSheet = memo(({

For usage help and issues, go to
- electron.shell.openExternal(homepage)}>{homepage} + electron.shell.openExternal(githubLink)}>{githubLink}

{t('Keyboard & mouse shortcuts')}

H {t('Show/hide this screen')}