|
|
@ -1,4 +1,4 @@ |
|
|
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project |
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project |
|
|
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project |
|
|
@ -17,12 +17,14 @@ try { |
|
|
$VulkanSDKVer = "1.4.335.0" |
|
|
$VulkanSDKVer = "1.4.335.0" |
|
|
if ((Get-WmiObject -Class Win32_ComputerSystem).SystemType -match '(x64)' -eq "True") { |
|
|
if ((Get-WmiObject -Class Win32_ComputerSystem).SystemType -match '(x64)' -eq "True") { |
|
|
$VulkanSDKArch = "X64" |
|
|
$VulkanSDKArch = "X64" |
|
|
|
|
|
$VulkanSDKOs = "windows" |
|
|
} else { |
|
|
} else { |
|
|
$VulkanSDKArch = "ARM64" |
|
|
$VulkanSDKArch = "ARM64" |
|
|
|
|
|
$VulkanSDKOs = "warm" |
|
|
} |
|
|
} |
|
|
$VULKAN_SDK = "C:/VulkanSDK/$VulkanSDKVer" |
|
|
$VULKAN_SDK = "C:/VulkanSDK/$VulkanSDKVer" |
|
|
$ExeFile = "vulkansdk-windows-$VulkanSDKArch-$VulkanSDKVer.exe" |
|
|
$ExeFile = "vulkansdk-windows-$VulkanSDKArch-$VulkanSDKVer.exe" |
|
|
$Uri = "https://sdk.lunarg.com/sdk/download/$VulkanSDKVer/windows/$ExeFile" |
|
|
|
|
|
|
|
|
$Uri = "https://sdk.lunarg.com/sdk/download/$VulkanSDKVer/$VulkanSDKOs/$ExeFile" |
|
|
$Destination = "./$ExeFile" |
|
|
$Destination = "./$ExeFile" |
|
|
|
|
|
|
|
|
# Check if Vulkan SDK is already installed |
|
|
# Check if Vulkan SDK is already installed |
|
|
|