Add other OS support

This commit is contained in:
Spotlight 2017-06-08 14:24:15 -05:00 committed by GitHub
parent 877b28156d
commit e52e2716a8

View File

@ -34,7 +34,7 @@ namespace Sharpii
Environment.Exit(0);
}
if (!File.Exists(Path.GetDirectoryName(Application.ExecutablePath) + "\\libWiiSharp.dll"))
if (!File.Exists(Path.GetDirectoryName(Application.ExecutablePath) + Path.DirectorySeparatorChar + "libWiiSharp.dll"))
{
Console.WriteLine("ERROR: libWiiSharp.dll not found");
Console.WriteLine("\n\nAttemp to download? [Y/N]");