Skip to content

Commit

Permalink
Updated to 1.7.1 - Fixed a bug that prevented Sharpii from checking f…
Browse files Browse the repository at this point in the history
…or SharpiiIP in the system variables
  • Loading branch information
[email protected] committed Nov 13, 2011
1 parent fc6fc55 commit a4f73b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
18 changes: 9 additions & 9 deletions Sharpii/HBC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ public static void SendDol(string[] args)
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;
Expand Down Expand Up @@ -279,16 +279,16 @@ public static void SendWad(string[] args)
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;
Expand Down Expand Up @@ -357,7 +357,7 @@ public static void SendWad_help()
{
Console.WriteLine("");
Console.WriteLine("Sharpii {0} - SendWad - A tool by person66, using libWiiSharp.dll by leathl,", Version.version);
Console.WriteLine(" and CRAP's installer by WiiCrazy/I.R.on");
Console.WriteLine(" and CRAP's installer by WiiCrazy/I.R.on");
Console.WriteLine("");
Console.WriteLine(" Usage:");
Console.WriteLine("");
Expand Down
2 changes: 1 addition & 1 deletion Sharpii/IOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public static void IOS_help()
{
Console.WriteLine("");
Console.WriteLine("Sharpii {0} - IOS - A tool by person66, using libWiiSharp.dll by leathl", Version.version);
Console.WriteLine(" Code based off PatchIOS by leathl");
Console.WriteLine(" Code based off PatchIOS by leathl");
Console.WriteLine("");
Console.WriteLine(" Usage:");
Console.WriteLine("");
Expand Down
2 changes: 1 addition & 1 deletion Sharpii/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,5 @@ public class Quiet {
}
public class Version
{
public static string version = "1.7";
public static string version = "1.7.1";
}
5 changes: 4 additions & 1 deletion Sharpii/README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/------------------------------------------------------------------------------>
Sharpii 1.7
Sharpii 1.7.1
<---------------------------------------------------------------->
An app by person66
libWiiSharp.dll by leathl (mod by scooby74029)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a4f73b4

Please sign in to comment.