瀏覽代碼

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

Baptiste Augrain 1 月之前
父節點
當前提交
3b764c31b7
共有 1 個文件被更改,包括 9 次插入0 次删除
  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,