修复部分程序无法启动bug

This commit is contained in:
liufei
2021-08-02 11:01:29 +08:00
parent 2673b9862c
commit 53481bf907
3 changed files with 5 additions and 3 deletions

View File

@@ -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: