From 519630d614a638787d5da127be16270220b83363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=9D=E9=9B=B6?= <78294929+JiuLing-zhang@users.noreply.github.com> Date: Thu, 14 Dec 2023 10:10:10 +0800 Subject: [PATCH] test --- src/App.xaml.cs | 2 +- src/ComputerLock.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.xaml.cs b/src/App.xaml.cs index ec430cd..1ed5476 100644 --- a/src/App.xaml.cs +++ b/src/App.xaml.cs @@ -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); Init(); base.OnStartup(e); diff --git a/src/ComputerLock.csproj b/src/ComputerLock.csproj index 53233d2..68d201e 100644 --- a/src/ComputerLock.csproj +++ b/src/ComputerLock.csproj @@ -3,7 +3,7 @@ 九零 透明锁屏 - 2.0.3.28 + 2.0.4.29 WinExe net7.0-windows enable