ForwardMii 1.02
git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@14 eddbe33b-e435-4246-ac25-f5eb65f9a13c
This commit is contained in:
parent
56cac8cbc8
commit
77ca7d355f
@ -21,7 +21,7 @@ namespace ForwardMii
|
|||||||
{
|
{
|
||||||
public class ForwardMii_Plugin
|
public class ForwardMii_Plugin
|
||||||
{
|
{
|
||||||
const string version = "1.01"; //Hint for myself: Never use a char in the Version (UpdateCheck)!
|
const string version = "1.02"; //Hint for myself: Never use a char in the Version (UpdateCheck)!
|
||||||
|
|
||||||
public static string GetVersion()
|
public static string GetVersion()
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,8 @@ using System.Diagnostics;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using System.Text;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace ForwardMii
|
namespace ForwardMii
|
||||||
{
|
{
|
||||||
@ -145,11 +147,26 @@ namespace ForwardMii
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||||
|
static extern uint GetShortPathName([MarshalAs(UnmanagedType.LPTStr)] string lpszLongPath,
|
||||||
|
[MarshalAs(UnmanagedType.LPTStr)] StringBuilder lpszShortPath, uint cchBuffer);
|
||||||
|
|
||||||
|
public static string GetShortPathName(string longPath)
|
||||||
|
{
|
||||||
|
uint size = 256;
|
||||||
|
StringBuilder buffer = new StringBuilder((int)size);
|
||||||
|
uint result = GetShortPathName(longPath, buffer, size);
|
||||||
|
return buffer.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
private bool Compile()
|
private bool Compile()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ProcessStartInfo makeI = new ProcessStartInfo("make", "-C " + TempDir);
|
string tempDir = TempDir;
|
||||||
|
if (tempDir.Contains(" ")) { tempDir = GetShortPathName(tempDir); }
|
||||||
|
|
||||||
|
ProcessStartInfo makeI = new ProcessStartInfo("make", "-C " + tempDir);
|
||||||
makeI.UseShellExecute = false;
|
makeI.UseShellExecute = false;
|
||||||
makeI.CreateNoWindow = true;
|
makeI.CreateNoWindow = true;
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@ using System.Runtime.InteropServices;
|
|||||||
[assembly: AssemblyTitle("ForwardMii")]
|
[assembly: AssemblyTitle("ForwardMii")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("Microsoft")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("ForwardMii")]
|
[assembly: AssemblyProduct("ForwardMii")]
|
||||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
|
[assembly: AssemblyCopyright("Copyright © Leathl 2009")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
@ -49,5 +49,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||||
// übernehmen, indem Sie "*" eingeben:
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.1.0")]
|
[assembly: AssemblyVersion("1.0.2.0")]
|
||||||
[assembly: AssemblyFileVersion("1.0.1.0")]
|
[assembly: AssemblyFileVersion("1.0.2.0")]
|
||||||
|
@ -11,6 +11,9 @@ the CustomizeMii project page.
|
|||||||
-----------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
Version 1.02
|
||||||
|
- Compiling now works, if a space is in your Windows Username
|
||||||
|
|
||||||
Version 1.01
|
Version 1.01
|
||||||
- Fixed bug that caused an object error while creating forwarders
|
- Fixed bug that caused an object error while creating forwarders
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user