Skip to content

Commit 8f1afb6

Browse files
committed
Merge branch 'testing'
2 parents 88791dd + 5326da0 commit 8f1afb6

33 files changed

+1374
-492
lines changed

App.xaml.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public IHost Host
4444
get;
4545
}
4646

47+
public static void ShowNotification(string title, string message, Microsoft.UI.Xaml.Controls.InfoBarSeverity severity, int duration) =>
48+
ShellPage.ShowNotification(title, message, severity, duration);
49+
4750
public static T GetService<T>()
4851
where T : class
4952
{
@@ -115,6 +118,10 @@ protected async override void OnLaunched(LaunchActivatedEventArgs args)
115118
{
116119
base.OnLaunched(args);
117120

121+
// setting custom title bar when the app starts to prevent it from briefly show the standard titlebar
122+
MainWindow.AppWindow.TitleBar.ExtendsContentIntoTitleBar = true;
123+
MainWindow.AppWindow.TitleBar.ButtonBackgroundColor = Microsoft.UI.Colors.Transparent;
124+
118125
if (ApplicationData.Current.LocalSettings.Values.TryGetValue("JustUpdated", out var value))
119126
{
120127
ApplicationData.Current.LocalSettings.Values["JustUpdated"] = false;

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,34 @@
22

33
All notable changes to this branch will be documented in this file.
44

5+
## 1.2.0 - Released
6+
7+
### Added
8+
9+
- Introduced a toggle in the `Optimize` page to disable Service Host splitting for improved performance.
10+
- Added options in the `Features` page to enable or disable Dark Mode and transparency effects without the need to activate Windows.
11+
- Implemented an option in the `Optimize` page to reduce system binary sizes for freeing up disk space.
12+
- Added a switch to disable background apps in the `Optimize`.
13+
- Integrated lazy loading to improve performance when displaying app icons in the `appsTreeView`.
14+
15+
### Fixes
16+
17+
- Resolved issues where certain apps could not be uninstalled.
18+
- Fixed minor translation issues to enhance language support.
19+
- Corrected an issue where Snap Assist wasn't disabled when toggling the corresponding option.
20+
- Fixed a bug causing the taskbar search to be hidden when toggling `Disable Quick History Access`.
21+
- Addressed missing icons on Windows 10 for better visual consistency.
22+
- Resolved an issue where the repair progress bar did not reset after operation completion.
23+
24+
### Changes
25+
26+
- Updated the UI to fallback to Acrylic when Mica material is not supported (Windows 10).
27+
- Optimized the process for retrieving installed apps and improved app removal performance.
28+
- Increased the speed of fetching installed apps to reduce load times.
29+
- Expanded and improved commands for clearing temporary files.
30+
- Enhanced the user experience on the `Debloat` page for better usability.
31+
32+
533
## 1.0.1 - Released
634

735
### Added

Helpers/LogHelper.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using System.Diagnostics;
2+
using System.Text;
23
using Microsoft.UI.Xaml;
34
using Microsoft.UI.Xaml.Controls;
5+
using Microsoft.UI.Xaml.Media;
46
using Windows.Storage;
5-
using System.Text;
67

78
internal class LogHelper
89
{
@@ -26,6 +27,7 @@ private static async Task InitializeErrorMessage(string errorMessage, XamlRoot x
2627
{
2728
Title = "Error",
2829
Style = (Style)Application.Current.Resources["DefaultContentDialogStyle"],
30+
BorderBrush = (SolidColorBrush)Application.Current.Resources["AccentAAFillColorDefaultBrush"],
2931
Content = errorMessage,
3032
CloseButtonText = "Close",
3133
PrimaryButtonText = "Open Logs File",

Helpers/OptimizationOptions.cs

Lines changed: 192 additions & 100 deletions
Large diffs are not rendered by default.

Helpers/OptimizeSystemHelper.cs

Lines changed: 131 additions & 6 deletions
Large diffs are not rendered by default.

MainWindow.xaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
xmlns:windowex="using:WinUIEx"
9-
MinWidth="500"
9+
MinWidth="620"
1010
MinHeight="500"
1111
PersistenceId="MainWindow"
1212
mc:Ignorable="d">
13-
<Window.SystemBackdrop>
14-
<MicaBackdrop/>
15-
</Window.SystemBackdrop>
1613
</windowex:WindowEx>

MainWindow.xaml.cs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
using RyTuneX.Helpers;
2-
32
using Windows.UI.ViewManagement;
3+
using Microsoft.UI.Xaml.Media;
4+
using Microsoft.UI.Composition.SystemBackdrops;
45

56
namespace RyTuneX;
67

78
public sealed partial class MainWindow : WindowEx
89
{
910
private readonly Microsoft.UI.Dispatching.DispatcherQueue dispatcherQueue;
10-
1111
private readonly UISettings settings;
1212

1313
public MainWindow()
@@ -22,9 +22,24 @@ public MainWindow()
2222
dispatcherQueue = Microsoft.UI.Dispatching.DispatcherQueue.GetForCurrentThread();
2323
settings = new UISettings();
2424
settings.ColorValuesChanged += Settings_ColorValuesChanged; // cannot use FrameworkElement.ActualThemeChanged event
25+
26+
// Set the appropriate backdrop
27+
SetBackdrop();
28+
}
29+
30+
private void SetBackdrop()
31+
{
32+
if (MicaController.IsSupported())
33+
{
34+
SystemBackdrop = new MicaBackdrop();
35+
}
36+
else
37+
{
38+
SystemBackdrop = new DesktopAcrylicBackdrop();
39+
}
2540
}
2641

27-
// this handles updating the caption button colors correctly when indows system theme is changed
42+
// this handles updating the caption button colors correctly when windows system theme is changed
2843
// while the app is open
2944
private void Settings_ColorValuesChanged(UISettings sender, object args)
3045
{

Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<Identity
1414
Name="Rayen.RyTuneX"
1515
Publisher="CN=Rayen"
16-
Version="1.0.1.0" />
16+
Version="1.2.0.0" />
1717

1818
<mp:PhoneIdentity PhoneProductId="593c7ba8-f1c9-47cf-a952-7c22b10aac3a" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
1919

RyTuneX.csproj

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
2525
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
2626
<GenerateTestArtifacts>True</GenerateTestArtifacts>
27-
<Version>1.0.1</Version>
27+
<Version>1.2.0</Version>
2828
<Authors>Rayen Ghanmi</Authors>
2929
</PropertyGroup>
3030
<ItemGroup>
@@ -54,12 +54,12 @@
5454
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.1.240916" />
5555
<PackageReference Include="CommunityToolkit.WinUI.Controls.Primitives" Version="8.1.240916" />
5656
<PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.1.240916" />
57-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
58-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
59-
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="9.0.0" />
60-
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
61-
<PackageReference Include="System.Management" Version="9.0.0" />
62-
<PackageReference Include="System.ServiceProcess.ServiceController" Version="9.0.0" />
57+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
58+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.250108002" />
59+
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="9.0.1" />
60+
<PackageReference Include="System.Drawing.Common" Version="9.0.1" />
61+
<PackageReference Include="System.Management" Version="9.0.1" />
62+
<PackageReference Include="System.ServiceProcess.ServiceController" Version="9.0.1" />
6363
<PackageReference Include="vocaluxe.dependencies.netfwtypelib" Version="1.0.1" />
6464
<PackageReference Include="WinUIEx" Version="2.5.0" />
6565
<PackageReference Include="System.Management.Automation" Version="7.4.6" />
@@ -102,10 +102,6 @@
102102
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
103103
<ProjectCapability Include="Msix" />
104104
</ItemGroup>
105-
106-
<PropertyGroup Label="Globals">
107-
<WebView2EnableCsWinRTProjection>False</WebView2EnableCsWinRTProjection>
108-
</PropertyGroup>
109105

110106
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
111107
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>

Services/ThemeSelectorService.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
using Microsoft.UI;
22
using Microsoft.UI.Xaml;
3-
using Microsoft.UI.Xaml.Media.Imaging;
43
using RyTuneX.Contracts.Services;
54
using RyTuneX.Helpers;
6-
using RyTuneX.Views;
7-
using System.IO;
85
using Windows.UI.ViewManagement;
96

107
namespace RyTuneX.Services;

0 commit comments

Comments
 (0)