upgrade<Project>: retargets to .net framework 4.8

This commit is contained in:
leo 2022-10-26 10:32:42 +08:00
parent 476c23f9d2
commit 5d71e54547
10 changed files with 35 additions and 31 deletions

View file

@ -45,13 +45,13 @@ namespace SourceGit.Views {
var extras = string.IsNullOrEmpty(ExtraArgs) ? "" : ExtraArgs;
if (!string.IsNullOrEmpty(RemoteName)) extras += $" --origin {RemoteName}";
var succ = new Commands.Clone(Folder, Uri, LocalName, sshKey, extras, msg => {
var cloneRs = new Commands.Clone(Folder, Uri, LocalName, sshKey, extras, msg => {
Dispatcher.Invoke(() => txtProgress.Text = msg);
}, err => {
Dispatcher.Invoke(() => txtError.Text = err);
}).Exec();
if (!succ) return false;
if (!cloneRs) return false;
var path = Folder;
if (!string.IsNullOrEmpty(LocalName)) {