Skip to content

Commit

Permalink
Major Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Jan 14, 2025
1 parent 2de9f76 commit 4610173
Show file tree
Hide file tree
Showing 72 changed files with 32 additions and 245 deletions.
3 changes: 0 additions & 3 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
<add key="dotnet10" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json" />
<add key="public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
</packageSources>
</configuration>
3 changes: 0 additions & 3 deletions src/Bundle/Sucrose.Bundle/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Bundle/Sucrose.Bundle/App.net7.0-windows.config

This file was deleted.

6 changes: 3 additions & 3 deletions src/Bundle/Sucrose.Bundle/Main.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
using SWNM = Skylark.Wing.Native.Methods;
using SWUD = Skylark.Wing.Utility.Desktop;

#if NET6_0_OR_GREATER
#if NET8_0_OR_GREATER
using SWHSR = Skylark.Wing.Helper.ShortcutRuntime;
#endif

Expand Down Expand Up @@ -237,7 +237,7 @@ private static async Task CreateShortcuts()
{
bool CreateDesktopShortcut = true;

#if NET6_0_OR_GREATER
#if NET8_0_OR_GREATER
try
{
SWHSR.Create(Path.GetDirectoryName(DesktopShortcut), Shortcut, Text, null, Launcher, null, Path.GetDirectoryName(Launcher), null, SWNM.WindowStyle.Normal);
Expand Down Expand Up @@ -268,7 +268,7 @@ private static async Task CreateShortcuts()
{
bool CreateStartMenuShortcut = true;

#if NET6_0_OR_GREATER
#if NET8_0_OR_GREATER
try
{
SWHSR.Create(Path.GetDirectoryName(StartMenuProgramsShortcut), Shortcut, Text, null, Launcher, null, Path.GetDirectoryName(Launcher), null, SWNM.WindowStyle.Normal);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion src/Bundle/Sucrose.Bundle/Sucrose.Bundle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Bundle.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Launcher/Sucrose.Launcher/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Launcher/Sucrose.Launcher/App.net7.0-windows.config

This file was deleted.

2 changes: 1 addition & 1 deletion src/Launcher/Sucrose.Launcher/Sucrose.Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Launcher.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
2 changes: 1 addition & 1 deletion src/Library/Sucrose.Manager/Sucrose.Manager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\Manager\ARM64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\Manager\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\Manager\x86</OutputPath>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
2 changes: 1 addition & 1 deletion src/Library/Sucrose.Memory/Sucrose.Memory.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\Memory\ARM64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\Memory\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\Memory\x86</OutputPath>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static class PlatformDll

private static IDllLoadUtils SelectDllLoadUtils()
{
#if NET6_0_OR_GREATER
#if NET8_0_OR_GREATER
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
return new WindowsDllLoadUtils();
Expand Down
2 changes: 1 addition & 1 deletion src/Library/Sucrose.Mpv.NET/Sucrose.Mpv.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\Mpv.NET\ARM64</OutputPath>
<DefineConstants Condition="'$(PlatformTarget)' == 'arm64'">$(DefineConstants);ARM64</DefineConstants>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\Mpv.NET\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\Mpv.NET\x86</OutputPath>
<DefineConstants Condition="'$(PlatformTarget)' == 'x64'">$(DefineConstants);X64</DefineConstants>
<DefineConstants Condition="'$(PlatformTarget)' == 'x86'">$(DefineConstants);X86</DefineConstants>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
2 changes: 1 addition & 1 deletion src/Library/Sucrose.Pipe/Sucrose.Pipe.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\Pipe\ARM64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\Pipe\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\Pipe\x86</OutputPath>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
2 changes: 1 addition & 1 deletion src/Library/Sucrose.Resources/Sucrose.Resources.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\Resources\ARM64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\Resources\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\Resources\x86</OutputPath>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
2 changes: 1 addition & 1 deletion src/Library/Sucrose.Signal/Sucrose.Signal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\Signal\ARM64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\Signal\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\Signal\x86</OutputPath>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<Version>$([System.DateTime]::Today.ToString(yy)).$([System.DateTime]::Today.ToString(MM)).$([System.DateTime]::Today.ToString(dd))</Version>
<DefineConstants Condition="$(TargetFramework.StartsWith('net48'))">$(DefineConstants);LACKS_STREAM_MEMORY_OVERLOADS</DefineConstants>
<OutputPath Condition="'$(PlatformTarget)' == 'arm64'">..\..\Sucrose\Library\XamlAnimatedGif\ARM64</OutputPath>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<OutputPath Condition="'$(PlatformTarget)' == 'x64'">..\..\Sucrose\Library\XamlAnimatedGif\x64</OutputPath>
<OutputPath Condition="'$(PlatformTarget)' == 'x86'">..\..\Sucrose\Library\XamlAnimatedGif\x86</OutputPath>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifiers>win-arm64;win-x64;win-x86</RuntimeIdentifiers>
<AssemblyVersion>$(Version)</AssemblyVersion>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.Aurora/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.Aurora/App.net7.0-windows.config

This file was deleted.

2 changes: 1 addition & 1 deletion src/Live/Sucrose.Live.Aurora/Sucrose.Live.Aurora.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Live.Aurora.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.CefSharp/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.CefSharp/App.net7.0-windows.config

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Live.CefSharp.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.MpvPlayer/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.MpvPlayer/App.net7.0-windows.config

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Live.MpvPlayer.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.Nebula/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.Nebula/App.net7.0-windows.config

This file was deleted.

2 changes: 1 addition & 1 deletion src/Live/Sucrose.Live.Nebula/Sucrose.Live.Nebula.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Live.Nebula.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.Vexana/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.Vexana/App.net7.0-windows.config

This file was deleted.

2 changes: 1 addition & 1 deletion src/Live/Sucrose.Live.Vexana/Sucrose.Live.Vexana.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks>
<ApplicationIcon>Assets\ICO.ico</ApplicationIcon>
<StartupObject>Sucrose.Live.Vexana.App</StartupObject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.WebView/App.net6.0-windows.config

This file was deleted.

3 changes: 0 additions & 3 deletions src/Live/Sucrose.Live.WebView/App.net7.0-windows.config

This file was deleted.

Loading

0 comments on commit 4610173

Please sign in to comment.