Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuLing-zhang committed Dec 14, 2023
1 parent 10cf209 commit 519630d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected override void OnStartup(StartupEventArgs e)
return;
}

Environment.CurrentDirectory = Path.GetDirectoryName(typeof(App).Assembly.Location);
Environment.CurrentDirectory = Path.GetDirectoryName(AppBase.ExecutablePath);

Check warning on line 30 in src/App.xaml.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference assignment.

Check warning on line 30 in src/App.xaml.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference assignment.

Init();
base.OnStartup(e);
Expand Down
2 changes: 1 addition & 1 deletion src/ComputerLock.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Authors>九零</Authors>
<Product>透明锁屏</Product>
<Version>2.0.3.28</Version>
<Version>2.0.4.29</Version>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 519630d

Please sign in to comment.