diff --git a/InstallerExtras/CodeDependencies.iss b/InstallerExtras/CodeDependencies.iss index 383f370490..add29b5393 100644 --- a/InstallerExtras/CodeDependencies.iss +++ b/InstallerExtras/CodeDependencies.iss @@ -232,20 +232,29 @@ begin Dependency_Add('vcredist2022' + Dependency_ArchSuffix + '.exe', '/passive /norestart', 'Visual C++ 2015-2022 Redistributable (x64)' + Dependency_ArchTitle, - Dependency_String('https://aka.ms/vs/17/release/vc_redist.x64.exe', 'https://aka.ms/vs/17/release/vc_redist.x64.exe'), + Dependency_String('https://aka.ms/vc14/vc_redist.x64.exe', 'https://aka.ms/vc14/vc_redist.x64.exe'), '', False, False); end; end; procedure Dependency_AddWebView2; +var + WebView2URL, WebView2Title: String; begin // https://developer.microsoft.com/en-us/microsoft-edge/webview2 if not RegValueExists(HKLM, Dependency_String('SOFTWARE', 'SOFTWARE\WOW6432Node') + '\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}', 'pv') then begin + if IsARM64 then begin + WebView2URL := 'https://go.microsoft.com/fwlink/?linkid=2099616'; + WebView2Title := 'WebView2 Runtime (ARM64)'; + end else begin + WebView2URL := 'https://go.microsoft.com/fwlink/?linkid=2124701'; + WebView2Title := 'WebView2 Runtime (x64)'; + end; Dependency_Add('MicrosoftEdgeWebview2Setup.exe', '/silent /install', - 'WebView2 Runtime (x64)', - 'https://go.microsoft.com/fwlink/?linkid=2124701', + WebView2Title, + WebView2URL, '', False, False); end; end; diff --git a/src/UniGetUI.Core.Data/Licenses.cs b/src/UniGetUI.Core.Data/Licenses.cs index 461a2ee13a..b2b8d45e00 100644 --- a/src/UniGetUI.Core.Data/Licenses.cs +++ b/src/UniGetUI.Core.Data/Licenses.cs @@ -93,7 +93,7 @@ public static class LicenseData { "GSudo", new Uri("https://github.com/gerardog/gsudo/blob/master/LICENSE.txt") }, { "UniGetUI Elevator", - new Uri("https://github.com/marticliment/GSudo-for-UniGetUI/blob/main/LICENSE.txt") + new Uri("https://github.com/Devolutions/gsudo-distro/blob/master/LICENSE") }, { "Icons", new Uri("https://icons8.com/license") }, }; @@ -131,7 +131,7 @@ public static class LicenseData { "vcpkg", new Uri("https://github.com/microsoft/vcpkg") }, // Other { "GSudo", new Uri("https://github.com/gerardog/gsudo/") }, - { "UniGetUI Elevator", new Uri("https://github.com/marticliment/GSudo-for-UniGetUI/") }, + { "UniGetUI Elevator", new Uri("https://github.com/Devolutions/gsudo-distro") }, { "Icons", new Uri("https://icons8.com") }, }; } diff --git a/src/UniGetUI/Assets/Utilities/getfilesiginforedist.dll b/src/UniGetUI/Assets/Utilities/getfilesiginforedist.dll deleted file mode 100644 index 588b9d7165..0000000000 Binary files a/src/UniGetUI/Assets/Utilities/getfilesiginforedist.dll and /dev/null differ diff --git a/src/UniGetUI/UniGetUI.csproj b/src/UniGetUI/UniGetUI.csproj index 980215eec8..eea76c8c74 100644 --- a/src/UniGetUI/UniGetUI.csproj +++ b/src/UniGetUI/UniGetUI.csproj @@ -34,7 +34,9 @@ x64 - $(PkgDevolutions_UniGetUI_Elevator)\runtimes\win-$(ElevatorPackageArchitecture)\native\UniGetUI Elevator.exe + $(PkgDevolutions_UniGetUI_Elevator)\runtimes\win-$(ElevatorPackageArchitecture)\native + $(ElevatorPackageNativePath)\UniGetUI Elevator.exe + $(ElevatorPackageNativePath)\getfilesiginforedist.dll @@ -71,6 +73,10 @@ Condition="!Exists('$(ElevatorPackageExePath)')" Text="NuGet elevator executable not found at '$(ElevatorPackageExePath)'. Ensure package restore has completed for Devolutions.UniGetUI.Elevator." /> + @@ -151,7 +157,7 @@ @@ -365,10 +371,14 @@ false PreserveNewest + PreserveNewest + false + false PreserveNewest