Compare commits
No commits in common. "2060c5b3b408d2b5408b233b33b818ea8c07bf60" and "3e442296f655fe2e7524cedd8f409f8898cc70cf" have entirely different histories.
2060c5b3b4
...
3e442296f6
@ -48,20 +48,6 @@ namespace EftPatchHelper.Tasks
|
||||
AnsiConsole.WriteLine("Added MEGA");
|
||||
}
|
||||
|
||||
if (_settings.SftpUploads.Count > 0 && _options.UploadToSftpSites)
|
||||
{
|
||||
foreach (var sftpInfo in _settings.SftpUploads)
|
||||
{
|
||||
if (!sftpInfo.IsValid())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
AnsiConsole.WriteLine($"Added SFTP: {sftpInfo.Hostname}");
|
||||
_fileUploads.Add(new SftpUpload(patcherFile, sftpInfo));
|
||||
}
|
||||
}
|
||||
|
||||
if (_settings.UsingMega() && _options.UploadToMega)
|
||||
{
|
||||
var mega = new MegaUpload(patcherFile, _settings.MegaEmail, _settings.MegaPassword);
|
||||
@ -70,6 +56,20 @@ namespace EftPatchHelper.Tasks
|
||||
AnsiConsole.WriteLine("Added MEGA");
|
||||
}
|
||||
|
||||
if (_settings.SftpUploads.Count > 0 && _options.UploadToSftpSites)
|
||||
{
|
||||
foreach (var sftpInfo in _settings.SftpUploads)
|
||||
{
|
||||
if (!sftpInfo.IsValid())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
AnsiConsole.WriteLine($"Added SFTP: {sftpInfo.Hostname}");
|
||||
_fileUploads.Add(new SftpUpload(patcherFile, sftpInfo));
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user