Browse Source

fix(cli): fix windows' update url (#2318)

Baptiste Augrain 1 month ago
parent
commit
3b764c31b7
1 changed files with 9 additions and 0 deletions
  1. 9 0
      patches/windows/cli.patch

+ 9 - 0
patches/windows/cli.patch

@@ -0,0 +1,9 @@
+diff --git a/cli/src/update_service.rs b/cli/src/update_service.rs
+index a39bbf7..26ad204 100644
+--- a/cli/src/update_service.rs
++++ b/cli/src/update_service.rs
+@@ -84,3 +84,3 @@ impl UpdateService {
+ 		let download_url = format!(
+-			"{}/{}/{}/{}/latest.json",
++			"{}/{}/{}/{}/user/latest.json",
+ 			update_endpoint,