From 0638d357ecbad25006dbefcb028aaae949aba305 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Tue, 19 Nov 2024 14:33:40 -0800 Subject: [PATCH 01/68] Update dependencies to stable --- FluentAutoClicker/FluentAutoClicker.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index f438d4c..bf50a7e 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -32,7 +32,7 @@ win-$(Platform).pubxml true true - 10.0.19041.35-preview + 10.0.19041.57 true Fluent Auto Clicker Assets\WindowIcon.ico @@ -49,8 +49,8 @@ - - + + From 2036f128cd7e72c0ecf74e8d46546826b00e32e8 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Tue, 19 Nov 2024 15:23:52 -0800 Subject: [PATCH 02/68] Migrate to WinUIEx.TitleBar --- FluentAutoClicker/MainWindow.xaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/FluentAutoClicker/MainWindow.xaml b/FluentAutoClicker/MainWindow.xaml index b3d547a..ae5413c 100644 --- a/FluentAutoClicker/MainWindow.xaml +++ b/FluentAutoClicker/MainWindow.xaml @@ -45,11 +45,7 @@ - - - + From 39d72743cf41778e8fe21fcdc6de2efd14dcf864 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Tue, 19 Nov 2024 17:36:40 -0800 Subject: [PATCH 03/68] Simplify build profiles --- FluentAutoClicker/FluentAutoClicker.csproj | 40 ++++++++++--------- .../PublishProfiles/win-arm64.pubxml | 7 +--- .../Properties/PublishProfiles/win-x64.pubxml | 7 +--- .../Properties/PublishProfiles/win-x86.pubxml | 7 +--- 4 files changed, 25 insertions(+), 36 deletions(-) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index bf50a7e..06121e9 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -25,33 +25,24 @@ FluentAutoClicker app.manifest x86;x64;ARM64 - win-x86;win-x64;win-arm64 - win10-x86;win10-x64;win10-arm64 - 8305 - WMC1501 + win-x86;win-x64;win-arm64 win-$(Platform).pubxml true true - 10.0.19041.57 - true - Fluent Auto Clicker - Assets\WindowIcon.ico - - - - - - + + + + + + + - - - - + + + False + True + False + True + \ No newline at end of file diff --git a/FluentAutoClicker/Properties/PublishProfiles/win-arm64.pubxml b/FluentAutoClicker/Properties/PublishProfiles/win-arm64.pubxml index 06da89e..8953cce 100644 --- a/FluentAutoClicker/Properties/PublishProfiles/win-arm64.pubxml +++ b/FluentAutoClicker/Properties/PublishProfiles/win-arm64.pubxml @@ -6,14 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121. FileSystem ARM64 - win-arm64 - win10-arm64 + win-arm64 bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ true False - False - True - False - True \ No newline at end of file diff --git a/FluentAutoClicker/Properties/PublishProfiles/win-x64.pubxml b/FluentAutoClicker/Properties/PublishProfiles/win-x64.pubxml index 3568f8d..cd99561 100644 --- a/FluentAutoClicker/Properties/PublishProfiles/win-x64.pubxml +++ b/FluentAutoClicker/Properties/PublishProfiles/win-x64.pubxml @@ -6,14 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121. FileSystem x64 - win-x64 - win10-x64 + win-x64 bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ true False - False - True - False - True \ No newline at end of file diff --git a/FluentAutoClicker/Properties/PublishProfiles/win-x86.pubxml b/FluentAutoClicker/Properties/PublishProfiles/win-x86.pubxml index 4ed30a5..a70c694 100644 --- a/FluentAutoClicker/Properties/PublishProfiles/win-x86.pubxml +++ b/FluentAutoClicker/Properties/PublishProfiles/win-x86.pubxml @@ -6,14 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121. FileSystem x86 - win-x86 - win10-x86 + win-x86 bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ true False - False - True - False - True \ No newline at end of file From bb1dcc3d3a5ef5ab523c31dd93896724e6231dd8 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Tue, 19 Nov 2024 22:57:50 -0800 Subject: [PATCH 04/68] Add author to file details --- FluentAutoClicker/FluentAutoClicker.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index 06121e9..a4cfe41 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -29,6 +29,8 @@ win-$(Platform).pubxml true true + Ryan Luu + Copyright (C) 2024 Ryan Luu From 7cd32f2469d2704f5e3cc8a1161107c221e6def2 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 20 Nov 2024 13:44:34 -0800 Subject: [PATCH 05/68] Refactor to use generic Marshal.SizeOf method --- FluentAutoClicker/Helpers/AutoClicker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FluentAutoClicker/Helpers/AutoClicker.cs b/FluentAutoClicker/Helpers/AutoClicker.cs index 70bb12e..52bf9f6 100644 --- a/FluentAutoClicker/Helpers/AutoClicker.cs +++ b/FluentAutoClicker/Helpers/AutoClicker.cs @@ -88,7 +88,7 @@ private static void MouseEvent(int dx, int dy, uint dwFlags, uint dwData, uint t var inputs = new Input[2]; inputs[0] = MouseInput(dx, dy, dwData, dwFlags, time, dwExtraInfo); inputs[1] = MouseInput(dx, dy, dwData, dwFlags, time, dwExtraInfo); - SendInput((uint)inputs.Length, inputs, Marshal.SizeOf(typeof(Input))); + SendInput((uint)inputs.Length, inputs, Marshal.SizeOf()); } private static Input MouseInput(int dx, int dy, uint mouseData, uint dwFlags, uint time, nint dwExtraInfo) From e95305b669b5789a87e3593921f90efca0122df2 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 20 Nov 2024 13:45:15 -0800 Subject: [PATCH 06/68] Enable Native AOT compilation during Release publish --- FluentAutoClicker/FluentAutoClicker.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index a4cfe41..95613e0 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -72,6 +72,8 @@ + False + True False True False From 481fe450fa9a53f4dfa57e86f6548e22fa152108 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 20 Nov 2024 13:57:50 -0800 Subject: [PATCH 07/68] Update .NET framework --- FluentAutoClicker/FluentAutoClicker.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index 95613e0..400eccd 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -20,8 +20,9 @@ WinExe - net8.0-windows10.0.19041.0 + net9.0-windows10.0.22621.0 10.0.17763.0 + 10.0.22621.38 FluentAutoClicker app.manifest x86;x64;ARM64 From 4d8044740b3437fd20831e69aa302d54a388d6b5 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 20 Nov 2024 14:36:20 -0800 Subject: [PATCH 08/68] Fix AOT warnings for WebView --- FluentAutoClicker/FluentAutoClicker.csproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index 400eccd..ba16e2a 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -61,6 +61,9 @@ + + False + - - + WinExe net9.0-windows10.0.22621.0 From 364cf78418739286200939a32ca7e048d6ab208f Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 20 Nov 2024 16:40:01 -0800 Subject: [PATCH 10/68] Update copyright notice for .xaml files --- FluentAutoClicker/App.xaml | 6 ++---- FluentAutoClicker/MainPage.xaml | 6 ++---- FluentAutoClicker/MainWindow.xaml | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/FluentAutoClicker/App.xaml b/FluentAutoClicker/App.xaml index 64214c3..80a059d 100644 --- a/FluentAutoClicker/App.xaml +++ b/FluentAutoClicker/App.xaml @@ -1,7 +1,6 @@ - + along with Fluent Auto Clicker. If not, see .--> - + along with Fluent Auto Clicker. If not, see .--> - + along with Fluent Auto Clicker. If not, see .--> Date: Wed, 20 Nov 2024 19:57:31 -0800 Subject: [PATCH 11/68] Remove copyright notice --- .../Strings/en-us/Resources.resw | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/FluentAutoClicker/Strings/en-us/Resources.resw b/FluentAutoClicker/Strings/en-us/Resources.resw index e75eea6..468f297 100644 --- a/FluentAutoClicker/Strings/en-us/Resources.resw +++ b/FluentAutoClicker/Strings/en-us/Resources.resw @@ -1,24 +1,4 @@  - - - - + + + + + From e2a8df05d1a33b6b8abc3c321f4e8bf92ba4dee4 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 20 Nov 2024 19:58:19 -0800 Subject: [PATCH 13/68] Slightly increase min width --- FluentAutoClicker/MainWindow.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FluentAutoClicker/MainWindow.xaml b/FluentAutoClicker/MainWindow.xaml index 98207ce..ad6d1e8 100644 --- a/FluentAutoClicker/MainWindow.xaml +++ b/FluentAutoClicker/MainWindow.xaml @@ -27,7 +27,7 @@ xmlns:windowex="using:WinUIEx" Width="400" Height="340" - MinWidth="340" + MinWidth="360" MinHeight="340" IsAlwaysOnTop="True" mc:Ignorable="d"> From 70d6458c26729e12e8a097ea020063f15838febf Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Thu, 21 Nov 2024 10:36:00 -0800 Subject: [PATCH 14/68] Simplify titlebar --- FluentAutoClicker/MainWindow.xaml.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/FluentAutoClicker/MainWindow.xaml.cs b/FluentAutoClicker/MainWindow.xaml.cs index 75f9ab4..da8d53c 100644 --- a/FluentAutoClicker/MainWindow.xaml.cs +++ b/FluentAutoClicker/MainWindow.xaml.cs @@ -33,11 +33,9 @@ public MainWindow() { InitializeComponent(); - Title = "AppDisplayName".GetLocalized(); ExtendsContentIntoTitleBar = true; - SetTitleBar(AppTitleBar); + Title = "AppDisplayName".GetLocalized(); AppWindow.SetIcon("Assets/WindowIcon.ico"); - AppTitleBar.Title = "AppDisplayName".GetLocalized(); } } \ No newline at end of file From a75953f01681b46ac405fae6bec7b965822988d2 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Thu, 21 Nov 2024 10:44:10 -0800 Subject: [PATCH 15/68] Update manifest keys for publisher --- FluentAutoClicker/Package.appxmanifest | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/FluentAutoClicker/Package.appxmanifest b/FluentAutoClicker/Package.appxmanifest index 7067732..43f5906 100644 --- a/FluentAutoClicker/Package.appxmanifest +++ b/FluentAutoClicker/Package.appxmanifest @@ -8,15 +8,15 @@ IgnorableNamespaces="uap rescap"> + Name="RyanLuu.FluentAutoClicker" + Publisher="CN=Ryan Luu" + Version="1.0.0.0" /> - ms-resource:AppDisplayName - ryanl + ms-resource:AppDisplayName + Ryan Luu Assets\StoreLogo.png From 6183fefeff3f4a363aa067bdab5f85d4355b5750 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Thu, 21 Nov 2024 11:55:16 -0800 Subject: [PATCH 16/68] Update publisher information --- FluentAutoClicker/Package.appxmanifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FluentAutoClicker/Package.appxmanifest b/FluentAutoClicker/Package.appxmanifest index 43f5906..b54ee96 100644 --- a/FluentAutoClicker/Package.appxmanifest +++ b/FluentAutoClicker/Package.appxmanifest @@ -9,7 +9,7 @@ From 034cb4d99f8d58e7e332ed8a886de371e7c1eeb8 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Thu, 21 Nov 2024 14:57:18 -0800 Subject: [PATCH 17/68] Simplify included assets --- FluentAutoClicker/FluentAutoClicker.csproj | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/FluentAutoClicker/FluentAutoClicker.csproj b/FluentAutoClicker/FluentAutoClicker.csproj index 228609f..d5ad542 100644 --- a/FluentAutoClicker/FluentAutoClicker.csproj +++ b/FluentAutoClicker/FluentAutoClicker.csproj @@ -16,13 +16,7 @@ - - - - - - - + From 315d7df72db26e8242a6e8fc0eb3bc2c34f5fce3 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Thu, 21 Nov 2024 16:47:34 -0800 Subject: [PATCH 18/68] Fix tooltips being too wide --- FluentAutoClicker/MainPage.xaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/FluentAutoClicker/MainPage.xaml b/FluentAutoClicker/MainPage.xaml index 2bb08c9..dc47f02 100644 --- a/FluentAutoClicker/MainPage.xaml +++ b/FluentAutoClicker/MainPage.xaml @@ -41,7 +41,10 @@ Grid.ColumnSpan="2" HorizontalAlignment="Stretch" Spacing="{StaticResource StackPanelRowSpacing}"> - + @@ -109,7 +112,10 @@ - +