From 53481bf907990ca347251a560b48983efc17fb9e Mon Sep 17 00:00:00 2001 From: liufei Date: Mon, 2 Aug 2021 11:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E6=97=A0=E6=B3=95=E5=90=AF=E5=8A=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.xaml.cs | 2 +- Control/UserControls/Config/ThemeControl.xaml | 4 +++- Control/UserControls/PannelCard/RightCardControl.xaml.cs | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/App.xaml.cs b/App.xaml.cs index f67817b..28ce16c 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -28,7 +28,7 @@ namespace GeekDesk mutex = new System.Threading.Mutex(true, Constants.MY_NAME, out ret); if (!ret) { - Environment.Exit(0); + //Environment.Exit(0); } } } diff --git a/Control/UserControls/Config/ThemeControl.xaml b/Control/UserControls/Config/ThemeControl.xaml index 71efd16..b8c31a7 100644 --- a/Control/UserControls/Config/ThemeControl.xaml +++ b/Control/UserControls/Config/ThemeControl.xaml @@ -7,7 +7,7 @@ xmlns:hc="https://handyorg.github.io/handycontrol" mc:Ignorable="d" Background="AliceBlue" - d:DesignHeight="380" d:DesignWidth="450"> + d:DesignHeight="500" d:DesignWidth="450"> @@ -97,6 +97,8 @@ + + diff --git a/Control/UserControls/PannelCard/RightCardControl.xaml.cs b/Control/UserControls/PannelCard/RightCardControl.xaml.cs index fba1571..f5a3d53 100644 --- a/Control/UserControls/PannelCard/RightCardControl.xaml.cs +++ b/Control/UserControls/PannelCard/RightCardControl.xaml.cs @@ -118,7 +118,7 @@ namespace GeekDesk.Control.UserControls.PannelCard Process p = new Process(); p.StartInfo.FileName = icon.Path; - + p.StartInfo.WorkingDirectory = icon.Path.Substring(0, icon.Path.LastIndexOf("\\")); switch (type) { case IconStartType.ADMIN_STARTUP: