3
3
4
4
:: This script downloads the trusted WebUI compiled library by GitHub CI for Windows.
5
5
6
- SET " BASE_URL = https://github.com/webui-dev/webui/releases/download/2.4.0/"
7
6
IF " %1 " == " minimal" (
8
7
goto MINIMAL
9
8
)
@@ -17,20 +16,20 @@ echo.
17
16
mkdir " cache" 2 > nul 1 > nul
18
17
19
18
:: Nightly Build
20
- SET " LINUX_ARM = https://github.com/webui-dev/webui/releases/download/nightly/webui-linux-gcc-arm.zip"
21
- SET " LINUX_ARM64 = https://github.com/webui-dev/webui/releases/download/nightly/webui-linux-gcc-arm64.zip"
22
- SET " LINUX_X64 = https://github.com/webui-dev/webui/releases/download/nightly/webui-linux-gcc-x64.zip"
23
- SET " MACOS_ARM64 = https://github.com/webui-dev/webui/releases/download/nightly/webui-macos-clang-arm64.zip"
24
- SET " MACOS_X64 = https://github.com/webui-dev/webui/releases/download/nightly/webui-macos-clang-x64.zip"
25
- SET " WINDOWS_MSVC_X64 = https://github.com/webui-dev/webui/releases/download/nightly/webui-windows-msvc-x64.zip"
19
+ :: SET "LINUX_ARM=https://github.com/webui-dev/webui/releases/download/nightly/webui-linux-gcc-arm.zip"
20
+ :: SET "LINUX_ARM64=https://github.com/webui-dev/webui/releases/download/nightly/webui-linux-gcc-arm64.zip"
21
+ :: SET "LINUX_X64=https://github.com/webui-dev/webui/releases/download/nightly/webui-linux-gcc-x64.zip"
22
+ :: SET "MACOS_ARM64=https://github.com/webui-dev/webui/releases/download/nightly/webui-macos-clang-arm64.zip"
23
+ :: SET "MACOS_X64=https://github.com/webui-dev/webui/releases/download/nightly/webui-macos-clang-x64.zip"
24
+ :: SET "WINDOWS_MSVC_X64=https://github.com/webui-dev/webui/releases/download/nightly/webui-windows-msvc-x64.zip"
26
25
27
26
:: Release
28
- :: SET "LINUX_ARM=https://github.com/webui-dev/webui/releases/download/2.4.0 /webui-linux-gcc-arm.zip"
29
- :: SET "LINUX_ARM64=https://github.com/webui-dev/webui/releases/download/2.4.0 /webui-linux-gcc-arm64.zip"
30
- :: SET "LINUX_X64=https://github.com/webui-dev/webui/releases/download/2.4.0 /webui-linux-gcc-x64.zip"
31
- :: SET "MACOS_ARM64=https://github.com/webui-dev/webui/releases/download/2.4.0 /webui-macos-clang-arm64.zip"
32
- :: SET "MACOS_X64=https://github.com/webui-dev/webui/releases/download/2.4.0 /webui-macos-clang-x64.zip"
33
- :: SET "WINDOWS_MSVC_X64=https://github.com/webui-dev/webui/releases/download/2.4.0 /webui-windows-msvc-x64.zip"
27
+ SET " LINUX_ARM = https://github.com/webui-dev/webui/releases/download/2.4.1 /webui-linux-gcc-arm.zip"
28
+ SET " LINUX_ARM64 = https://github.com/webui-dev/webui/releases/download/2.4.1 /webui-linux-gcc-arm64.zip"
29
+ SET " LINUX_X64 = https://github.com/webui-dev/webui/releases/download/2.4.1 /webui-linux-gcc-x64.zip"
30
+ SET " MACOS_ARM64 = https://github.com/webui-dev/webui/releases/download/2.4.1 /webui-macos-clang-arm64.zip"
31
+ SET " MACOS_X64 = https://github.com/webui-dev/webui/releases/download/2.4.1 /webui-macos-clang-x64.zip"
32
+ SET " WINDOWS_MSVC_X64 = https://github.com/webui-dev/webui/releases/download/2.4.1 /webui-windows-msvc-x64.zip"
34
33
35
34
:: Download and extract archives
36
35
CALL :DOWNLOAD_AND_EXTRACT %LINUX_ARM% webui-linux-gcc-arm webui-2.so
@@ -74,6 +73,8 @@ GOTO :EOF
74
73
:: Download WebUI library for only the current OS.
75
74
:MINIMAL
76
75
76
+ SET " BASE_URL = https://github.com/webui-dev/webui/releases/download/2.4.1/"
77
+
77
78
:: Check the CPU architecture
78
79
IF " %PROCESSOR_ARCHITECTURE% " == " x86" (
79
80
:: x86 32Bit
0 commit comments