From e9d144f479fb9d5b4c2ab35ebac6e84f47c473b9 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 2 Sep 2016 13:07:41 -0700 Subject: [PATCH] [RombaSharp] Create .romba_size files automatically --- RombaSharp/RombaSharp.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RombaSharp/RombaSharp.cs b/RombaSharp/RombaSharp.cs index c6673197..426dd962 100644 --- a/RombaSharp/RombaSharp.cs +++ b/RombaSharp/RombaSharp.cs @@ -273,6 +273,8 @@ namespace SabreTools if (!Directory.Exists(key)) { Directory.CreateDirectory(key); + File.CreateText(Path.Combine(key, ".romba_size")); + File.CreateText(Path.Combine(key, ".romba_size.backup")); } } if (port < 0) @@ -302,6 +304,7 @@ namespace SabreTools /// /// Populate or refresh the database information /// + /// Each hash has the following attributes: size, crc, md5, sha-1, dathash, existss private void RefreshDatabase() { // Make sure the db is set