update in-app links to point to waveterm.dev

This commit is contained in:
sawka 2023-11-09 21:49:06 -08:00
parent 089553fce2
commit 4076c58b53
4 changed files with 15 additions and 13 deletions

View File

@ -23,14 +23,14 @@ Wave isn't just another terminal emulator; it's a rethink on how terminals are b
Wave Terminal works with MacOS and Linux (preliminary).
Install Wave Terminal from: [www.commandline.dev/download](https://www.commandline.dev/download)
Install Wave Terminal from: [www.waveterm.dev/download](https://www.waveterm.dev/download)
## Links
* Homepage — https://commandline.dev
* Download Page — https://commandline.dev/download
* Quick Start Guide — https://docs.getprompt.dev/quickstart/
* Documentation — https://docs.getprompt.dev/
* Homepage — https://www.waveterm.dev
* Download Page — https://www.waveterm.dev/download
* Documentation — https://docs.waveterm.dev/
* Quick Start Guide — https://docs.waveterm.dev/quickstart/
* Discord Community — https://discord.gg/XfvZ334gwU
## Building from Source

View File

@ -30,6 +30,8 @@ dayjs.extend(localizedFormat);
// @ts-ignore
const VERSION = __WAVETERM_VERSION__;
// @ts-ignore
let BUILD = __WAVETERM_BUILD__;
type OV<V> = mobx.IObservableValue<V>;
@ -375,7 +377,7 @@ class AboutModal extends React.Component<{}, {}> {
// TODO no up-to-date status reporting
return (
<div className="status updated">
<div className="text-selectable">Client Version v0.4.0 20231016-110014</div>
<div className="text-selectable">Client Version {VERSION} ({BUILD})</div>
</div>
);
@ -386,7 +388,7 @@ class AboutModal extends React.Component<{}, {}> {
<i className="fa-sharp fa-solid fa-circle-check" />
<span>Up to Date</span>
</div>
<div className="selectable">Client Version v0.4.0 20231016-110014</div>
<div className="selectable">Client Version {VERSION} ({BUILD})</div>
</div>
);
}
@ -396,7 +398,7 @@ class AboutModal extends React.Component<{}, {}> {
<i className="fa-sharp fa-solid fa-triangle-exclamation" />
<span>Outdated Version</span>
</div>
<div className="selectable">Client Version v0.4.0 20231016-110014</div>
<div className="selectable">Client Version {VERSION} ({BUILD})</div>
<div>
<button onClick={this.updateApp} className="button color-green text-secondary">
Update
@ -425,7 +427,7 @@ class AboutModal extends React.Component<{}, {}> {
</div>
<div className="text-wrapper">
<div>Wave Terminal</div>
<div className="text-standard">Modern Terminal for Seamless Workflow</div>
<div className="text-standard">Modern Terminal for<br/>Seamless Workflow</div>
</div>
</section>
<section className="wave-modal-section about-section text-standard">
@ -442,7 +444,7 @@ class AboutModal extends React.Component<{}, {}> {
</a>
<a
className="wave-button wave-button-link color-standard"
href={util.makeExternLink("https://www.commandline.dev/")}
href={util.makeExternLink("https://www.waveterm.dev/")}
target="_blank"
>
<i className="fa-sharp fa-light fa-globe"></i>
@ -460,7 +462,7 @@ class AboutModal extends React.Component<{}, {}> {
</a>
</section>
<section className="wave-modal-section about-section text-standard">
Copyright © 2023 Command Line Inc.
&copy; 2023 Command Line Inc.
</section>
</div>
</div>

View File

@ -238,7 +238,7 @@ class MainSideBar extends React.Component<{}, {}> {
</div>
<div
className="item hoverEffect unselectable"
onClick={() => openLink("https://docs.getprompt.dev")}
onClick={() => openLink("https://docs.waveterm.dev")}
>
<HelpIcon className="icon" />
Documentation

View File

@ -352,7 +352,7 @@ function createMainWindow(clientData) {
MainWindow = null;
});
win.webContents.setWindowOpenHandler(({ url, frameName }) => {
if (url.startsWith("https://docs.getprompt.dev/")) {
if (url.startsWith("https://docs.waveterm.dev/")) {
console.log("openExternal docs", url);
electron.shell.openExternal(url);
} else if (url.startsWith("https://discord.gg/")) {