mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-19 15:51:50 +00:00
Corrected FileMode when saving AccountSettingsStore
This commit is contained in:
1 parent
0d427acbb9
commit
90dfd03b5e
1 file changed
+1
-1
@@ -75,7 +75,7 @@ namespace DepotDownloader
|
||||
|
||||
try
|
||||
{
|
||||
using (var fs = IsolatedStorage.OpenFile(Instance.FileName, FileMode.Open, FileAccess.Read))
|
||||
using (var fs = IsolatedStorage.OpenFile(Instance.FileName, FileMode.Create, FileAccess.Write))
|
||||
using (DeflateStream ds = new DeflateStream(fs, CompressionMode.Compress))
|
||||
{
|
||||
ProtoBuf.Serializer.Serialize<AccountSettingsStore>(ds, Instance);
|
||||
|
||||
Reference in new issue
Block a user