parent
495de89747
commit
4a4ca2c3b8
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ use smol::io::AsyncReadExt;
|
||||||
use settings::{Settings, SettingsStore};
|
use settings::{Settings, SettingsStore};
|
||||||
use smol::{fs::File, process::Command};
|
use smol::{fs::File, process::Command};
|
||||||
|
|
||||||
use release_channel::{AppCommitSha, ReleaseChannel};
|
use release_channel::{AppCommitSha, AppVersion, ReleaseChannel};
|
||||||
use std::{
|
use std::{
|
||||||
env::consts::{ARCH, OS},
|
env::consts::{ARCH, OS},
|
||||||
ffi::OsString,
|
ffi::OsString,
|
||||||
|
@ -190,7 +190,7 @@ pub fn view_release_notes(_: &ViewReleaseNotes, cx: &mut AppContext) -> Option<(
|
||||||
|
|
||||||
fn view_release_notes_locally(workspace: &mut Workspace, cx: &mut ViewContext<Workspace>) {
|
fn view_release_notes_locally(workspace: &mut Workspace, cx: &mut ViewContext<Workspace>) {
|
||||||
let release_channel = ReleaseChannel::global(cx);
|
let release_channel = ReleaseChannel::global(cx);
|
||||||
let version = env!("CARGO_PKG_VERSION");
|
let version = AppVersion::global(cx).to_string();
|
||||||
|
|
||||||
let client = client::Client::global(cx).http_client();
|
let client = client::Client::global(cx).http_client();
|
||||||
let url = client.build_url(&format!(
|
let url = client.build_url(&format!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue