Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
Update to 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Dec 29, 2017
1 parent 5047aa4 commit 46ef6c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Version](https://img.shields.io/badge/version-v1.4-brightgreen.svg)](https://github.com/NeKzor/SourceAutoRecord/projects/1)
[![Build Version](https://img.shields.io/badge/version-v1.5-brightgreen.svg)](https://github.com/NeKzor/SourceAutoRecord/projects/1)
[![Release Status](https://img.shields.io/github/release/NeKzor/SourceAutoRecord/all.svg)](https://github.com/NeKzor/SourceAutoRecord/releases)

**SourceAutoRecord** allows automatic demo recording, automatic binding, demo parsing, session timing and [much more](#features).
Expand All @@ -18,7 +18,7 @@
- [Optional](#optional)
- [Stats](#stats)
- [Cheats](#cheats)
- [Accessible](#accessible)
- [Unlocked](#unlocked)
- [Patches](#patches)
- [Config](#config)
- [Mapping](#mapping)
Expand Down
9 changes: 4 additions & 5 deletions src/Injector/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,17 @@ string Inject(Process processToInject, string dllPath)
}
}

if (proc == null)
{
Console.WriteLine($"Could not find supported process!");
}
else
if (proc != null)
{
var result = Inject(proc, dll);
if (!string.IsNullOrEmpty(result))
Console.WriteLine($"Error: {result}");
else
Console.WriteLine($"Successfully injected {dll} into process {proc.ProcessName}!");
}
else
Console.WriteLine($"Could not find supported process!");

Console.ReadKey();
}
}
Expand Down

0 comments on commit 46ef6c6

Please sign in to comment.