Skip to content

Commit 32ebe4e

Browse files
committed
update
1 parent 08b2294 commit 32ebe4e

2 files changed

Lines changed: 2 additions & 89 deletions

File tree

src/dotnet10_scripts/client.cs

Lines changed: 0 additions & 87 deletions
This file was deleted.

src/dotnet10_scripts/upgrade.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
try
99
{
1010
Console.WriteLine($"升级程序初始化,{DateTime.Now}!");
11-
Console.WriteLine("当前运行目录:" + Context.ScriptDirectory);
11+
Console.WriteLine("当前运行目录:" + Thread.GetDomain().BaseDirectory);
1212
_ = await new GeneralUpdateBootstrap()
1313
//单个或多个更新包下载速度、剩余下载事件、当前下载版本信息通知事件
1414
.AddListenerMultiDownloadStatistics(OnMultiDownloadStatistics)
@@ -59,4 +59,4 @@ void OnMultiDownloadStatistics(object arg1, MultiDownloadStatisticsEventArgs arg
5959
void OnException(object arg1, ExceptionEventArgs arg2)
6060
{
6161
Console.WriteLine($"{arg2.Exception}");
62-
}
62+
}

0 commit comments

Comments
 (0)