From 7dbcfae4e7887c59613d6cc8fc432b256669492d Mon Sep 17 00:00:00 2001 From: Brian <18603393+brian6932@users.noreply.github.com> Date: Thu, 12 Dec 2024 06:13:20 -0500 Subject: [PATCH] sd-card-formatter: Fix manifest --- bucket/sd-card-formatter.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/bucket/sd-card-formatter.json b/bucket/sd-card-formatter.json index 1cd205713a7052..bfe4058113c71e 100644 --- a/bucket/sd-card-formatter.json +++ b/bucket/sd-card-formatter.json @@ -6,19 +6,19 @@ "identifier": "Freeware", "url": "https://www.sdcard.org/downloads/formatter/sd-memory-card-formatter-for-windows-download/" }, - "url": "https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip", - "hash": "df18843616643f53a613fd536eb4ff05a068de16b2902f48234706a2cfedc374", - "installer": { - "script": [ - "Wait-Process -InputObject (Start-Process \"$dir\\SDCardFormatterv$($version.split('.')[0])_WinEN\\SD Card Formatter $version Setup EN.exe\" -ArgumentList \"/a /s /v/qn /vTARGETDIR=$dir\" -PassThru)", - "Move-Item \"$dir\\program files\\SDA\\SD Card Formatter\\*\" \"$dir\"", - "Get-ChildItem -Recurse \"$dir\" -Exclude ('format_sd.exe', 'SD Card Formatter.exe') | Remove-Item -Recurse" - ] - }, - "bin": [ - "format_sd.exe", - "SD Card Formatter.exe" + "depends": [ + "main/isx", + "main/lessmsi" + ], + "url": "https://www.sdcard.org/downloads/formatter/eula_windows/SD%20Card%20Formatter%20Setup.exe", + "hash": "0243f9adae333f8a158d8137c29a64f411a0c3dc7827715d49483235852db091", + "pre_install": [ + "$null = isx.exe \"$dir/SD%20Card%20Formatter%20Setup.exe\" \"$dir\"", + "$null = lessmsi.exe x \"$dir\\SD%20Card%20Formatter%20Setup_u\\SD Card Formatter Setup.msi\" \"$dir\\\"", + "Move-Item \"$dir/SourceDir/program files/SDA/SD Card Formatter/*\" \"$dir\"", + "Get-ChildItem -Recurse \"$dir\" -Exclude ('format_sd.exe', 'SD Card Formatter.exe') | Remove-Item -Recurse" ], + "bin": "format_sd.exe", "shortcuts": [ [ "SD Card Formatter.exe", @@ -29,6 +29,6 @@ "regex": "SD Memory Card Formatter ([\\d.]+)" }, "autoupdate": { - "url": "https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv$majorVersion_WinEN.zip" + "url": "https://www.sdcard.org/downloads/formatter/eula_windows/SD%20Card%20Formatter%20Setup.exe" } }