diff --git a/AboutWindow.xaml.cs b/AboutWindow.xaml.cs index 4444740..e0d33a2 100644 --- a/AboutWindow.xaml.cs +++ b/AboutWindow.xaml.cs @@ -14,7 +14,7 @@ public partial class AboutWindow : Window AuthorText.Text = AppInfo.Author; VersionText.Text = AppInfo.Version; BuildText.Text = AppInfo.Build; - ConfigPathText.Text = ConfigService.ConfigPath; + ConfigPathText.Text = "config.json beside TaskbarLauncher.exe"; if (string.IsNullOrWhiteSpace(AppInfo.GiveawaySiteUrl)) { diff --git a/App.xaml.cs b/App.xaml.cs index a926271..3acd1ea 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -13,6 +13,19 @@ public partial class App : System.Windows.Application ThemeService.Apply(); controller = new LauncherController(); controller.Start(); + + if (e.Args.Contains("--show-settings", StringComparer.OrdinalIgnoreCase)) + { + controller.ShowSettings(); + } + else if (e.Args.Contains("--show-about", StringComparer.OrdinalIgnoreCase)) + { + controller.ShowAbout(); + } + else if (e.Args.Contains("--show-launcher", StringComparer.OrdinalIgnoreCase)) + { + controller.TogglePopup(); + } } protected override void OnExit(System.Windows.ExitEventArgs e) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index c312fe0..4101d12 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -54,7 +54,7 @@ public partial class MainWindow : Window HotkeyBox.Text = controller.Config.Hotkey; DisplayModeBox.SelectedItem = controller.Config.DisplayMode; LoadStartupState(); - StatusText.Text = $"Config file: {ConfigService.ConfigPath}"; + StatusText.Text = "Config file: config.json beside TaskbarLauncher.exe"; if (itemToSelect is not null && SelectTreeItem(itemToSelect)) { selectedItem = itemToSelect; diff --git a/README.md b/README.md index 1ac5114..95d8423 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,20 @@ Download the compiled Windows release from: - Optional Start with Windows shortcut - Windows light/dark theme support +## Screenshots + +### Launcher Popup + +![Taskbar Launcher popup](docs/screenshots/launcher-popup.png) + +### Settings + +![Taskbar Launcher settings](docs/screenshots/settings-window.png) + +### About + +![Taskbar Launcher about window](docs/screenshots/about-window.png) + ## Project Layout ```text diff --git a/docs/screenshots/about-window.png b/docs/screenshots/about-window.png new file mode 100644 index 0000000..eccad61 Binary files /dev/null and b/docs/screenshots/about-window.png differ diff --git a/docs/screenshots/launcher-popup.png b/docs/screenshots/launcher-popup.png new file mode 100644 index 0000000..1e94d5c Binary files /dev/null and b/docs/screenshots/launcher-popup.png differ diff --git a/docs/screenshots/settings-window.png b/docs/screenshots/settings-window.png new file mode 100644 index 0000000..2d3dc62 Binary files /dev/null and b/docs/screenshots/settings-window.png differ