From 812ab9f88d41159a8e1af2028dec71d80fd4e921 Mon Sep 17 00:00:00 2001 From: Yongda Socrates WU Date: Sat, 14 Sep 2024 02:56:47 -0400 Subject: [PATCH 1/2] Update aliyundrive.json In the "latest.yml" referred in the "autoupdate" section, the url for the file no longer contains "ia32", which has been replaced by "x64". --- bucket/aliyundrive.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/aliyundrive.json b/bucket/aliyundrive.json index 62980a9b9d0..70820b334c1 100644 --- a/bucket/aliyundrive.json +++ b/bucket/aliyundrive.json @@ -6,7 +6,7 @@ "identifier": "EULA", "url": "https://www.aliyundrive.com/protocol/service" }, - "url": "https://cdn.aliyundrive.net/downloads/apps/desktop/update/6.3.2/win32/ia32/aDrive-6.3.2.exe#/aDrive-6.3.2.7z", + "url": "https://cdn.aliyundrive.net/downloads/apps/desktop/update/6.3.2/win32/x64/aDrive-6.3.2.exe#/aDrive-6.3.2.7z", "hash": "sha512:a4af7893e1223aef57c0a6b811b345903ea65335cf869503ef41eb96a8794f196996d3cb135827e9ac92201638b012e249ea037a41d5f92807278511a4ad530d", "post_install": [ "@('$PLUGINSDIR', '$TEMP') | ForEach-Object {", @@ -24,7 +24,7 @@ "re": "version: ([\\d.]+)" }, "autoupdate": { - "url": "https://cdn.aliyundrive.net/downloads/apps/desktop/update/$version/win32/ia32/aDrive-$version.exe#/aDrive-$version.7z", + "url": "https://cdn.aliyundrive.net/downloads/apps/desktop/update/$version/win32/x64/aDrive-$version.exe#/aDrive-$version.7z", "hash": { "url": "https://g.alicdn.com/aliyun-drive-fe/aliyun-drive-desktop-version/$version/win32/ia32/latest.yml", "mode": "extract", From a2dc4c8a438086b01ae37b0434ae58fe81083b8e Mon Sep 17 00:00:00 2001 From: Yongda Socrates WU Date: Sat, 14 Sep 2024 03:04:21 -0400 Subject: [PATCH 2/2] Update aliyundrive.json In the url for "latest.yml" referred in the "autoupdate" section, replacing "ia32" with "x64" in order to be consistent with the download link for the "aDrive-$version.exe". The content of the "latest.yml" remains unchanged. --- bucket/aliyundrive.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/aliyundrive.json b/bucket/aliyundrive.json index 70820b334c1..dd38299051b 100644 --- a/bucket/aliyundrive.json +++ b/bucket/aliyundrive.json @@ -20,13 +20,13 @@ ] ], "checkver": { - "script": "return (iwr -useb \"$($(iwr -useb 'https://www.aliyundrive.com/desktop/version/update.json' | ConvertFrom-Json).url)/win32/ia32/latest.yml\")", + "script": "return (iwr -useb \"$($(iwr -useb 'https://www.aliyundrive.com/desktop/version/update.json' | ConvertFrom-Json).url)/win32/x64/latest.yml\")", "re": "version: ([\\d.]+)" }, "autoupdate": { "url": "https://cdn.aliyundrive.net/downloads/apps/desktop/update/$version/win32/x64/aDrive-$version.exe#/aDrive-$version.7z", "hash": { - "url": "https://g.alicdn.com/aliyun-drive-fe/aliyun-drive-desktop-version/$version/win32/ia32/latest.yml", + "url": "https://g.alicdn.com/aliyun-drive-fe/aliyun-drive-desktop-version/$version/win32/x64/latest.yml", "mode": "extract", "regex": "sha512: $base64" }