From 75889b7b2662da9c5eb5d3dcd2432eb8681f841c Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 2 Sep 2016 13:08:52 -0700 Subject: [PATCH] [RombaSharp] More .romba_size use --- RombaSharp/RombaSharp.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/RombaSharp/RombaSharp.cs b/RombaSharp/RombaSharp.cs index 426dd962..99f69841 100644 --- a/RombaSharp/RombaSharp.cs +++ b/RombaSharp/RombaSharp.cs @@ -276,6 +276,17 @@ namespace SabreTools File.CreateText(Path.Combine(key, ".romba_size")); File.CreateText(Path.Combine(key, ".romba_size.backup")); } + else + { + if (!File.Exists(Path.Combine(key, ".romba_size"))) + { + File.CreateText(Path.Combine(key, ".romba_size")); + } + if (!File.Exists(Path.Combine(key, ".romba_size.backup"))) + { + File.CreateText(Path.Combine(key, ".romba_size.backup")); + } + } } if (port < 0) {