Updated to 1.7.1 - Fixed a bug that prevented Sharpii from checking for SharpiiIP in the system variables

This commit is contained in:
mzolob@gmail.com 2011-11-13 00:28:35 +00:00
parent fc6fc5571c
commit a4f73b4ea2
4 changed files with 15 additions and 12 deletions

View File

@ -104,16 +104,16 @@ namespace Sharpii
Environment.SetEnvironmentVariable("SharpiiIP", ip, EnvironmentVariableTarget.Machine);
}
if (ip == "")
if (String.IsNullOrEmpty(ip))
ip = Environment.GetEnvironmentVariable("SharpiiIP", EnvironmentVariableTarget.User);
if (ip == "")
if (String.IsNullOrEmpty(ip))
ip = Environment.GetEnvironmentVariable("SharpiiIP", EnvironmentVariableTarget.Machine);
if (ip == "")
if (String.IsNullOrEmpty(ip))
{
Console.WriteLine("ERROR: No IP set");
return;
}
if (noip = true && Quiet.quiet > 2)
if (noip == true && Quiet.quiet > 2)
Console.WriteLine("No IP set, using {0}", ip);
libWiiSharp.Protocol proto = Protocol.JODI;
@ -279,16 +279,16 @@ namespace Sharpii
ios = "0";
}
if (ip == "")
if (String.IsNullOrEmpty(ip))
ip = Environment.GetEnvironmentVariable("SharpiiIP", EnvironmentVariableTarget.User);
if (ip == "")
if (String.IsNullOrEmpty(ip))
ip = Environment.GetEnvironmentVariable("SharpiiIP", EnvironmentVariableTarget.Machine);
if (ip == "")
if (String.IsNullOrEmpty(ip))
{
Console.WriteLine("ERROR: No IP set");
return;
}
if (noip = true && Quiet.quiet > 2)
if (noip == true && Quiet.quiet > 2)
Console.WriteLine("No IP set, using {0}", ip);
libWiiSharp.Protocol proto = Protocol.JODI;

View File

@ -321,5 +321,5 @@ namespace Sharpii
}
public class Version
{
public static string version = "1.7";
public static string version = "1.7.1";
}

View File

@ -1,5 +1,5 @@
/------------------------------------------------------------------------------>
Sharpii 1.7
Sharpii 1.7.1
<---------------------------------------------------------------->
An app by person66
libWiiSharp.dll by leathl (mod by scooby74029)
@ -145,6 +145,9 @@ See "LICENSE.txt" for more information.
/----CHANGELOG
/------------------------------>
1.7.1
- Fixed a bug that prevented Sharpii from checking for SharpiiIP
in the system variables
1.7
- Sharpii can now be installed for use without the exe
- SharpiiIP is now a system variable, not a user one.