Skip to content

Commit

Permalink
Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Oct 4, 2023
1 parent 08007e6 commit 6b8ff98
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/Bundle/Sucrose.Bundle/Sucrose.Bundle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
<OutputPath>..\..\Sucrose\Bundle\$(Platform)</OutputPath>
</PropertyGroup>

<PropertyGroup>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<PublishSingleFile Condition="!$(TargetFramework.StartsWith('net48'))">true</PublishSingleFile>
</PropertyGroup>

<PropertyGroup>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<ServerGarbageCollection>true</ServerGarbageCollection>
Expand All @@ -47,6 +42,11 @@
<InvariantGlobalization>false</InvariantGlobalization>
</PropertyGroup>

<PropertyGroup>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<PublishSingleFile Condition="!$(TargetFramework.StartsWith('net48'))">true</PublishSingleFile>
</PropertyGroup>

<PropertyGroup Condition="'$(PlatformTarget)' == 'x86'">
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x86</RuntimeIdentifier>
<SelfContained Condition="'$(SelfContained)' == ''">false</SelfContained>
Expand Down
2 changes: 1 addition & 1 deletion src/Portal/Sucrose.Portal/Manage/Manager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal static class Manager

public static IPAddress Host => SMMI.LauncherSettingManager.GetSettingAddress(SMC.Host, IPAddress.Loopback);

public static SSCEUT UpdateType => SMMI.UpdateSettingManager.GetSetting(SMC.UpdateType, SSCEUT.Executable);
public static SSCEUT UpdateType => SMMI.UpdateSettingManager.GetSetting(SMC.UpdateType, SSCEUT.Compressed);

public static SEST ScreenType => SMMI.EngineSettingManager.GetSetting(SMC.ScreenType, SEST.DisplayBound);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ private void InitializeViewModel()
SPVCEC Update = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = false,
IsEnabled = false
Expandable = false
};

Update.LeftIcon.Symbol = SymbolRegular.ArrowSwap24;
Expand Down
2 changes: 1 addition & 1 deletion src/Update/Sucrose.Update/Manage/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ internal static class Internal
{
public static string Source = string.Empty;

public static readonly SSCEUT UpdateType = SMMI.UpdateSettingManager.GetSetting(SMC.UpdateType, SSCEUT.Executable);
public static readonly SSCEUT UpdateType = SMMI.UpdateSettingManager.GetSetting(SMC.UpdateType, SSCEUT.Compressed);
}
}

0 comments on commit 6b8ff98

Please sign in to comment.