diff --git a/bucket/oh-my-posh3.json b/bucket/oh-my-posh3.json index 44eb50069f..c049842fdb 100644 --- a/bucket/oh-my-posh3.json +++ b/bucket/oh-my-posh3.json @@ -1,13 +1,13 @@ { - "version": "4.3.0", + "version": "5.1.0", "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/v4.3.0/posh-windows-wsl-amd64.7z", - "hash": "f0d8703c95a4f9020273e3b338e74db90e05c72c5bc5d6a3c5c9ccf322e95b49" + "url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v5.1.0/posh-windows-wsl-amd64.7z", + "hash": "3906c55836957370cf0cd0397d1378494dbd049e62a2d0f0bbf5ad9c2283095a" } }, "bin": "bin\\oh-my-posh.exe", diff --git a/bucket/python.json b/bucket/python.json index e07604501b..2f9702d23e 100644 --- a/bucket/python.json +++ b/bucket/python.json @@ -15,22 +15,6 @@ "md5:cc3eabc1f9d6c703d1d2a4e7c041bc1d", "c2611c8010979a47cdeea1af17d5061d8df40c5356fd8c2f3ba9492d516a99d1", "d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9" - ], - "pre_install": [ - "$py_root = \"$dir\".Replace('\\', '\\\\')", - "'install-pep-514.reg', 'uninstall-pep-514.reg' | ForEach-Object {", - " $py_version = ($version -split '\\.')[0..1] -join '.'", - " $content = Get-Content \"$dir\\$_\"", - " $content = $content.Replace('$py_root', $py_root)", - " $content = $content.Replace('$py_version', $py_version)", - " $content = $content.Replace('$py_fullversion', $version)", - " $content = $content.Replace('$py_cleanVersion', $version -replace '\\.')", - " $content = $content.Replace('$py_arch', \"64\")", - " if ($global) {", - " $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')", - " }", - " Set-Content \"$dir\\$_\" $content -Encoding Ascii", - "}" ] }, "32bit": { @@ -43,25 +27,27 @@ "md5:0d949bdfdbd0c8c66107a980a95efd85", "c2611c8010979a47cdeea1af17d5061d8df40c5356fd8c2f3ba9492d516a99d1", "d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9" - ], - "pre_install": [ - "$py_root = \"$dir\".Replace('\\', '\\\\')", - "'install-pep-514.reg', 'uninstall-pep-514.reg' | ForEach-Object {", - " $py_version = ($version -split '\\.')[0..1] -join '.'", - " $content = Get-Content \"$dir\\$_\"", - " $content = $content.Replace('$py_root', $py_root)", - " $content = $content.Replace('$py_version', $py_version)", - " $content = $content.Replace('$py_fullversion', $version)", - " $content = $content.Replace('$py_cleanVersion', $version -replace '\\.')", - " $content = $content.Replace('$py_arch', \"32\")", - " if ($global) {", - " $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')", - " }", - " Set-Content \"$dir\\$_\" $content -Encoding Ascii", - "}" ] } }, + "pre_install": [ + "$py_root = \"$dir\".Replace('\\', '\\\\')", + "$bit = '64'", + "if ($architecture -eq '32bit') { $bit = '32' }", + "'install-pep-514.reg', 'uninstall-pep-514.reg' | ForEach-Object {", + " $py_version = ($version -split '\\.')[0..1] -join '.'", + " $content = Get-Content \"$dir\\$_\"", + " $content = $content.Replace('$py_root', $py_root)", + " $content = $content.Replace('$py_version', $py_version)", + " $content = $content.Replace('$py_fullversion', $version)", + " $content = $content.Replace('$py_cleanVersion', $version -replace '\\.')", + " $content = $content.Replace('$py_arch', \"$bit\")", + " if ($global) {", + " $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')", + " }", + " Set-Content \"$dir\\$_\" $content -Encoding Ascii", + "}" + ], "installer": { "script": [ "Expand-DarkArchive \"$dir\\setup.exe\" \"$dir\\_tmp\"",