mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 05:08:41 -09:00
More updates
This commit is contained in:
parent
cc554a4b39
commit
cf85d6d185
3 changed files with 4 additions and 4 deletions
|
|
@ -61,11 +61,11 @@ ${JSON.stringify(getPlugins(), null, 2)}
|
||||||
\`\`\`
|
\`\`\`
|
||||||
</details>`;
|
</details>`;
|
||||||
|
|
||||||
const issueURL = `https://github.com/vercel/hyper/issues/new?body=${encodeURIComponent(body)}`;
|
const issueURL = `https://github.com/quine-global/hyper/issues/new?body=${encodeURIComponent(body)}`;
|
||||||
const copyAndSend = () => {
|
const copyAndSend = () => {
|
||||||
clipboard.writeText(body);
|
clipboard.writeText(body);
|
||||||
void shell.openExternal(
|
void shell.openExternal(
|
||||||
`https://github.com/vercel/hyper/issues/new?body=${encodeURIComponent(
|
`https://github.com/quine-global/hyper/issues/new?body=${encodeURIComponent(
|
||||||
'<!-- We have written the needed data into your clipboard because it was too large to send. ' +
|
'<!-- We have written the needed data into your clipboard because it was too large to send. ' +
|
||||||
'Please paste. -->\n'
|
'Please paste. -->\n'
|
||||||
)}`
|
)}`
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ const updater = (win: BrowserWindow) => {
|
||||||
const {rpc} = win;
|
const {rpc} = win;
|
||||||
|
|
||||||
const onupdate = (ev: Event, releaseNotes: string, releaseName: string, date: Date, updateUrl: string) => {
|
const onupdate = (ev: Event, releaseNotes: string, releaseName: string, date: Date, updateUrl: string) => {
|
||||||
const releaseUrl = updateUrl || `https://github.com/vercel/hyper/releases/tag/${releaseName}`;
|
const releaseUrl = updateUrl || `https://github.com/quine-global/hyper/releases/tag/${releaseName}`;
|
||||||
rpc.emit('update available', {releaseNotes, releaseName, releaseUrl, canInstall: !isLinux});
|
rpc.emit('update available', {releaseNotes, releaseName, releaseUrl, canInstall: !isLinux});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ const Notifications = forwardRef<HTMLDivElement, NotificationsProps>((props, ref
|
||||||
void window.require('electron').shell.openExternal(ev.currentTarget.href);
|
void window.require('electron').shell.openExternal(ev.currentTarget.href);
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
}}
|
}}
|
||||||
href={`https://github.com/vercel/hyper/releases/tag/${props.updateVersion}`}
|
href={`https://github.com/quine-global/hyper/releases/tag/${props.updateVersion}`}
|
||||||
>
|
>
|
||||||
notes
|
notes
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue