diff --git a/HarmonyWinUI/App.xaml b/HarmonyWinUI/App.xaml new file mode 100644 index 0000000..895e3c9 --- /dev/null +++ b/HarmonyWinUI/App.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/HarmonyWinUI/App.xaml.cs b/HarmonyWinUI/App.xaml.cs new file mode 100644 index 0000000..ac26493 --- /dev/null +++ b/HarmonyWinUI/App.xaml.cs @@ -0,0 +1,50 @@ +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Microsoft.UI.Xaml.Controls.Primitives; +using Microsoft.UI.Xaml.Data; +using Microsoft.UI.Xaml.Input; +using Microsoft.UI.Xaml.Media; +using Microsoft.UI.Xaml.Navigation; +using Microsoft.UI.Xaml.Shapes; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.Foundation; +using Windows.Foundation.Collections; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace HarmonyWinUI +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + public partial class App : Application + { + private Window? _window; + + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + InitializeComponent(); + } + + /// + /// Invoked when the application is launched. + /// + /// Details about the launch request and process. + protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) + { + _window = new MainWindow(); + _window.Activate(); + } + } +} diff --git a/HarmonyWinUI/Assets/LockScreenLogo.scale-200.png b/HarmonyWinUI/Assets/LockScreenLogo.scale-200.png new file mode 100644 index 0000000..7440f0d Binary files /dev/null and b/HarmonyWinUI/Assets/LockScreenLogo.scale-200.png differ diff --git a/HarmonyWinUI/Assets/SplashScreen.scale-200.png b/HarmonyWinUI/Assets/SplashScreen.scale-200.png new file mode 100644 index 0000000..32f486a Binary files /dev/null and b/HarmonyWinUI/Assets/SplashScreen.scale-200.png differ diff --git a/HarmonyWinUI/Assets/Square150x150Logo.scale-200.png b/HarmonyWinUI/Assets/Square150x150Logo.scale-200.png new file mode 100644 index 0000000..53ee377 Binary files /dev/null and b/HarmonyWinUI/Assets/Square150x150Logo.scale-200.png differ diff --git a/HarmonyWinUI/Assets/Square44x44Logo.scale-200.png b/HarmonyWinUI/Assets/Square44x44Logo.scale-200.png new file mode 100644 index 0000000..f713bba Binary files /dev/null and b/HarmonyWinUI/Assets/Square44x44Logo.scale-200.png differ diff --git a/HarmonyWinUI/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/HarmonyWinUI/Assets/Square44x44Logo.targetsize-24_altform-unplated.png new file mode 100644 index 0000000..dc9f5be Binary files /dev/null and b/HarmonyWinUI/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ diff --git a/HarmonyWinUI/Assets/StoreLogo.png b/HarmonyWinUI/Assets/StoreLogo.png new file mode 100644 index 0000000..a4586f2 Binary files /dev/null and b/HarmonyWinUI/Assets/StoreLogo.png differ diff --git a/HarmonyWinUI/Assets/Wide310x150Logo.scale-200.png b/HarmonyWinUI/Assets/Wide310x150Logo.scale-200.png new file mode 100644 index 0000000..8b4a5d0 Binary files /dev/null and b/HarmonyWinUI/Assets/Wide310x150Logo.scale-200.png differ diff --git a/HarmonyWinUI/HarmonyWinUI.csproj b/HarmonyWinUI/HarmonyWinUI.csproj new file mode 100644 index 0000000..dfc8361 --- /dev/null +++ b/HarmonyWinUI/HarmonyWinUI.csproj @@ -0,0 +1,48 @@ + + + + WinExe + + net8.0-windows10.0.19041.0 + 10.0.17763.0 + + HarmonyWinUI + app.manifest + + x64;ARM64 + win-x64;win-arm64 + + true + false + + + None + + + true + true + + enable + + + false + true + + false + + + + + + + + + + + + + \ No newline at end of file diff --git a/HarmonyWinUI/HarmonyWinUI.csproj.user b/HarmonyWinUI/HarmonyWinUI.csproj.user new file mode 100644 index 0000000..04baafa --- /dev/null +++ b/HarmonyWinUI/HarmonyWinUI.csproj.user @@ -0,0 +1,20 @@ + + + + ProjectDebugger + + + HarmonyWinUI (Unpackaged) + + + + Designer + + + Designer + + + Designer + + + \ No newline at end of file diff --git a/HarmonyWinUI/HarmonyWinUI.slnx b/HarmonyWinUI/HarmonyWinUI.slnx new file mode 100644 index 0000000..056e692 --- /dev/null +++ b/HarmonyWinUI/HarmonyWinUI.slnx @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/HarmonyWinUI/MainWindow.xaml b/HarmonyWinUI/MainWindow.xaml new file mode 100644 index 0000000..71f55ce --- /dev/null +++ b/HarmonyWinUI/MainWindow.xaml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/HarmonyWinUI/MainWindow.xaml.cs b/HarmonyWinUI/MainWindow.xaml.cs new file mode 100644 index 0000000..5b17413 --- /dev/null +++ b/HarmonyWinUI/MainWindow.xaml.cs @@ -0,0 +1,31 @@ +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Microsoft.UI.Xaml.Controls.Primitives; +using Microsoft.UI.Xaml.Data; +using Microsoft.UI.Xaml.Input; +using Microsoft.UI.Xaml.Media; +using Microsoft.UI.Xaml.Navigation; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.Foundation; +using Windows.Foundation.Collections; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace HarmonyWinUI +{ + /// + /// An empty window that can be used on its own or navigated to within a Frame. + /// + public sealed partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/HarmonyWinUI/Package.appxmanifest b/HarmonyWinUI/Package.appxmanifest new file mode 100644 index 0000000..54f4843 --- /dev/null +++ b/HarmonyWinUI/Package.appxmanifest @@ -0,0 +1,53 @@ + + + + + + + + + + HarmonyWinUI + igor + Assets\StoreLogo.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HarmonyWinUI/Properties/PublishProfiles/win-arm64.pubxml b/HarmonyWinUI/Properties/PublishProfiles/win-arm64.pubxml new file mode 100644 index 0000000..8953cce --- /dev/null +++ b/HarmonyWinUI/Properties/PublishProfiles/win-arm64.pubxml @@ -0,0 +1,14 @@ + + + + + FileSystem + ARM64 + win-arm64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + + \ No newline at end of file diff --git a/HarmonyWinUI/Properties/PublishProfiles/win-x64.pubxml b/HarmonyWinUI/Properties/PublishProfiles/win-x64.pubxml new file mode 100644 index 0000000..cd99561 --- /dev/null +++ b/HarmonyWinUI/Properties/PublishProfiles/win-x64.pubxml @@ -0,0 +1,14 @@ + + + + + FileSystem + x64 + win-x64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + + \ No newline at end of file diff --git a/HarmonyWinUI/Properties/PublishProfiles/win-x86.pubxml b/HarmonyWinUI/Properties/PublishProfiles/win-x86.pubxml new file mode 100644 index 0000000..a70c694 --- /dev/null +++ b/HarmonyWinUI/Properties/PublishProfiles/win-x86.pubxml @@ -0,0 +1,14 @@ + + + + + FileSystem + x86 + win-x86 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + + \ No newline at end of file diff --git a/HarmonyWinUI/Properties/launchSettings.json b/HarmonyWinUI/Properties/launchSettings.json new file mode 100644 index 0000000..98cd17d --- /dev/null +++ b/HarmonyWinUI/Properties/launchSettings.json @@ -0,0 +1,10 @@ +{ + "profiles": { + "HarmonyWinUI (Package)": { + "commandName": "MsixPackage" + }, + "HarmonyWinUI (Unpackaged)": { + "commandName": "Project" + } + } +} \ No newline at end of file diff --git a/HarmonyWinUI/app.manifest b/HarmonyWinUI/app.manifest new file mode 100644 index 0000000..11c1c2a --- /dev/null +++ b/HarmonyWinUI/app.manifest @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + PerMonitorV2 + + + \ No newline at end of file