mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 22:26:26 -04:00
Update download URL
This commit is contained in:
parent
c20ab0f393
commit
9db62448d9
@ -81,11 +81,14 @@ impl GuiUpdater {
|
|||||||
info!("Update GUI, version: {}", self.version);
|
info!("Update GUI, version: {}", self.version);
|
||||||
|
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
let arch = "amd64";
|
let arch = "x86_64";
|
||||||
#[cfg(target_arch = "aarch64")]
|
#[cfg(target_arch = "aarch64")]
|
||||||
let arch = "arm64";
|
let arch = "aarch64";
|
||||||
|
|
||||||
let file_url = format!("https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v{}/gpgui-linux-{}", self.version, arch);
|
let file_url = format!(
|
||||||
|
"https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v{}/gpgui_${}_${}.bin.tar.xz",
|
||||||
|
self.version, self.version, arch
|
||||||
|
);
|
||||||
let checksum_url = format!("{}.sha256", file_url);
|
let checksum_url = format!("{}.sha256", file_url);
|
||||||
|
|
||||||
info!("Downloading file: {}", file_url);
|
info!("Downloading file: {}", file_url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user