mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RombaSharp] Create .romba_size files automatically
This commit is contained in:
@@ -273,6 +273,8 @@ namespace SabreTools
|
|||||||
if (!Directory.Exists(key))
|
if (!Directory.Exists(key))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(key);
|
Directory.CreateDirectory(key);
|
||||||
|
File.CreateText(Path.Combine(key, ".romba_size"));
|
||||||
|
File.CreateText(Path.Combine(key, ".romba_size.backup"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (port < 0)
|
if (port < 0)
|
||||||
@@ -302,6 +304,7 @@ namespace SabreTools
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Populate or refresh the database information
|
/// Populate or refresh the database information
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>Each hash has the following attributes: size, crc, md5, sha-1, dathash, existss</remarks>
|
||||||
private void RefreshDatabase()
|
private void RefreshDatabase()
|
||||||
{
|
{
|
||||||
// Make sure the db is set
|
// Make sure the db is set
|
||||||
|
|||||||
Reference in New Issue
Block a user