mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Start with .NET Core 3.0 code enhancements
This commit is contained in:
@@ -259,10 +259,10 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
try {
|
||||
using (ZipArchive zipArchive = new ZipArchive(new MemoryStream(response.Content))) {
|
||||
if (!UpdateFromArchive(zipArchive, SharedInfo.HomeDirectory)) {
|
||||
ArchiLogger.LogGenericError(Strings.WarningFailed);
|
||||
}
|
||||
using ZipArchive zipArchive = new ZipArchive(new MemoryStream(response.Content));
|
||||
|
||||
if (!UpdateFromArchive(zipArchive, SharedInfo.HomeDirectory)) {
|
||||
ArchiLogger.LogGenericError(Strings.WarningFailed);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
ArchiLogger.LogGenericException(e);
|
||||
|
||||
Reference in New Issue
Block a user