修复开机启动设置打开成dll

This commit is contained in:
ZouJin 2024-04-04 21:10:19 +08:00
parent 96fa4da6b3
commit 24a27cd8ad

View File

@ -934,7 +934,7 @@ namespace VPet_Simulator.Windows
link.SetArguments("launchsteam");
}
else
link.SetPath(System.Reflection.Assembly.GetExecutingAssembly().Location);
link.SetPath(System.Reflection.Assembly.GetExecutingAssembly().Location.Replace(".dll", ".exe"));
link.SetDescription("VPet Simulator");
link.SetIconLocation(ExtensionValue.BaseDirectory + @"vpeticon.ico", 0);