diff options
-rw-r--r-- | src/modules/version.js | 2 |
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"; } |