1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00

update links

This commit is contained in:
Mikael Finstad 2020-04-05 18:32:21 +08:00
parent c9d3d03a56
commit 56359c1b41
4 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,7 @@
<image>https://raw.githubusercontent.com/mifi/lossless-cut/master/main_screenshot.jpg</image>
</screenshot>
</screenshots>
<url type="homepage">https://github.com/mifi/lossless-cut/</url>
<url type="homepage">https://mifi.no/losslesscut/</url>
<url type="bugtracker">https://github.com/mifi/lossless-cut/issues</url>
<url type="donation">https://paypal.me/mifino</url>
<releases>

View File

@ -25,7 +25,7 @@
"author": {
"name": "Mikael Finstad",
"email": "finstaden@gmail.com",
"url": "https://mifi.no"
"url": "https://mifi.no/losslesscut/"
},
"repository": {
"type": "git",

View File

@ -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,
};

View File

@ -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(({
<p style={{ fontWeight: 'bold' }}>
For usage help and issues, go to<br />
<span style={{ color: primaryColor, cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal(homepage)}>{homepage}</span>
<span style={{ color: primaryColor, cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal(githubLink)}>{githubLink}</span>
</p>
<h1>{t('Keyboard & mouse shortcuts')}</h1>
<div><kbd>H</kbd> {t('Show/hide this screen')}</div>