From 94033b0b994b4a8cce1a6ff1eb439104cd50454e Mon Sep 17 00:00:00 2001 From: Locietta Date: Thu, 2 May 2024 19:58:01 +0800 Subject: [PATCH] xanmod-WSL2: update naming for https://github.com/Locietta/xanmod-kernel-WSL2/pull/57 --- ...ts-old.json => xanmod-WSL2-lts-x64v2.json} | 8 +-- bucket/xanmod-WSL2-lts-x64v3.json | 48 ++++++++++++++++++ bucket/xanmod-WSL2-lts-x64v4.json | 48 ++++++++++++++++++ bucket/xanmod-WSL2-lts.json | 8 +-- bucket/xanmod-WSL2-x64v2.json | 49 +++++++++++++++++++ bucket/xanmod-WSL2-x64v3.json | 49 +++++++++++++++++++ bucket/xanmod-WSL2-x64v4.json | 49 +++++++++++++++++++ bucket/xanmod-WSL2.json | 8 +-- {bucket => deprecated}/xanmod-WSL2-old.json | 8 +-- 9 files changed, 259 insertions(+), 16 deletions(-) rename bucket/{xanmod-WSL2-lts-old.json => xanmod-WSL2-lts-x64v2.json} (92%) create mode 100644 bucket/xanmod-WSL2-lts-x64v3.json create mode 100644 bucket/xanmod-WSL2-lts-x64v4.json create mode 100644 bucket/xanmod-WSL2-x64v2.json create mode 100644 bucket/xanmod-WSL2-x64v3.json create mode 100644 bucket/xanmod-WSL2-x64v4.json rename {bucket => deprecated}/xanmod-WSL2-old.json (93%) diff --git a/bucket/xanmod-WSL2-lts-old.json b/bucket/xanmod-WSL2-lts-x64v2.json similarity index 92% rename from bucket/xanmod-WSL2-lts-old.json rename to bucket/xanmod-WSL2-lts-x64v2.json index 5439052..ad10500 100644 --- a/bucket/xanmod-WSL2-lts-old.json +++ b/bucket/xanmod-WSL2-lts-x64v2.json @@ -13,7 +13,7 @@ "[DllImport(\"Kernel32\")]", "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", - "$kernel_path=\"$dir\\bzImage-old\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$kernel_path=\"$dir\\bzImage-x64v2\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" ], "post_uninstall": [ @@ -29,7 +29,7 @@ "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" ], "version": "6.6.29-1.1", - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.6.29-locietta-WSL2-xanmod1.1-lts/bzImage-old", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.6.29-locietta-WSL2-xanmod1.1-lts/bzImage-x64v2", "hash": "6489b142f690a0d4b33d5af56f58efda1d4bffd0c96ef5127d861fc8380271a9", "checkver": { "script": [ @@ -40,9 +40,9 @@ "replace": "${1}-${2}" }, "autoupdate": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-old", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v2", "hash": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-old.sha256" + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v2.sha256" } } } diff --git a/bucket/xanmod-WSL2-lts-x64v3.json b/bucket/xanmod-WSL2-lts-x64v3.json new file mode 100644 index 0000000..bd781f2 --- /dev/null +++ b/bucket/xanmod-WSL2-lts-x64v3.json @@ -0,0 +1,48 @@ +{ + "homepage": "https://github.com/Locietta/xanmod-kernel-WSL2", + "license": "GPL-2.0", + "extract_dir": "", + "bin": "", + "post_install": [ + "#########################################", + "# set `.wslconfig` to use custom kernel #", + "#########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section, string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", + "$kernel_path=\"$dir\\bzImage-x64v3\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" + ], + "post_uninstall": [ + "##########################################", + "# recover `.wslconfig` to default kernel #", + "##########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section,string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileUninstall -UsingNamespace System.Text", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" + ], + "version": "6.6.29-1.1", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.6.29-locietta-WSL2-xanmod1.1-lts/bzImage-x64v3", + "hash": "2fdf1c3d11ede72098c958f3a59149f91740369d269f5f22f24aee2288f0a87f", + "checkver": { + "script": [ + "$LATEST = ((curl.exe -sL -H \"Authorization: Bearer $(Get-GitHubToken)\" https://api.github.com/repos/Locietta/xanmod-kernel-WSL2/tags?per_page=60 | ConvertFrom-Json).name | Select-String 'lts')[0]", + "$LATEST" + ], + "regex": "(?
[\\d.]+)-locietta-WSL2-xanmod(?[\\d.]+)", + "replace": "${1}-${2}" + }, + "autoupdate": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v3", + "hash": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v3.sha256" + } + } +} diff --git a/bucket/xanmod-WSL2-lts-x64v4.json b/bucket/xanmod-WSL2-lts-x64v4.json new file mode 100644 index 0000000..6dd143a --- /dev/null +++ b/bucket/xanmod-WSL2-lts-x64v4.json @@ -0,0 +1,48 @@ +{ + "homepage": "https://github.com/Locietta/xanmod-kernel-WSL2", + "license": "GPL-2.0", + "extract_dir": "", + "bin": "", + "post_install": [ + "#########################################", + "# set `.wslconfig` to use custom kernel #", + "#########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section, string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", + "$kernel_path=\"$dir\\bzImage-x64v4\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" + ], + "post_uninstall": [ + "##########################################", + "# recover `.wslconfig` to default kernel #", + "##########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section,string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileUninstall -UsingNamespace System.Text", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" + ], + "version": "6.6.29-1.1", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.6.29-locietta-WSL2-xanmod1.1-lts/bzImage-x64v4", + "hash": "2fdf1c3d11ede72098c958f3a59149f91740369d269f5f22f24aee2288f0a87f", + "checkver": { + "script": [ + "$LATEST = ((curl.exe -sL -H \"Authorization: Bearer $(Get-GitHubToken)\" https://api.github.com/repos/Locietta/xanmod-kernel-WSL2/tags?per_page=60 | ConvertFrom-Json).name | Select-String 'lts')[0]", + "$LATEST" + ], + "regex": "(?
[\\d.]+)-locietta-WSL2-xanmod(?[\\d.]+)", + "replace": "${1}-${2}" + }, + "autoupdate": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v4", + "hash": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v4.sha256" + } + } +} diff --git a/bucket/xanmod-WSL2-lts.json b/bucket/xanmod-WSL2-lts.json index ccedaa1..bd781f2 100644 --- a/bucket/xanmod-WSL2-lts.json +++ b/bucket/xanmod-WSL2-lts.json @@ -13,7 +13,7 @@ "[DllImport(\"Kernel32\")]", "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", - "$kernel_path=\"$dir\\bzImage\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$kernel_path=\"$dir\\bzImage-x64v3\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" ], "post_uninstall": [ @@ -29,7 +29,7 @@ "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" ], "version": "6.6.29-1.1", - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.6.29-locietta-WSL2-xanmod1.1-lts/bzImage", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.6.29-locietta-WSL2-xanmod1.1-lts/bzImage-x64v3", "hash": "2fdf1c3d11ede72098c958f3a59149f91740369d269f5f22f24aee2288f0a87f", "checkver": { "script": [ @@ -40,9 +40,9 @@ "replace": "${1}-${2}" }, "autoupdate": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v3", "hash": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage.sha256" + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod-lts/bzImage-x64v3.sha256" } } } diff --git a/bucket/xanmod-WSL2-x64v2.json b/bucket/xanmod-WSL2-x64v2.json new file mode 100644 index 0000000..8762dd8 --- /dev/null +++ b/bucket/xanmod-WSL2-x64v2.json @@ -0,0 +1,49 @@ +{ + "homepage": "https://github.com/Locietta/xanmod-kernel-WSL2", + "description": "Xanmod Kernel for WSL2.", + "license": "GPL-2.0", + "extract_dir": "", + "bin": "", + "post_install": [ + "#########################################", + "# set `.wslconfig` to use custom kernel #", + "#########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section,string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", + "$kernel_path=\"$dir\\bzImage-x64v2\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" + ], + "post_uninstall": [ + "##########################################", + "# recover `.wslconfig` to default kernel #", + "##########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section, string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileUninstall -UsingNamespace System.Text", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" + ], + "version": "6.8.8-1.1", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage-x64v2", + "hash": "a235d6ef59827e3cfcac599e61a2da89baebc88e54238abe7e9b2bdff649b1ac", + "checkver": { + "script": [ + "$LATEST = ((curl.exe -sL -H \"Authorization: Bearer $(Get-GitHubToken)\" https://api.github.com/repos/Locietta/xanmod-kernel-WSL2/tags?per_page=60 | ConvertFrom-Json).name | Select-String 'lts' -NotMatch)[0]", + "$LATEST" + ], + "regex": "(?
[\\d.]+)-locietta-WSL2-xanmod(?[\\d.]+)", + "replace": "${1}-${2}" + }, + "autoupdate": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v2", + "hash": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v2.sha256" + } + } +} diff --git a/bucket/xanmod-WSL2-x64v3.json b/bucket/xanmod-WSL2-x64v3.json new file mode 100644 index 0000000..2d774cc --- /dev/null +++ b/bucket/xanmod-WSL2-x64v3.json @@ -0,0 +1,49 @@ +{ + "homepage": "https://github.com/Locietta/xanmod-kernel-WSL2", + "description": "Xanmod Kernel for WSL2.", + "license": "GPL-2.0", + "extract_dir": "", + "bin": "", + "post_install": [ + "#########################################", + "# set `.wslconfig` to use custom kernel #", + "#########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section, string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", + "$kernel_path=\"$dir\\bzImage-x64v3\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" + ], + "post_uninstall": [ + "##########################################", + "# recover `.wslconfig` to default kernel #", + "##########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section,string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileUninstall -UsingNamespace System.Text", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" + ], + "version": "6.8.8-1.1", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage-x64v3", + "hash": "9ae1395dd9b0a69c6802b57a370ff9070fe1cb60126cf674a4c7452f7dfda822", + "checkver": { + "script": [ + "$LATEST = ((curl.exe -sL -H \"Authorization: Bearer $(Get-GitHubToken)\" https://api.github.com/repos/Locietta/xanmod-kernel-WSL2/tags?per_page=60 | ConvertFrom-Json).name | Select-String 'lts' -NotMatch)[0]", + "$LATEST" + ], + "regex": "(?
[\\d.]+)-locietta-WSL2-xanmod(?[\\d.]+)", + "replace": "${1}-${2}" + }, + "autoupdate": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v3", + "hash": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v3.sha256" + } + } +} diff --git a/bucket/xanmod-WSL2-x64v4.json b/bucket/xanmod-WSL2-x64v4.json new file mode 100644 index 0000000..521a051 --- /dev/null +++ b/bucket/xanmod-WSL2-x64v4.json @@ -0,0 +1,49 @@ +{ + "homepage": "https://github.com/Locietta/xanmod-kernel-WSL2", + "description": "Xanmod Kernel for WSL2.", + "license": "GPL-2.0", + "extract_dir": "", + "bin": "", + "post_install": [ + "#########################################", + "# set `.wslconfig` to use custom kernel #", + "#########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section, string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", + "$kernel_path=\"$dir\\bzImage-x64v4\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" + ], + "post_uninstall": [ + "##########################################", + "# recover `.wslconfig` to default kernel #", + "##########################################", + "$ini = Add-Type -memberDefinition @\"", + "[DllImport(\"Kernel32\")]", + "public static extern long WritePrivateProfileString (string section,string key, string val, string filePath);", + "[DllImport(\"Kernel32\")]", + "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", + "\"@ -passthru -name CustomWSL2ProfileUninstall -UsingNamespace System.Text", + "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" + ], + "version": "6.8.8-1.1", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage-x64v4", + "hash": "9ae1395dd9b0a69c6802b57a370ff9070fe1cb60126cf674a4c7452f7dfda822", + "checkver": { + "script": [ + "$LATEST = ((curl.exe -sL -H \"Authorization: Bearer $(Get-GitHubToken)\" https://api.github.com/repos/Locietta/xanmod-kernel-WSL2/tags?per_page=60 | ConvertFrom-Json).name | Select-String 'lts' -NotMatch)[0]", + "$LATEST" + ], + "regex": "(?
[\\d.]+)-locietta-WSL2-xanmod(?[\\d.]+)", + "replace": "${1}-${2}" + }, + "autoupdate": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v4", + "hash": { + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v4.sha256" + } + } +} diff --git a/bucket/xanmod-WSL2.json b/bucket/xanmod-WSL2.json index c82f3e3..2d774cc 100644 --- a/bucket/xanmod-WSL2.json +++ b/bucket/xanmod-WSL2.json @@ -14,7 +14,7 @@ "[DllImport(\"Kernel32\")]", "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", - "$kernel_path=\"$dir\\bzImage\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$kernel_path=\"$dir\\bzImage-x64v3\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" ], "post_uninstall": [ @@ -30,7 +30,7 @@ "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" ], "version": "6.8.8-1.1", - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage-x64v3", "hash": "9ae1395dd9b0a69c6802b57a370ff9070fe1cb60126cf674a4c7452f7dfda822", "checkver": { "script": [ @@ -41,9 +41,9 @@ "replace": "${1}-${2}" }, "autoupdate": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v3", "hash": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage.sha256" + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v3.sha256" } } } diff --git a/bucket/xanmod-WSL2-old.json b/deprecated/xanmod-WSL2-old.json similarity index 93% rename from bucket/xanmod-WSL2-old.json rename to deprecated/xanmod-WSL2-old.json index eeb38a6..8762dd8 100644 --- a/bucket/xanmod-WSL2-old.json +++ b/deprecated/xanmod-WSL2-old.json @@ -14,7 +14,7 @@ "[DllImport(\"Kernel32\")]", "public static extern int GetPrivateProfileString (string section, string key, string def, StringBuilder retVal, int size, string filePath);", "\"@ -passthru -name CustomWSL2ProfileInstall -UsingNamespace System.Text", - "$kernel_path=\"$dir\\bzImage-old\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", + "$kernel_path=\"$dir\\bzImage-x64v2\" -replace \"\\\\\", \"\\\\\" # double all back-slashess", "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $kernel_path, \"$env:USERPROFILE\\.wslconfig\")" ], "post_uninstall": [ @@ -30,7 +30,7 @@ "$null = $ini::WritePrivateProfileString(\"wsl2\", \"kernel\", $null, \"$env:USERPROFILE\\.wslconfig\")" ], "version": "6.8.8-1.1", - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage-old", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/6.8.8-locietta-WSL2-xanmod1.1/bzImage-x64v2", "hash": "a235d6ef59827e3cfcac599e61a2da89baebc88e54238abe7e9b2bdff649b1ac", "checkver": { "script": [ @@ -41,9 +41,9 @@ "replace": "${1}-${2}" }, "autoupdate": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-old", + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v2", "hash": { - "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-old.sha256" + "url": "https://github.com/Locietta/xanmod-kernel-WSL2/releases/download/$matchMain-locietta-WSL2-xanmod$matchXanmod/bzImage-x64v2.sha256" } } }