diff --git a/bucket/oh-my-posh3.json b/bucket/oh-my-posh3.json index 009c4cc47b..3adeed66fe 100644 --- a/bucket/oh-my-posh3.json +++ b/bucket/oh-my-posh3.json @@ -1,13 +1,13 @@ { - "version": "5.2.0", + "version": "5.2.1", "description": "A prompt theme engine for any shell", "homepage": "https://ohmyposh.dev", "license": "GPL-3.0-only", "notes": "Refer to 'https://ohmyposh.dev/docs/installation#3-replace-your-existing-prompt' for shell specific configurations.", "architecture": { "64bit": { - "url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v5.2.0/posh-windows-wsl-amd64.7z", - "hash": "30efe02ce2a38d67b8373635feb3038eec30fdd50fd895c64dda66ad686fa202" + "url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v5.2.1/posh-windows-wsl-amd64.7z", + "hash": "881fab9039340f2c98095d280259967dcfd87360babd59653ab216d804c9876a" } }, "bin": "bin\\oh-my-posh.exe", diff --git a/bucket/xray.json b/bucket/xray.json index d59ca223ef..eb2b6e9de5 100644 --- a/bucket/xray.json +++ b/bucket/xray.json @@ -15,11 +15,11 @@ }, "pre_install": [ "if (!(Test-Path \"$persist_dir\\config.json\")) {", - " New-Item -Force -Path \"$dir\" -Name 'config.json' -Value '{}' | Out-Null", + " Set-Content \"$dir\\config.json\" '{}' -Encoding 'Ascii'", "}" ], - "persist": "config.json", "bin": "xray.exe", + "persist": "config.json", "checkver": "github", "autoupdate": { "architecture": {