Skip to content

Commit 39b19fe

Browse files
authored
Merge branch 'dev' into CheckboxesToToggle4
2 parents 02dd5e7 + ca47b4a commit 39b19fe

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public string Language
5252
public double SettingWindowHeight { get; set; } = 700;
5353
public double SettingWindowTop { get; set; }
5454
public double SettingWindowLeft { get; set; }
55+
public System.Windows.WindowState SettingWindowState { get; set; } = WindowState.Normal;
5556

5657
public int CustomExplorerIndex { get; set; } = 0;
5758

Flow.Launcher/SettingWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ private void OnRequestNavigate(object sender, RequestNavigateEventArgs e)
253253

254254
private void OnClosed(object sender, EventArgs e)
255255
{
256+
settings.SettingWindowState = WindowState;
256257
settings.SettingWindowTop = Top;
257258
settings.SettingWindowLeft = Left;
258259
viewModel.Save();
@@ -553,6 +554,7 @@ public void InitializePosition()
553554
Top = WindowTop();
554555
Left = WindowLeft();
555556
}
557+
WindowState = settings.SettingWindowState;
556558
}
557559
public double WindowLeft()
558560
{

appveyor.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ init:
77
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
88
- net start WSearch
99

10+
cache:
11+
- '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
12+
13+
1014
assembly_info:
1115
patch: true
1216
file: SolutionAssemblyInfo.cs
@@ -28,7 +32,9 @@ before_build:
2832
build:
2933
project: Flow.Launcher.sln
3034
verbosity: minimal
31-
after_build:
35+
test_script:
36+
- dotnet test --no-build -c Release
37+
after_test:
3238
- ps: .\Scripts\post_build.ps1
3339

3440
artifacts:

0 commit comments

Comments
 (0)