mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Update download URL
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user