Skip to content

Commit 3e4afc3

Browse files
1.1
1 parent 4a46d8a commit 3e4afc3

11 files changed

+9
-3
lines changed

StartMode.rar

534 Bytes
Binary file not shown.

StartMode/Form1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private static void CreateShortcut(string lnkFilePath, string args = "")
151151
{
152152
var shell = new IWshRuntimeLibrary.WshShell();
153153
var shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(lnkFilePath+"StartMode.lnk");
154-
shortcut.TargetPath = Assembly.GetEntryAssembly().Location;
154+
shortcut.TargetPath = Assembly.GetEntryAssembly().Location.Replace("dll","exe");
155155
shortcut.Arguments = args;
156156
shortcut.WorkingDirectory = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
157157
shortcut.Save();

StartMode/bin/Debug/netcoreapp3.1/StartMode.deps.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"compilationOptions": {},
77
"targets": {
88
".NETCoreApp,Version=v3.1": {
9-
"StartMode/1.0.3.20": {
9+
"StartMode/1.1.3.22": {
1010
"dependencies": {
1111
"Interop.IWshRuntimeLibrary": "1.0.0.0"
1212
},
@@ -25,7 +25,7 @@
2525
}
2626
},
2727
"libraries": {
28-
"StartMode/1.0.3.20": {
28+
"StartMode/1.1.3.22": {
2929
"type": "project",
3030
"serviceable": false,
3131
"sha512": ""
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
D:\小程序\我的小程序\StartMode\StartMode.exe
2+
D:\小程序\我的小程序\StartMode\StartMode.dll
3+
D:\小程序\我的小程序\StartMode\StartMode.deps.json
4+
D:\小程序\我的小程序\StartMode\StartMode.runtimeconfig.json
5+
D:\小程序\我的小程序\StartMode\StartMode.pdb
6+
D:\小程序\我的小程序\StartMode\Interop.IWshRuntimeLibrary.dll
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)