gotify-server: Fix installation for PowerShell 5

PowerShell 5 does not support wildcard(*) for Rename-Item
This commit is contained in:
Issac Lin 2022-08-06 13:13:28 +08:00 committed by GitHub
parent 9ebe3bf76d
commit 440060da58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
"hash": "f5476fbf9b44a97852c39f012119515db4350e0c64653116c3bb2476d6b081e2"
}
},
"pre_install": "Rename-Item \"$dir\\gotify-windows-*\" gotify.exe",
"pre_install": "Get-ChildItem \"$dir\\gotify-windows-*\" | Rename-Item -NewName gotify.exe",
"bin": "gotify.exe",
"checkver": {
"github": "https://github.com/gotify/server/"