فهرست منبع

fixed dotnet7 to dotnet8

flabbet 8 ماه پیش
والد
کامیت
f4443fd93c
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      src/Installer/installer-setup-x64-light.iss
  2. 2 2
      src/PixiEditor.Beta/BetaExtension.cs

+ 1 - 1
src/Installer/installer-setup-x64-light.iss

@@ -414,7 +414,7 @@ begin
 #ifdef UseDotNet80Desktop
   // https://dotnet.microsoft.com/download/dotnet/8.0
   if not IsNetCoreInstalled('Microsoft.WindowsDesktop.App 8.0.0') then begin
-    AddDependency('dotnet70desktop' + GetArchitectureSuffix + '.exe',
+    AddDependency('dotnet80desktop' + GetArchitectureSuffix + '.exe',
       '/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
       '.NET Desktop Runtime 8.0' + GetArchitectureTitle,
       GetString('https://download.visualstudio.microsoft.com/download/pr/27bcdd70-ce64-4049-ba24-2b14f9267729/d4a435e55182ce5424a7204c2cf2b3ea/windowsdesktop-runtime-8.0.11-win-x64.exe', 'https://download.visualstudio.microsoft.com/download/pr/27bcdd70-ce64-4049-ba24-2b14f9267729/d4a435e55182ce5424a7204c2cf2b3ea/windowsdesktop-runtime-8.0.11-win-x64.exe'),

+ 2 - 2
src/PixiEditor.Beta/BetaExtension.cs

@@ -6,9 +6,9 @@ public class BetaExtension : PixiEditorExtension
 {
     public override void OnInitialized()
     {
-        //if (Api.Preferences.GetPreference<bool>("BetaWelcomeShown"))
+        if (Api.Preferences.GetPreference<bool>("BetaWelcomeShown"))
         {
-         //   return;
+            return;
         }
 
         WelcomeMessage welcomeMessage = new();