Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Commit

Permalink
Renamed folder, minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Splamy committed Nov 12, 2017
1 parent 92e5719 commit f8cff0d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions ConsoleApp1/Injector.csproj → Injektor/Injector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE;DEBUG;WIN64</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -24,7 +24,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>..\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;WIN64</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
Expand All @@ -35,7 +35,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE;DEBUG;WIN32</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -44,7 +44,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>..\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;WIN32</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
Expand Down
13 changes: 8 additions & 5 deletions ConsoleApp1/Program.cs → Injektor/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
using System;
using System.IO;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Injector
{
class Program
{
#if WIN32
const string procName = "ts3client_win32";
#else
const string procName = "ts3client_win64";
#endif

static void Main(string[] args)
{
DoHax();
Expand All @@ -20,7 +23,7 @@ static void Main(string[] args)
static void DoHax()
{
Process proc;
var procs = Process.GetProcessesByName("ts3client_win64");
var procs = Process.GetProcessesByName(procName);
if (procs.Length == 0)
{
Console.WriteLine("No Proc found");
Expand Down
2 changes: 1 addition & 1 deletion TS3Hook.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VisualStudioVersion = 15.0.27004.2008
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TS3Hook", "TS3Hook\TS3Hook.vcxproj", "{568E865A-1CFF-457E-823F-0239A23ED904}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Injector", "ConsoleApp1\Injector.csproj", "{3C292C14-45B3-4AEF-B332-60FB8C022D8F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Injector", "Injektor\Injector.csproj", "{3C292C14-45B3-4AEF-B332-60FB8C022D8F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit f8cff0d

Please sign in to comment.