From 12d81b9fe000ee699aec7e8c5a1f83db05925135 Mon Sep 17 00:00:00 2001 From: HUMORCE Date: Thu, 17 Aug 2023 13:29:20 +0000 Subject: [PATCH] scratch@3.29.1: Fix installation (Close #11753) - Remove dependency `extras/winrar-helper` --- bucket/scratch.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bucket/scratch.json b/bucket/scratch.json index d9b5ac3b0cf631..b34fed5a82ac87 100644 --- a/bucket/scratch.json +++ b/bucket/scratch.json @@ -6,15 +6,11 @@ "identifier": "Freeware", "url": "https://scratch.mit.edu/info/faq" }, - "depends": "extras/winrar-helper", - "url": "https://downloads.scratch.mit.edu/desktop/Scratch%203.29.1%20Setup.exe#/setup.exe", + "url": "https://downloads.scratch.mit.edu/desktop/Scratch%203.29.1%20Setup.exe#/dl.7z", "hash": "dfca2f1a842aea69a2b0a22ca66fa7852f86259e3da4f576f8ae7fa16f1e9134", "pre_install": [ - "$Args = @\"", - "x -IBCK \"$dir\\setup.exe\" \"$dir\"", - "\"@", - "Start-Process -Wait \"$(appdir winrar-helper $global)\\current\\winrar.exe\" -NoNewWindow -ArgumentList $Args", - "Remove-Item \"$dir\\setup.exe\"" + "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-32.7z\" \"$dir\"", + "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall*\"-Force -Recurse" ], "shortcuts": [ [ @@ -27,6 +23,6 @@ "regex": "refs/tags/v([\\d.]+)" }, "autoupdate": { - "url": "https://downloads.scratch.mit.edu/desktop/Scratch%20$version%20Setup.exe#/setup.exe" + "url": "https://downloads.scratch.mit.edu/desktop/Scratch%20$version%20Setup.exe#/dl.7z" } }