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). 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 ## Links
* Homepage — https://commandline.dev * Homepage — https://www.waveterm.dev
* Download Page — https://commandline.dev/download * Download Page — https://www.waveterm.dev/download
* Quick Start Guide — https://docs.getprompt.dev/quickstart/ * Documentation — https://docs.waveterm.dev/
* Documentation — https://docs.getprompt.dev/ * Quick Start Guide — https://docs.waveterm.dev/quickstart/
* Discord Community — https://discord.gg/XfvZ334gwU * Discord Community — https://discord.gg/XfvZ334gwU
## Building from Source ## Building from Source

View File

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

View File

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

View File

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