Merge branch 'CheckboxesToToggle4' of https://github.com/onesounds/Flow.Launcher into CheckboxesToToggle4

This commit is contained in:
DB p 2022-11-13 18:34:17 +09:00
commit 9253fa82bf
3 changed files with 10 additions and 1 deletions

View file

@ -52,6 +52,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public double SettingWindowHeight { get; set; } = 700;
public double SettingWindowTop { get; set; }
public double SettingWindowLeft { get; set; }
public System.Windows.WindowState SettingWindowState { get; set; } = WindowState.Normal;
public int CustomExplorerIndex { get; set; } = 0;

View file

@ -253,6 +253,7 @@ namespace Flow.Launcher
private void OnClosed(object sender, EventArgs e)
{
settings.SettingWindowState = WindowState;
settings.SettingWindowTop = Top;
settings.SettingWindowLeft = Left;
viewModel.Save();
@ -553,6 +554,7 @@ namespace Flow.Launcher
Top = WindowTop();
Left = WindowLeft();
}
WindowState = settings.SettingWindowState;
}
public double WindowLeft()
{

View file

@ -7,6 +7,10 @@ init:
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
- net start WSearch
cache:
- '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
assembly_info:
patch: true
file: SolutionAssemblyInfo.cs
@ -28,7 +32,9 @@ before_build:
build:
project: Flow.Launcher.sln
verbosity: minimal
after_build:
test_script:
- dotnet test --no-build -c Release
after_test:
- ps: .\Scripts\post_build.ps1
artifacts: