Skip to content

Commit 69359f3

Browse files
committed
Added launcher.
1 parent 5cd8695 commit 69359f3

File tree

18 files changed

+381
-115
lines changed

18 files changed

+381
-115
lines changed

NativeCore/Unix/NativeCore.Unix.vcxproj

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Debug|ARM">
5-
<Configuration>Debug</Configuration>
6-
<Platform>ARM</Platform>
7-
</ProjectConfiguration>
8-
<ProjectConfiguration Include="Release|ARM">
9-
<Configuration>Release</Configuration>
10-
<Platform>ARM</Platform>
11-
</ProjectConfiguration>
124
<ProjectConfiguration Include="Debug|x86">
135
<Configuration>Debug</Configuration>
146
<Platform>x86</Platform>
@@ -37,14 +29,6 @@
3729
<LinuxProjectType>{D51BCBC9-82E9-4017-911E-C93873C4EA2B}</LinuxProjectType>
3830
</PropertyGroup>
3931
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
40-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
41-
<UseDebugLibraries>true</UseDebugLibraries>
42-
<ConfigurationType>DynamicLibrary</ConfigurationType>
43-
</PropertyGroup>
44-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
45-
<UseDebugLibraries>false</UseDebugLibraries>
46-
<ConfigurationType>DynamicLibrary</ConfigurationType>
47-
</PropertyGroup>
4832
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
4933
<UseDebugLibraries>true</UseDebugLibraries>
5034
<ConfigurationType>DynamicLibrary</ConfigurationType>
@@ -66,44 +50,30 @@
6650
<ImportGroup Label="Shared" />
6751
<ImportGroup Label="PropertySheets" />
6852
<PropertyGroup Label="UserMacros" />
69-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
70-
<TargetName>NativeCore</TargetName>
71-
<TargetExt>.so</TargetExt>
72-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
73-
</PropertyGroup>
74-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
75-
<TargetName>NativeCore</TargetName>
76-
<TargetExt>.so</TargetExt>
77-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
78-
</PropertyGroup>
7953
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8054
<TargetName>NativeCore</TargetName>
8155
<TargetExt>.so</TargetExt>
82-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
56+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
8357
</PropertyGroup>
8458
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8559
<TargetName>NativeCore</TargetName>
8660
<TargetExt>.so</TargetExt>
87-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
61+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
8862
</PropertyGroup>
8963
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
9064
<TargetName>NativeCore</TargetName>
9165
<TargetExt>.so</TargetExt>
92-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
66+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
9367
</PropertyGroup>
9468
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
9569
<TargetName>NativeCore</TargetName>
9670
<TargetExt>.so</TargetExt>
97-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
71+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
9872
</PropertyGroup>
9973
<ItemGroup>
10074
<ClCompile Include="..\Dependencies\beaengine\src\BeaEngine.c">
10175
<RemoteFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/home/kn4ck3r/projects/Dependencies/beaengine/src/BeaEngine.c</RemoteFile>
10276
<RemoteCopyFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</RemoteCopyFile>
103-
<RemoteFile Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">/home/kn4ck3r/projects/Dependencies/beaengine/src/BeaEngine.c</RemoteFile>
104-
<RemoteCopyFile Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</RemoteCopyFile>
105-
<RemoteFile Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">/home/kn4ck3r/projects/Dependencies/beaengine/src/BeaEngine.c</RemoteFile>
106-
<RemoteCopyFile Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">false</RemoteCopyFile>
10777
<RemoteFile Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">/home/kn4ck3r/projects/Dependencies/beaengine/src/BeaEngine.c</RemoteFile>
10878
<RemoteCopyFile Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">false</RemoteCopyFile>
10979
<RemoteFile Condition="'$(Configuration)|$(Platform)'=='Release|x86'">/home/kn4ck3r/projects/Dependencies/beaengine/src/BeaEngine.c</RemoteFile>
@@ -128,24 +98,6 @@
12898
<ClInclude Include="..\ReClassNET_Plugin.hpp" />
12999
<ClInclude Include="NativeCore.hpp" />
130100
</ItemGroup>
131-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
132-
<ClCompile>
133-
<PositionIndependentCode>true</PositionIndependentCode>
134-
<CppLanguageStandard>c++1y</CppLanguageStandard>
135-
</ClCompile>
136-
<Link>
137-
<LibraryDependencies>stdc++fs</LibraryDependencies>
138-
</Link>
139-
</ItemDefinitionGroup>
140-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
141-
<ClCompile>
142-
<PositionIndependentCode>true</PositionIndependentCode>
143-
<CppLanguageStandard>c++1y</CppLanguageStandard>
144-
</ClCompile>
145-
<Link>
146-
<LibraryDependencies>stdc++fs</LibraryDependencies>
147-
</Link>
148-
</ItemDefinitionGroup>
149101
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
150102
<ClCompile>
151103
<PositionIndependentCode>true</PositionIndependentCode>

NativeCore/Windows/NativeCore.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,25 +72,25 @@
7272
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7373
<LinkIncremental>true</LinkIncremental>
7474
<TargetName>$(ProjectName)</TargetName>
75-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
75+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
7676
<IncludePath>..\Dependencies\beaengine\include;$(IncludePath)</IncludePath>
7777
</PropertyGroup>
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
7979
<LinkIncremental>true</LinkIncremental>
8080
<TargetName>$(ProjectName)</TargetName>
81-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
81+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
8282
<IncludePath>..\Dependencies\beaengine\include;$(IncludePath)</IncludePath>
8383
</PropertyGroup>
8484
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
8585
<LinkIncremental>false</LinkIncremental>
8686
<TargetName>$(ProjectName)</TargetName>
87-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
87+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
8888
<IncludePath>..\Dependencies\beaengine\include;$(IncludePath)</IncludePath>
8989
</PropertyGroup>
9090
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
9191
<LinkIncremental>false</LinkIncremental>
9292
<TargetName>$(ProjectName)</TargetName>
93-
<OutDir>$(SolutionDir)bin\$(PlatformTarget)\$(Configuration)\</OutDir>
93+
<OutDir>$(SolutionDir)bin\$(Configuration)\$(PlatformTarget)\</OutDir>
9494
<IncludePath>..\Dependencies\beaengine\include;$(IncludePath)</IncludePath>
9595
</PropertyGroup>
9696
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

ReClass.NET.sln

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,77 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27004.2002
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReClass.NET", "ReClass.NET\ReClass.NET.csproj", "{BFB8917D-E9B4-463F-A6E8-612C35728C78}"
77
ProjectSection(ProjectDependencies) = postProject
8+
{16591D29-2370-428A-BA11-87E38D0F3551} = {16591D29-2370-428A-BA11-87E38D0F3551}
89
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F} = {22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}
910
EndProjectSection
1011
EndProject
1112
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NativeCore", "NativeCore\Windows\NativeCore.vcxproj", "{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}"
1213
EndProject
1314
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NativeCore.Unix", "NativeCore\Unix\NativeCore.Unix.vcxproj", "{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}"
1415
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReClass.NET_Launcher", "ReClass.NET_Launcher\ReClass.NET_Launcher.csproj", "{16591D29-2370-428A-BA11-87E38D0F3551}"
17+
EndProject
1518
Global
1619
GlobalSection(SolutionConfigurationPlatforms) = preSolution
17-
Debug|ARM = Debug|ARM
20+
Debug|Any CPU = Debug|Any CPU
1821
Debug|x64 = Debug|x64
1922
Debug|x86 = Debug|x86
20-
Release|ARM = Release|ARM
23+
Release|Any CPU = Release|Any CPU
2124
Release|x64 = Release|x64
2225
Release|x86 = Release|x86
2326
EndGlobalSection
2427
GlobalSection(ProjectConfigurationPlatforms) = postSolution
25-
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Debug|ARM.ActiveCfg = Debug|x86
28+
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Debug|Any CPU.ActiveCfg = Debug|x86
2629
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Debug|x64.ActiveCfg = Debug|x64
2730
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Debug|x64.Build.0 = Debug|x64
2831
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Debug|x86.ActiveCfg = Debug|x86
2932
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Debug|x86.Build.0 = Debug|x86
30-
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Release|ARM.ActiveCfg = Release|x86
33+
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Release|Any CPU.ActiveCfg = Release|x86
3134
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Release|x64.ActiveCfg = Release|x64
3235
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Release|x64.Build.0 = Release|x64
3336
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Release|x86.ActiveCfg = Release|x86
3437
{BFB8917D-E9B4-463F-A6E8-612C35728C78}.Release|x86.Build.0 = Release|x86
35-
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Debug|ARM.ActiveCfg = Debug|Win32
38+
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Debug|Any CPU.ActiveCfg = Debug|Win32
3639
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Debug|x64.ActiveCfg = Debug|x64
3740
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Debug|x64.Build.0 = Debug|x64
3841
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Debug|x86.ActiveCfg = Debug|Win32
3942
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Debug|x86.Build.0 = Debug|Win32
40-
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Release|ARM.ActiveCfg = Release|Win32
43+
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Release|Any CPU.ActiveCfg = Release|Win32
4144
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Release|x64.ActiveCfg = Release|x64
4245
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Release|x64.Build.0 = Release|x64
4346
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Release|x86.ActiveCfg = Release|Win32
4447
{22CA6FDB-7622-4F94-8FC2-2E7AB481C86F}.Release|x86.Build.0 = Release|Win32
45-
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|ARM.ActiveCfg = Debug|ARM
46-
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|ARM.Build.0 = Debug|ARM
48+
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|Any CPU.ActiveCfg = Debug|x86
4749
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|x64.ActiveCfg = Debug|x64
4850
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|x64.Build.0 = Debug|x64
4951
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|x86.ActiveCfg = Debug|x86
5052
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Debug|x86.Build.0 = Debug|x86
51-
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|ARM.ActiveCfg = Release|ARM
52-
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|ARM.Build.0 = Release|ARM
53+
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|Any CPU.ActiveCfg = Release|x86
5354
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|x64.ActiveCfg = Release|x64
5455
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|x64.Build.0 = Release|x64
5556
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|x86.ActiveCfg = Release|x86
5657
{48C5258A-FA49-4173-AEE5-0FCA5190DFF2}.Release|x86.Build.0 = Release|x86
58+
{16591D29-2370-428A-BA11-87E38D0F3551}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
59+
{16591D29-2370-428A-BA11-87E38D0F3551}.Debug|Any CPU.Build.0 = Debug|Any CPU
60+
{16591D29-2370-428A-BA11-87E38D0F3551}.Debug|x64.ActiveCfg = Debug|Any CPU
61+
{16591D29-2370-428A-BA11-87E38D0F3551}.Debug|x64.Build.0 = Debug|Any CPU
62+
{16591D29-2370-428A-BA11-87E38D0F3551}.Debug|x86.ActiveCfg = Debug|Any CPU
63+
{16591D29-2370-428A-BA11-87E38D0F3551}.Debug|x86.Build.0 = Debug|Any CPU
64+
{16591D29-2370-428A-BA11-87E38D0F3551}.Release|Any CPU.ActiveCfg = Release|Any CPU
65+
{16591D29-2370-428A-BA11-87E38D0F3551}.Release|Any CPU.Build.0 = Release|Any CPU
66+
{16591D29-2370-428A-BA11-87E38D0F3551}.Release|x64.ActiveCfg = Release|Any CPU
67+
{16591D29-2370-428A-BA11-87E38D0F3551}.Release|x64.Build.0 = Release|Any CPU
68+
{16591D29-2370-428A-BA11-87E38D0F3551}.Release|x86.ActiveCfg = Release|Any CPU
69+
{16591D29-2370-428A-BA11-87E38D0F3551}.Release|x86.Build.0 = Release|Any CPU
5770
EndGlobalSection
5871
GlobalSection(SolutionProperties) = preSolution
5972
HideSolutionNode = FALSE
6073
EndGlobalSection
74+
GlobalSection(ExtensibilityGlobals) = postSolution
75+
SolutionGuid = {BDFC9557-8E89-44A1-97D7-A830F2A52938}
76+
EndGlobalSection
6177
EndGlobal

ReClass.NET/Constants.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ internal class Constants
44
{
55
public const string ApplicationName = "ReClass.NET";
66

7+
public const string ApplicationExecutableName = ApplicationName + ".exe";
8+
79
public const string ApplicationVersion = "1.1";
810

11+
public const string LauncherExecutableName = ApplicationName + "_Launcher.exe";
12+
913
public const string Author = "KN4CK3R";
1014

1115
public const string HomepageUrl = "https://github.com/KN4CK3R/ReClass.NET";
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
namespace ReClassNET.DataExchange.ReClass
2+
{
3+
public partial class ReClassNetFile
4+
{
5+
public const string FormatName = "ReClass.NET File";
6+
public const string FileExtension = ".rcnet";
7+
public const string FileExtensionId = "rcnetfile";
8+
9+
private const string Version1 = "1";
10+
11+
private const string DataFileName = "Data.xml";
12+
13+
private const string SerialisationClassName = "__Serialization_Class__";
14+
15+
public const string XmlRootElement = "reclass";
16+
public const string XmlClassesElement = "classes";
17+
public const string XmlClassElement = "class";
18+
public const string XmlNodeElement = "node";
19+
public const string XmlMethodElement = "method";
20+
public const string XmlVersionAttribute = "version";
21+
public const string XmlPlatformAttribute = "type";
22+
public const string XmlUuidAttribute = "uuid";
23+
public const string XmlNameAttribute = "name";
24+
public const string XmlCommentAttribute = "comment";
25+
public const string XmlAddressAttribute = "address";
26+
public const string XmlTypeAttribute = "type";
27+
public const string XmlReferenceAttribute = "reference";
28+
public const string XmlCountAttribute = "count";
29+
public const string XmlBitsAttribute = "bits";
30+
public const string XmlLengthAttribute = "length";
31+
public const string XmlSignatureAttribute = "signature";
32+
}
33+
}

ReClass.NET/DataExchange/ReClass/ReClassNetFile.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,6 @@ namespace ReClassNET.DataExchange.ReClass
88
{
99
public partial class ReClassNetFile : IReClassImport, IReClassExport
1010
{
11-
public const string FormatName = "ReClass.NET File";
12-
public const string FileExtension = ".rcnet";
13-
public const string FileExtensionId = "rcnetfile";
14-
15-
private const string Version1 = "1";
16-
17-
private const string DataFileName = "Data.xml";
18-
19-
private const string SerialisationClassName = "__Serialization_Class__";
20-
21-
public const string XmlRootElement = "reclass";
22-
public const string XmlClassesElement = "classes";
23-
public const string XmlClassElement = "class";
24-
public const string XmlNodeElement = "node";
25-
public const string XmlMethodElement = "method";
26-
public const string XmlVersionAttribute = "version";
27-
public const string XmlPlatformAttribute = "type";
28-
public const string XmlUuidAttribute = "uuid";
29-
public const string XmlNameAttribute = "name";
30-
public const string XmlCommentAttribute = "comment";
31-
public const string XmlAddressAttribute = "address";
32-
public const string XmlTypeAttribute = "type";
33-
public const string XmlReferenceAttribute = "reference";
34-
public const string XmlCountAttribute = "count";
35-
public const string XmlBitsAttribute = "bits";
36-
public const string XmlLengthAttribute = "length";
37-
public const string XmlSignatureAttribute = "signature";
38-
3911
private readonly ReClassNetProject project;
4012

4113
public ReClassNetFile(ReClassNetProject project)

ReClass.NET/Forms/SettingsForm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ protected override void OnFormClosed(FormClosedEventArgs e)
6060

6161
private void createAssociationButton_Click(object sender, EventArgs e)
6262
{
63-
WinUtil.RunElevated(PathUtil.ExecutablePath, $"-{Constants.CommandLineOptions.FileExtRegister}");
63+
WinUtil.RunElevated(PathUtil.LauncherExecutablePath, $"-{Constants.CommandLineOptions.FileExtRegister}");
6464
}
6565

6666
private void removeAssociationButton_Click(object sender, EventArgs e)
6767
{
68-
WinUtil.RunElevated(PathUtil.ExecutablePath, $"-{Constants.CommandLineOptions.FileExtUnregister}");
68+
WinUtil.RunElevated(PathUtil.LauncherExecutablePath, $"-{Constants.CommandLineOptions.FileExtUnregister}");
6969
}
7070

7171
private void SetBindings()

ReClass.NET/Program.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,6 @@ static void Main(string[] args)
4141

4242
CommandLineArgs = new CommandLineArgs(args);
4343

44-
if (CommandLineArgs[Constants.CommandLineOptions.FileExtRegister] != null)
45-
{
46-
NativeMethods.RegisterExtension(ReClassNetFile.FileExtension, ReClassNetFile.FileExtensionId, PathUtil.ExecutablePath, Constants.ApplicationName);
47-
48-
return;
49-
}
50-
if (CommandLineArgs[Constants.CommandLineOptions.FileExtUnregister] != null)
51-
{
52-
NativeMethods.UnregisterExtension(ReClassNetFile.FileExtension, ReClassNetFile.FileExtensionId);
53-
54-
return;
55-
}
56-
5744
try
5845
{
5946
DpiUtil.ConfigureProcess();

ReClass.NET/ReClass.NET.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<DebugSymbols>true</DebugSymbols>
2222
<DebugType>full</DebugType>
2323
<Optimize>false</Optimize>
24-
<OutputPath>..\bin\x86\Debug\</OutputPath>
24+
<OutputPath>..\bin\Debug\x86\</OutputPath>
2525
<DefineConstants>TRACE;DEBUG;RECLASSNET32</DefineConstants>
2626
<ErrorReport>prompt</ErrorReport>
2727
<WarningLevel>4</WarningLevel>
@@ -74,7 +74,7 @@
7474
<PlatformTarget>x86</PlatformTarget>
7575
<DebugType>pdbonly</DebugType>
7676
<Optimize>true</Optimize>
77-
<OutputPath>..\bin\x86\Release\</OutputPath>
77+
<OutputPath>..\bin\Release\x86\</OutputPath>
7878
<DefineConstants>TRACE;RECLASSNET32;RELEASE</DefineConstants>
7979
<ErrorReport>prompt</ErrorReport>
8080
<WarningLevel>4</WarningLevel>
@@ -84,7 +84,7 @@
8484
<DebugSymbols>true</DebugSymbols>
8585
<DebugType>full</DebugType>
8686
<Optimize>false</Optimize>
87-
<OutputPath>..\bin\x64\Debug\</OutputPath>
87+
<OutputPath>..\bin\Debug\x64\</OutputPath>
8888
<DefineConstants>TRACE;DEBUG;RECLASSNET64</DefineConstants>
8989
<ErrorReport>prompt</ErrorReport>
9090
<WarningLevel>4</WarningLevel>
@@ -94,7 +94,7 @@
9494
<PlatformTarget>x64</PlatformTarget>
9595
<DebugType>pdbonly</DebugType>
9696
<Optimize>true</Optimize>
97-
<OutputPath>..\bin\x64\Release\</OutputPath>
97+
<OutputPath>..\bin\Release\x64\</OutputPath>
9898
<DefineConstants>TRACE;RECLASSNET64;RELEASE</DefineConstants>
9999
<ErrorReport>prompt</ErrorReport>
100100
<WarningLevel>4</WarningLevel>
@@ -148,6 +148,7 @@
148148
<Compile Include="Core\InternalCoreFunctions.cs" />
149149
<Compile Include="Core\NativeCoreWrapper.cs" />
150150
<Compile Include="DataExchange\ReClass\ReClassClipboard.cs" />
151+
<Compile Include="DataExchange\ReClass\ReClassNetFile.Constants.cs" />
151152
<Compile Include="DataExchange\ReClass\ReClassNetFile.Read.cs" />
152153
<Compile Include="DataExchange\ReClass\ReClassNetFile.Write.cs" />
153154
<Compile Include="DataExchange\Scanner\CheatEngineFile.cs" />

0 commit comments

Comments
 (0)