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

Commit 46ef6c6

Browse files
committed
Update to 1.5
1 parent 5047aa4 commit 46ef6c6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Version](https://img.shields.io/badge/version-v1.4-brightgreen.svg)](https://github.com/NeKzor/SourceAutoRecord/projects/1)
1+
[![Build Version](https://img.shields.io/badge/version-v1.5-brightgreen.svg)](https://github.com/NeKzor/SourceAutoRecord/projects/1)
22
[![Release Status](https://img.shields.io/github/release/NeKzor/SourceAutoRecord/all.svg)](https://github.com/NeKzor/SourceAutoRecord/releases)
33

44
**SourceAutoRecord** allows automatic demo recording, automatic binding, demo parsing, session timing and [much more](#features).
@@ -18,7 +18,7 @@
1818
- [Optional](#optional)
1919
- [Stats](#stats)
2020
- [Cheats](#cheats)
21-
- [Accessible](#accessible)
21+
- [Unlocked](#unlocked)
2222
- [Patches](#patches)
2323
- [Config](#config)
2424
- [Mapping](#mapping)

src/Injector/Program.cs

+4-5
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,17 @@ string Inject(Process processToInject, string dllPath)
8484
}
8585
}
8686

87-
if (proc == null)
88-
{
89-
Console.WriteLine($"Could not find supported process!");
90-
}
91-
else
87+
if (proc != null)
9288
{
9389
var result = Inject(proc, dll);
9490
if (!string.IsNullOrEmpty(result))
9591
Console.WriteLine($"Error: {result}");
9692
else
9793
Console.WriteLine($"Successfully injected {dll} into process {proc.ProcessName}!");
9894
}
95+
else
96+
Console.WriteLine($"Could not find supported process!");
97+
9998
Console.ReadKey();
10099
}
101100
}

0 commit comments

Comments
 (0)