aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/version.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/version.js b/src/modules/version.js
index e337fc4..303fd42 100644
--- a/src/modules/version.js
+++ b/src/modules/version.js
@@ -87,7 +87,7 @@ version.northstar = () => {
version.titanfall = () => {
var versionFilePath = path.join(settings().gamepath, "gameversion.txt");
if (fs.existsSync(versionFilePath)) {
- return fs.readFileSync(versionFilePath, "utf8");
+ return fs.readFileSync(versionFilePath, "utf8").trim();
} else {
return "unknown";
}