Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.DataTable" Version="0.1.260617-build.2640" />
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" Version="0.1.260617-build.2640" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
<PackageVersion Include="CsvHelper" Version="33.1.0" />
<PackageVersion Include="CommunityToolkit.WinUI.Controls.HeaderedControls" Version="8.3.260402-preview2" />
<PackageVersion Include="CommunityToolkit.WinUI.Controls.Primitives" Version="8.3.260402-preview2" />
<PackageVersion Include="CommunityToolkit.WinUI.Controls.TabbedCommandBar" Version="8.3.260402-preview2" />
Expand All @@ -14,6 +15,7 @@
<PackageVersion Include="Downloader" Version="5.9.4" />
<PackageVersion Include="LevelDBSharp" Version="1.0.0" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="11.0.0-preview.5.26302.115" />
<PackageVersion Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.2.4" />
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.287" />
<PackageVersion Include="Microsoft.Windows.CsWinRT" Version="2.3.0-prerelease.251115.2" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.28000.2270" />
Expand All @@ -23,9 +25,10 @@
<PackageVersion Include="nucs.JsonSettings.AutoSaveGenerator" Version="2.0.4" />
<PackageVersion Include="PhantomClient" Version="2.0.3" />
<PackageVersion Include="Snappier" Version="1.3.1" />
<PackageVersion Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.4" />
<PackageVersion Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="11.0.0-preview.6.26359.118" />
<PackageVersion Include="Syncfusion.Chart.WinUI" Version="34.1.31" />
<PackageVersion Include="Syncfusion.Grid.WinUI" Version="34.1.31" />
<PackageVersion Include="ValveKeyValue" Version="0.70.0.499" />
</ItemGroup>
</Project>
</Project>
Binary file added src/AutoOS.App/Assets/Fluent/Benchmarks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public partial class BreadcrumbPageMappingsSettings
{ typeof(Views.Settings.UpdatePage), new BreadcrumbPageConfig { PageTitle = null, IsHeaderVisible = false, ClearNavigation = false } },
{ typeof(Views.Settings.BrowsersPage), new BreadcrumbPageConfig { PageTitle = null, IsHeaderVisible = false, ClearNavigation = false } },
{ typeof(Views.Settings.ApplicationsPage), new BreadcrumbPageConfig { PageTitle = null, IsHeaderVisible = false, ClearNavigation = false } },
{ typeof(Views.Settings.BenchmarksPage), new BreadcrumbPageConfig { PageTitle = null, IsHeaderVisible = false, ClearNavigation = false } },
{ typeof(Views.Settings.GamesPage), new BreadcrumbPageConfig { PageTitle = null, IsHeaderVisible = false, ClearNavigation = false } }
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public partial class NavigationPageMappingsSettings
{"AutoOS.Views.Settings.UpdatePage", typeof(AutoOS.Views.Settings.UpdatePage)},
{"AutoOS.Views.Settings.BrowsersPage", typeof(AutoOS.Views.Settings.BrowsersPage)},
{"AutoOS.Views.Settings.ApplicationsPage", typeof(AutoOS.Views.Settings.ApplicationsPage)},
{"AutoOS.Views.Settings.BenchmarksPage", typeof(AutoOS.Views.Settings.BenchmarksPage)},
{"AutoOS.Views.Settings.GamesPage", typeof(AutoOS.Views.Settings.GamesPage)}
};
}
7 changes: 7 additions & 0 deletions src/AutoOS.App/Assets/NavViewMenu/Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@
"ImagePath": "ms-appx:///Assets/Fluent/Applications.png",
"HideItem": true
},
{
"UniqueId": "AutoOS.Views.Settings.BenchmarksPage",
"Title": "Benchmarks",
"Subtitle": "Benchmarks",
"ImagePath": "ms-appx:///Assets/Fluent/Benchmarks.png",
"HideItem": true
},
{
"UniqueId": "AutoOS.Views.Settings.GamesPage",
"Title": "Games",
Expand Down
226 changes: 115 additions & 111 deletions src/AutoOS.App/AutoOS.App.csproj
Original file line number Diff line number Diff line change
@@ -1,68 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<RootNamespace>AutoOS</RootNamespace>
<AssemblyName>AutoOS</AssemblyName>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
<UseWinUI>true</UseWinUI>
<WinUISDKReferences>false</WinUISDKReferences>
<EnableMsixTooling>true</EnableMsixTooling>
<TrimMode>partial</TrimMode>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<IsAotCompatible>true</IsAotCompatible>
<CsWinRTAotWarningLevel>2</CsWinRTAotWarningLevel>
<WindowsPackageType>MSIX</WindowsPackageType>
<ApplicationIcon>Assets\AppIcon.ico</ApplicationIcon>
<Version>1.4.6.1</Version>
<!--Remove git hash from assembly informational version in .NET >= 8, Example: false = 1.0.0, true = 1.0.0+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<PropertyGroup>
<OutputType>WinExe</OutputType>
<RootNamespace>AutoOS</RootNamespace>
<AssemblyName>AutoOS</AssemblyName>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
<UseWinUI>true</UseWinUI>
<WinUISDKReferences>false</WinUISDKReferences>
<EnableMsixTooling>true</EnableMsixTooling>
<TrimMode>partial</TrimMode>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<IsAotCompatible>true</IsAotCompatible>
<CsWinRTAotWarningLevel>2</CsWinRTAotWarningLevel>
<WindowsPackageType>MSIX</WindowsPackageType>
<ApplicationIcon>Assets\AppIcon.ico</ApplicationIcon>
<Version>1.4.6.1</Version>
<!--Remove git hash from assembly informational version in .NET >= 8, Example: false = 1.0.0, true = 1.0.0+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>

<!-- Publish Properties -->
<PropertyGroup>
<PublishAot>False</PublishAot>
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
<SelfContained Condition="'$(Configuration)' != 'Debug'">True</SelfContained>
<DefaultItemExcludes>$(DefaultItemExcludes);AppPackages\**</DefaultItemExcludes>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateKeyFile>C:\Users\AutoOS\Desktop\AutoOS\AutoOS_TemporaryKey.pfx</PackageCertificateKeyFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>False</GenerateTestArtifacts>
<AppxBundle>Never</AppxBundle>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>
<!-- Publish Properties -->
<PropertyGroup>
<PublishAot>False</PublishAot>
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
<SelfContained Condition="'$(Configuration)' != 'Debug'">True</SelfContained>
<DefaultItemExcludes>$(DefaultItemExcludes);AppPackages\**</DefaultItemExcludes>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateKeyFile>C:\Users\AutoOS\Desktop\AutoOS\AutoOS_TemporaryKey.pfx</PackageCertificateKeyFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>False</GenerateTestArtifacts>
<AppxBundle>Never</AppxBundle>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>

<ItemGroup>
<Content Include="Assets\NavViewMenu\Installer.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Assets\NavViewMenu\Settings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\NavViewMenu\Installer.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Assets\NavViewMenu\Settings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<None Include="Assets\**\*">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Include="Assets\**\*">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</None>
</ItemGroup>

<ItemGroup>
<Manifest Include="$(ApplicationManifest)" />
<None Include="..\AutoOS.Core\NativeMethods.txt" Link="NativeMethods.txt" />
<None Include="..\AutoOS.Core\NativeMethods.json" Link="NativeMethods.json" />
</ItemGroup>
<ItemGroup>
<Manifest Include="$(ApplicationManifest)" />
<None Include="..\AutoOS.Core\NativeMethods.txt" Link="NativeMethods.txt" />
<None Include="..\AutoOS.Core\NativeMethods.json" Link="NativeMethods.json" />
</ItemGroup>

<ItemGroup>
<TrimmerRootAssembly Include="Syncfusion.Calendar.WinUI" />
<TrimmerRootAssembly Include="Syncfusion.Chart.WinUI" />
<TrimmerRootAssembly Include="Syncfusion.Core.WinUI" />
<TrimmerRootAssembly Include="Syncfusion.Data.WinUI" />
<TrimmerRootAssembly Include="Syncfusion.Editors.WinUI" />
Expand All @@ -75,69 +76,72 @@
Tools extension to be activated for this project even if the Windows App SDK Nuget
package has not yet been restored.
-->
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<ProjectCapability Include="Msix" />
</ItemGroup>
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<ProjectCapability Include="Msix" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.DataTable" />
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" />
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.HeaderedControls" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.Primitives" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.TabbedCommandBar" />
<PackageReference Include="CommunityToolkit.WinUI.Converters" />
<PackageReference Include="DevWinUI" />
<PackageReference Include="Microsoft.Windows.CsWin32" />
<PackageReference Include="Microsoft.Windows.CsWinRT" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="nucs.JsonSettings" />
<PackageReference Include="nucs.JsonSettings.AutoSaveGenerator" />
<PackageReference Include="System.ServiceProcess.ServiceController" />
<PackageReference Include="Syncfusion.Grid.WinUI" />
<PackageReference Include="ValveKeyValue" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.DataTable" />
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" />
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.HeaderedControls" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.Primitives" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.TabbedCommandBar" />
<PackageReference Include="CommunityToolkit.WinUI.Converters" />
<PackageReference Include="CsvHelper" />
<PackageReference Include="DevWinUI" />
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" />
<PackageReference Include="Microsoft.Windows.CsWin32" />
<PackageReference Include="Microsoft.Windows.CsWinRT" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="nucs.JsonSettings" />
<PackageReference Include="nucs.JsonSettings.AutoSaveGenerator" />
<PackageReference Include="System.ServiceProcess.ServiceController" />
<PackageReference Include="Syncfusion.Chart.WinUI" />
<PackageReference Include="Syncfusion.Grid.WinUI" />
<PackageReference Include="ValveKeyValue" />
</ItemGroup>

<ItemGroup Condition="'$(CppBuiltSeparately)' != 'true'">
<ProjectReference Include="..\AutoOS.App.Sound\AutoOS.App.Sound.vcxproj" ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AutoOS.Core\AutoOS.Core.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(CppBuiltSeparately)' != 'true'">
<ProjectReference Include="..\AutoOS.App.Sound\AutoOS.App.Sound.vcxproj" ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AutoOS.Core\AutoOS.Core.csproj" />
</ItemGroup>

<ItemGroup>
<Content Include="..\AutoOS.App.Sound\x64\$(Configuration)\AutoOS.Sound.exe" Link="AutoOS.Sound.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="..\AutoOS.App.Sound\x64\$(Configuration)\AutoOS.Sound.exe" Link="AutoOS.Sound.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<Content Include="$(NuGetPackageRoot)leveldbsharp\$(LevelDBSharpPackageVersion)\runtimes\win-x64\native\leveldb.dll" Condition="'$(Platform)' == 'x64'">
<Link>runtimes\win-x64\native\leveldb.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(NuGetPackageRoot)leveldbsharp\$(LevelDBSharpPackageVersion)\runtimes\win-arm64\native\leveldb.dll" Condition="'$(Platform)' == 'ARM64'">
<Link>runtimes\win-arm64\native\leveldb.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(NuGetPackageRoot)leveldbsharp\$(LevelDBSharpPackageVersion)\runtimes\win-x86\native\leveldb.dll" Condition="'$(Platform)' == 'x86'">
<Link>runtimes\win-x86\native\leveldb.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(NuGetPackageRoot)leveldbsharp\$(LevelDBSharpPackageVersion)\runtimes\win-x64\native\leveldb.dll" Condition="'$(Platform)' == 'x64'">
<Link>runtimes\win-x64\native\leveldb.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(NuGetPackageRoot)leveldbsharp\$(LevelDBSharpPackageVersion)\runtimes\win-arm64\native\leveldb.dll" Condition="'$(Platform)' == 'ARM64'">
<Link>runtimes\win-arm64\native\leveldb.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(NuGetPackageRoot)leveldbsharp\$(LevelDBSharpPackageVersion)\runtimes\win-x86\native\leveldb.dll" Condition="'$(Platform)' == 'x86'">
<Link>runtimes\win-x86\native\leveldb.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<!--
<!--
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
Explorer "Package and Publish" context menu entry to be enabled for this project even if
the Windows App SDK Nuget package has not yet been restored.
-->
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
</PropertyGroup>
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
</PropertyGroup>

<Target Name="GetVersion">
<Message Importance="High" Text="$(Version)" />
</Target>
<Target Name="GetVersion">
<Message Importance="High" Text="$(Version)" />
</Target>
</Project>
Loading