From f8e578fda92badac015c29c0b3f7698590867afb Mon Sep 17 00:00:00 2001 From: pdjdev Date: Fri, 14 Aug 2026 15:14:47 +0900 Subject: [PATCH] refactor: organize project structure and fix nullable warnings --- Battify/App.xaml | 2 +- Battify/App.xaml.cs | 2 +- Battify/Battify.csproj | 5 +++-- .../{ => Configuration}/Settings.Designer.cs | 8 +++++--- Battify/{ => Configuration}/Settings.settings | 0 Battify/{ => Controls}/DarkMenuRenderer.cs | 0 Battify/{ => Controls}/TrayControl.Designer.cs | 0 Battify/{ => Controls}/TrayControl.cs | 2 -- Battify/{ => Controls}/TrayControl.resx | 0 Battify/{ => Services}/BatteryInfoGetter.cs | 10 +++++----- Battify/{ => Services}/Localizer.cs | 0 Battify/{ => Services}/MsixStartupSetter.cs | 0 Battify/{ => Services}/StartupSetter.cs | 2 +- Battify/{ => Services}/WindowsInfoGetter.cs | 0 Battify/{ => Views}/BatteryInfoWindow.xaml | 0 Battify/{ => Views}/BatteryInfoWindow.xaml.cs | 0 Battify/{ => Views}/MainWindow.xaml | 0 Battify/{ => Views}/MainWindow.xaml.cs | 6 +++--- Battify/{ => Views}/TrayGuideWindow.xaml | 0 Battify/{ => Views}/TrayGuideWindow.xaml.cs | 0 Battify/icon.png | Bin 15578 -> 0 bytes Battify/icon_old.ico | Bin 115110 -> 0 bytes 22 files changed, 19 insertions(+), 18 deletions(-) rename Battify/{ => Configuration}/Settings.Designer.cs (98%) rename Battify/{ => Configuration}/Settings.settings (100%) rename Battify/{ => Controls}/DarkMenuRenderer.cs (100%) rename Battify/{ => Controls}/TrayControl.Designer.cs (100%) rename Battify/{ => Controls}/TrayControl.cs (98%) rename Battify/{ => Controls}/TrayControl.resx (100%) rename Battify/{ => Services}/BatteryInfoGetter.cs (96%) rename Battify/{ => Services}/Localizer.cs (100%) rename Battify/{ => Services}/MsixStartupSetter.cs (100%) rename Battify/{ => Services}/StartupSetter.cs (95%) rename Battify/{ => Services}/WindowsInfoGetter.cs (100%) rename Battify/{ => Views}/BatteryInfoWindow.xaml (100%) rename Battify/{ => Views}/BatteryInfoWindow.xaml.cs (100%) rename Battify/{ => Views}/MainWindow.xaml (100%) rename Battify/{ => Views}/MainWindow.xaml.cs (98%) rename Battify/{ => Views}/TrayGuideWindow.xaml (100%) rename Battify/{ => Views}/TrayGuideWindow.xaml.cs (100%) delete mode 100644 Battify/icon.png delete mode 100644 Battify/icon_old.ico diff --git a/Battify/App.xaml b/Battify/App.xaml index 87f05dd..91c0a04 100644 --- a/Battify/App.xaml +++ b/Battify/App.xaml @@ -2,7 +2,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Battify" - StartupUri="MainWindow.xaml"> + StartupUri="Views/MainWindow.xaml">