Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
angelwzr committed Jun 1, 2020
1 parent 5ad6c0d commit 56e07e1
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 76 deletions.
7 changes: 2 additions & 5 deletions darker.app/App.xaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<Application x:Class="darker.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:darker"
xmlns:ui="http://schemas.modernwpf.com/2019">
xmlns:local="clr-namespace:darker">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Resources/Themes/DarkTheme.xaml"/>
</ResourceDictionary.MergedDictionaries>

</ResourceDictionary>
</Application.Resources>
</Application>
185 changes: 115 additions & 70 deletions darker.app/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion darker.app/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:res="clr-namespace:darker.Properties"
mc:Ignorable="d"
Title="{x:Static res:Resources.SettingsButton}" Height="450" Width="600" ResizeMode="NoResize"
Title="{x:Static res:Properties.SettingsButton}" Height="450" Width="600" ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
Loaded="Window_Loaded">
<TabControl>
Expand Down
4 changes: 4 additions & 0 deletions darker.setup/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ VersionInfoProductVersion=1.1.0.0
SourceDir=C:\Users\angel\source\repos\darker\darker.setup
MinVersion=0,10.0.18362
UninstallDisplayIcon={app}\darker.exe
VersionInfoDescription=darker is a tray application for quick theme (dark/light mode) switching on Windows 10

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Expand All @@ -43,6 +44,9 @@ Source: "C:\Users\angel\source\repos\darker\darker.app\bin\Release\netcoreapp3.1
Source: "C:\Users\angel\source\repos\darker\darker.app\bin\Release\netcoreapp3.1\publish\NotifyIconWpf.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\angel\source\repos\darker\darker.app\bin\Release\netcoreapp3.1\publish\Onova.dll"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: "..\darker.app\bin\Release\netcoreapp3.1\publish\ru-RU\darker.resources.dll"; DestDir: "{app}\ru-RU"; Flags: ignoreversion
Source: "..\darker.app\bin\Release\netcoreapp3.1\fr-FR\darker.resources.dll"; DestDir: "{app}\fr-FR"; Flags: ignoreversion
Source: "..\darker.app\bin\Release\netcoreapp3.1\uk-UA\darker.resources.dll"; DestDir: "{app}\uk-UA"; Flags: ignoreversion

[Icons]
Name: "{group}\darker"; Filename: "{app}\darker.exe"
Expand Down

0 comments on commit 56e07e1

Please sign in to comment.