Make minor fixes found by testers

This commit is contained in:
Matt Nadareski
2016-04-19 11:25:59 -07:00
parent fa488aa434
commit 98ee9710fd
4 changed files with 9 additions and 6 deletions

View File

@@ -274,7 +274,7 @@ Make a selection:
6) Convert a DAT file from XML to RV 6) Convert a DAT file from XML to RV
7) List all available sources 7) List all available sources
8) List all available systems 8) List all available systems
9) Add and Remove from database 9) Add and remove systems and sources
10) " + (logger.ToFile ? "Disable Logging" : "Enable Logging") + @" 10) " + (logger.ToFile ? "Disable Logging" : "Enable Logging") + @"
11) Show credits 11) Show credits
X) Exit Program X) Exit Program
@@ -368,6 +368,9 @@ or 'b' to go back to the previous menu:");
{ {
Console.Clear(); Console.Clear();
// Drag and drop means quotes; we don't want quotes
filename = filename.Replace("\"", "");
// Check to see if the second argument is a file that exists // Check to see if the second argument is a file that exists
if (filename != "" && File.Exists(filename)) if (filename != "" && File.Exists(filename))
{ {
@@ -389,7 +392,7 @@ or 'b' to go back to the previous menu:");
} }
else else
{ {
logger.Error("I'm sorry but " + filename + "doesn't exist!"); logger.Error("I'm sorry but " + filename + " doesn't exist!");
} }
return; return;
} }

View File

@@ -83,11 +83,11 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="App.config" /> <None Include="App.config" />
<None Include="Default\DATabase.sqlite"> <None Include="DATabase.sqlite">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="Default\Headerer.sqlite"> <None Include="Headerer.sqlite">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="LICENSE"> <None Include="LICENSE">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>