forked from I2P_Developers/i2p.i2p
Migrated limewireExe to i2pExe
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
// Microsoft Visual C++ generated resource script.
|
// Microsoft Visual C++ generated resource script.
|
||||||
//
|
//
|
||||||
#include "resource1.h"
|
#include "resource.h"
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@ -53,8 +53,8 @@ END
|
|||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,0,0,2
|
FILEVERSION 0,9,5,1
|
||||||
PRODUCTVERSION 1,0,0,2
|
PRODUCTVERSION 0,9,5,1
|
||||||
FILEFLAGSMASK 0x17L
|
FILEFLAGSMASK 0x17L
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
@ -69,15 +69,15 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "040904b0"
|
BLOCK "040904b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments", "The easiest and safest way to get music"
|
VALUE "Comments", "Anonymity for the masses"
|
||||||
VALUE "CompanyName", "The MuWire Project"
|
VALUE "CompanyName", "The I2P Project"
|
||||||
VALUE "FileDescription", "MuWire"
|
VALUE "FileDescription", "I2P"
|
||||||
VALUE "FileVersion", "1, 0, 0, 2"
|
VALUE "FileVersion", "0, 9, 5, 1"
|
||||||
VALUE "InternalName", "MuWire"
|
VALUE "InternalName", "I2P"
|
||||||
VALUE "LegalCopyright", "GPL"
|
VALUE "LegalCopyright", "Public Domain"
|
||||||
VALUE "OriginalFilename", "MuWire.exe"
|
VALUE "OriginalFilename", "I2P.exe"
|
||||||
VALUE "ProductName", " MuWire"
|
VALUE "ProductName", " I2P"
|
||||||
VALUE "ProductVersion", "1, 0, 0, 2"
|
VALUE "ProductVersion", "0, 9, 5, 1"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
@ -94,8 +94,7 @@ END
|
|||||||
|
|
||||||
// Icon with lowest ID value placed first to ensure application icon
|
// Icon with lowest ID value placed first to ensure application icon
|
||||||
// remains consistent on all systems.
|
// remains consistent on all systems.
|
||||||
IDI_ICON1 ICON "merged icon.ico"
|
IDI_ICON1 ICON "start.ico"
|
||||||
IDI_ICON2 ICON "torrent.ico"
|
|
||||||
#endif // English (U.S.) resources
|
#endif // English (U.S.) resources
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||||
# Visual Studio 2008
|
# Visual Studio 2008
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LimeWire3", "LimeWire3.vcproj", "{0A74F3D1-C70A-4CF0-9390-C676025ED12F}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "I2P", "I2P.vcproj", "{0A74F3D1-C70A-4CF0-9390-C676025ED12F}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
BIN
installer/c/i2pExe/I2P.suo
Normal file
BIN
installer/c/i2pExe/I2P.suo
Normal file
Binary file not shown.
@ -2,9 +2,9 @@
|
|||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="9.00"
|
Version="9.00"
|
||||||
Name="LimeWire3"
|
Name="I2P"
|
||||||
ProjectGUID="{0A74F3D1-C70A-4CF0-9390-C676025ED12F}"
|
ProjectGUID="{0A74F3D1-C70A-4CF0-9390-C676025ED12F}"
|
||||||
RootNamespace="LimeWire3"
|
RootNamespace="I2P"
|
||||||
Keyword="Win32Proj"
|
Keyword="Win32Proj"
|
||||||
TargetFrameworkVersion="131072"
|
TargetFrameworkVersion="131072"
|
||||||
>
|
>
|
||||||
@ -64,10 +64,10 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="Shlwapi.lib"
|
AdditionalDependencies="Shlwapi.lib"
|
||||||
OutputFile="$(OutDir)/LimeWire.exe"
|
OutputFile="$(OutDir)/I2P.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
ProgramDatabaseFile="$(OutDir)/LimeWire3.pdb"
|
ProgramDatabaseFile="$(OutDir)/I2P.pdb"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
DataExecutionPrevention="0"
|
DataExecutionPrevention="0"
|
||||||
@ -78,7 +78,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCManifestTool"
|
Name="VCManifestTool"
|
||||||
AdditionalManifestFiles="LimeWire.exe.manifest"
|
AdditionalManifestFiles="I2P.exe.manifest"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCXDCMakeTool"
|
Name="VCXDCMakeTool"
|
||||||
@ -143,7 +143,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="shlwapi.lib"
|
AdditionalDependencies="shlwapi.lib"
|
||||||
OutputFile="$(OutDir)/MuWire.exe"
|
OutputFile="$(OutDir)/I2P.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
@ -223,7 +223,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="shlwapi.lib"
|
AdditionalDependencies="shlwapi.lib"
|
||||||
OutputFile="$(OutDir)/LimeWire.exe"
|
OutputFile="$(OutDir)/I2P.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
@ -264,6 +264,10 @@
|
|||||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||||
>
|
>
|
||||||
|
<File
|
||||||
|
RelativePath=".\i2p.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\java.c"
|
RelativePath=".\java.c"
|
||||||
>
|
>
|
||||||
@ -272,10 +276,6 @@
|
|||||||
RelativePath=".\java_md.c"
|
RelativePath=".\java_md.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\limewire.c"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Header Files"
|
||||||
@ -303,7 +303,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\resource1.h"
|
RelativePath=".\resource.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
@ -313,15 +313,11 @@
|
|||||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||||
>
|
>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\LimeWire31.rc"
|
RelativePath=".\I2P.rc"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\merged icon.ico"
|
RelativePath="..\..\resources\start.ico"
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\torrent.ico"
|
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef _LIME_ERRORS_H
|
#ifndef _I2P_ERRORS_H
|
||||||
#define _LIME_ERRORS_h
|
#define _I2P_ERRORS_h
|
||||||
|
|
||||||
|
|
||||||
#define ERROR_COULDNT_LOAD_JVM 6
|
#define ERROR_COULDNT_LOAD_JVM 6
|
||||||
@ -8,4 +8,4 @@
|
|||||||
#define ERROR_STARTING_PROGRAM 9
|
#define ERROR_STARTING_PROGRAM 9
|
||||||
#define ERROR_COULDNT_FIND_JVM 10
|
#define ERROR_COULDNT_FIND_JVM 10
|
||||||
|
|
||||||
#endif /* _LIME_ERRORS_H */
|
#endif /* _I2P_ERRORS_H */
|
@ -1,8 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* Customized LimeWire launcher.
|
* Customized I2P launcher.
|
||||||
* Launches the JRE within the process, to allow Task Manager to show
|
* Launches the JRE within the process, to allow Task Manager to show
|
||||||
* "LimeWire.exe" as the process, and firewalls to control access of
|
* "I2P.exe" as the process, and firewalls to control access of
|
||||||
* "LimeWire.exe".
|
* "I2P.exe".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "errors.h"
|
#include "errors.h"
|
||||||
@ -53,7 +53,7 @@ main(int argc, char** argv) {
|
|||||||
for(i = 1; i <= read_options_size; i++)
|
for(i = 1; i <= read_options_size; i++)
|
||||||
new_argv[i] = read_options[i-1];
|
new_argv[i] = read_options[i-1];
|
||||||
// copy argv arguments as arguments after the properties file
|
// copy argv arguments as arguments after the properties file
|
||||||
// (generally used as arguments for LimeWire)
|
// (generally used as arguments for I2P)
|
||||||
for(current_argc = 1; current_argc < argc; current_argc++)
|
for(current_argc = 1; current_argc < argc; current_argc++)
|
||||||
new_argv[i++] = argv[current_argc];
|
new_argv[i++] = argv[current_argc];
|
||||||
|
|
||||||
@ -69,20 +69,20 @@ main(int argc, char** argv) {
|
|||||||
case ERROR_COULDNT_FIND_JVM:
|
case ERROR_COULDNT_FIND_JVM:
|
||||||
case ERROR_COULDNT_INITIALIZE_JVM:
|
case ERROR_COULDNT_INITIALIZE_JVM:
|
||||||
case ERROR_COULDNT_LOAD_JVM:
|
case ERROR_COULDNT_LOAD_JVM:
|
||||||
if (MessageBox(NULL, "MuWire needs the Java Runtime Environment 6.0 or above. Click OK to go to www.java.com, where you can install Java.",
|
if (MessageBox(NULL, "I2P needs the Java Runtime Environment 5.0 or above. Click OK to go to www.java.com, where you can install Java.",
|
||||||
"MuWire Launcher Error",
|
"I2P Launcher Error",
|
||||||
MB_ICONWARNING | MB_OKCANCEL) == IDOK)
|
MB_ICONWARNING | MB_OKCANCEL) == IDOK)
|
||||||
ShellExecute(NULL, NULL, "http://www.java.com/", "", "", SW_SHOWNORMAL);
|
ShellExecute(NULL, NULL, "http://www.java.com/", "", "", SW_SHOWNORMAL);
|
||||||
break;
|
break;
|
||||||
case ERROR_COULDNT_PARSE_ARGUMENTS:
|
case ERROR_COULDNT_PARSE_ARGUMENTS:
|
||||||
MessageBox(NULL, "MuWire failed to parse the commandline arguments to Java.\n"
|
MessageBox(NULL, "I2P failed to parse the commandline arguments to Java.\n"
|
||||||
"Please download and install MuWire again.",
|
"Please download and install I2P again.",
|
||||||
"MuWire Launcher Error", MB_OK);
|
"I2P Launcher Error", MB_OK);
|
||||||
break;
|
break;
|
||||||
case ERROR_STARTING_PROGRAM:
|
case ERROR_STARTING_PROGRAM:
|
||||||
MessageBox(NULL, "MuWire was unable to load.\n"
|
MessageBox(NULL, "I2P was unable to load.\n"
|
||||||
"Please download and install MuWire again.",
|
"Please download and install I2P again.",
|
||||||
"MuWire Launcher Error", MB_OK);
|
"I2P Launcher Error", MB_OK);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
@ -128,7 +128,7 @@ void readOptions(char*** options, int* size) {
|
|||||||
#pragma message ("\n\n!!!!!!!!!!!!!! building ALPHA !!!!!!!!!!!!!!\n\n")
|
#pragma message ("\n\n!!!!!!!!!!!!!! building ALPHA !!!!!!!!!!!!!!\n\n")
|
||||||
(*options)[(*size) - 3] = "-agentlib:yjpagent=port=11111";
|
(*options)[(*size) - 3] = "-agentlib:yjpagent=port=11111";
|
||||||
(*options)[(*size) - 2] = "-jar";
|
(*options)[(*size) - 2] = "-jar";
|
||||||
(*options)[(*size) - 1] = "LimeWire.jar";
|
(*options)[(*size) - 1] = "I2P.jar";
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -165,7 +165,7 @@ void readOptions(char*** options, int* size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets the current working directory to wherever LimeWire.exe is located
|
* Sets the current working directory to wherever I2P.exe is located
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
SetWorkingDirectory(char *path) {
|
SetWorkingDirectory(char *path) {
|
||||||
@ -231,4 +231,4 @@ WinMain(HINSTANCE inst, HINSTANCE previnst, LPSTR cmdline, int cmdshow)
|
|||||||
ret = main(__argc, __argv);
|
ret = main(__argc, __argv);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
@ -1,9 +1,8 @@
|
|||||||
//{{NO_DEPENDENCIES}}
|
//{{NO_DEPENDENCIES}}
|
||||||
// Microsoft Visual C++ generated include file.
|
// Microsoft Visual C++ generated include file.
|
||||||
// Used by LimeWire31.rc
|
// Used by I2P.rc
|
||||||
//
|
//
|
||||||
#define IDI_ICON1 111
|
#define IDI_ICON1 111
|
||||||
#define IDI_ICON2 112
|
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
//
|
//
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 95 KiB |
Binary file not shown.
Before Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user