Skip to content

Commit 3af444c

Browse files
committed
Disable patch option in updater launch
Added .Option(UpdateOption.Patch, false) to explicitly disable the patch update feature during the updater launch process.
1 parent f6c8916 commit 3af444c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/c#/GeneralUpdate.Upgrad/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ static async Task Main(string[] args)
3333
//.SetFieldMappings(fieldMappingsCN)
3434
//是否开启驱动更新
3535
//.Option(UpdateOption.Drive, true)
36+
.Option(UpdateOption.Patch, false)
3637
.LaunchAsync();
3738
Console.WriteLine($"升级程序已启动,{DateTime.Now}!");
3839
}

0 commit comments

Comments
 (0)