From e92c58d06ab52fa1f5c74aa069747e0979e746a8 Mon Sep 17 00:00:00 2001 From: Issac Lin Date: Sat, 6 Aug 2022 13:14:35 +0800 Subject: [PATCH] gameboosthd: Fix installation for PowerShell 5 PowerShell 5 does not support wildcard(*) for Rename-Item --- bucket/gameboosthd.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/gameboosthd.json b/bucket/gameboosthd.json index f47c4f1cb4..b218afc4a5 100644 --- a/bucket/gameboosthd.json +++ b/bucket/gameboosthd.json @@ -8,6 +8,6 @@ }, "url": "https://r1ch.net/assets/gameboosthd/gameboosthd-1.4.zip", "hash": "6f23373ebfba028255d103185785bb140016d4dde0363bca11c28bb7527c5130", - "pre_install": "Rename-Item \"$dir\\*.exe\" 'gameboosthd.exe'", + "pre_install": "Get-ChildItem \"$dir\\*.exe\" | Rename-Item -NewName 'gameboosthd.exe'", "bin": "gameboosthd.exe" }