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

Commit

Permalink
Version 2.8.4
Browse files Browse the repository at this point in the history
 - Added International truck brand to support list (or as SCS calls it, intnational..)
 - Fixed version number is large image hover text
  • Loading branch information
SgtBreadStick committed Dec 12, 2019
1 parent eae8ebc commit 063ac92
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion LogManager.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


const path = require('path'); const path = require('path');
const fs = require('fs'); const fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion ProModsNotifier.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


const notifier = require('node-notifier'); const notifier = require('node-notifier');
const config = require('./config'); const config = require('./config');
Expand Down
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -3,7 +3,7 @@
</div> </div>


# Virtual Trucker Rich Presence # Virtual Trucker Rich Presence
## Version 2.8.3 ## Version 2.8.4


An easy tool to let others see your current job, truck, etc. using Discord Rich Presence! An easy tool to let others see your current job, truck, etc. using Discord Rich Presence!
Here's our Discord server for support: https://discord.gg/Zt49WDH Here's our Discord server for support: https://discord.gg/Zt49WDH
Expand All @@ -24,7 +24,10 @@ Supports **Euro Truck Simulator 2**, **American Truck Simulator** and **Truckers
![Rich presence example on Multiplayer](https://i.sgtbrds.tk/of86i.png) ![Rich presence example on Multiplayer](https://i.sgtbrds.tk/of86i.png)


## Changelog ## Changelog
### Update 2.8.3 ### Update 2.8.4
- Added International truck brand to support list (or as SCS calls it, intnational..)
- Fixed version number is large image hover text
### Update 2.8.88
- Added Speed again (When engine is turned on) - Added Speed again (When engine is turned on)
- Removed duplicate functions - Removed duplicate functions
- Added current vehicle info when doing a delivery - Added current vehicle info when doing a delivery
Expand Down
4 changes: 2 additions & 2 deletions RichPresenceManager.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


const DiscordRPC = require('discord-rpc'); const DiscordRPC = require('discord-rpc');
var now = require("date-now") var now = require("date-now")
Expand Down Expand Up @@ -348,7 +348,7 @@ class RichPresenceManager {
activity.details += util.format(` at ${this.calculateSpeed(speed, this.isAts(data))}${this.getSpeedUnit(this.isAts(data))}`); activity.details += util.format(` at ${this.calculateSpeed(speed, this.isAts(data))}${this.getSpeedUnit(this.isAts(data))}`);
} }


activity.largeImageText = `VT-RPC v2.8.1`; activity.largeImageText = `VT-RPC v2.8.4`;
activity.largeImageKey = this.getLargeImageKey(data); activity.largeImageKey = this.getLargeImageKey(data);


if (this.mpInfo != null && this.mpInfo.online != false) { if (this.mpInfo != null && this.mpInfo.online != false) {
Expand Down
2 changes: 1 addition & 1 deletion UpdateNotifier.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


var fetch = require('node-fetch'); var fetch = require('node-fetch');
const notifier = require('node-notifier'); const notifier = require('node-notifier');
Expand Down
2 changes: 1 addition & 1 deletion compile.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


const { const {
compile compile
Expand Down
3 changes: 2 additions & 1 deletion config.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


const packageInfo = require('./package.json'); const packageInfo = require('./package.json');


Expand Down Expand Up @@ -35,6 +35,7 @@ module.exports = {
'daf', 'daf',
'freightliner', 'freightliner',
'international', 'international',
'intnational',
'iveco', 'iveco',
'kamaz', 'kamaz',
'kenworth', 'kenworth',
Expand Down
2 changes: 1 addition & 1 deletion index.js
@@ -1,4 +1,4 @@
// VIRTUAL TRUCKER RICH PRESENCE 2.83 // VIRTUAL TRUCKER RICH PRESENCE 2.84


const LogManager = require('./LogManager'); const LogManager = require('./LogManager');
const logger = new LogManager(); const logger = new LogManager();
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{ {
"name": "virtual-trucker-rich-presence", "name": "virtual-trucker-rich-presence",
"version": "2.8.3", "version": "2.8.4",
"description": "An easy tool to let others see your current job, truck, etc. on Discord!", "description": "An easy tool to let others see your current job, truck, etc. on Discord!",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion setup/InnoSetupScript.iss
@@ -1,7 +1,7 @@
#include <idp.iss> #include <idp.iss>


#define MyAppName "Virtual Trucker Rich Presence" #define MyAppName "Virtual Trucker Rich Presence"
#define MyAppVersion "2.8.3" #define MyAppVersion "2.8.4"
#define MyAppPublisher "Virtual Trucker Rich Presence" #define MyAppPublisher "Virtual Trucker Rich Presence"
#define MyAppURL "https://vtrpc.live" #define MyAppURL "https://vtrpc.live"
#define MyAppExeName "VirtualTruckerRichPresence.exe" #define MyAppExeName "VirtualTruckerRichPresence.exe"
Expand Down
2 changes: 1 addition & 1 deletion vbs/RunHidden.vbs
@@ -1,4 +1,4 @@
' VIRTUAL TRUCKER RICH PRESENCE 2.83 ' VIRTUAL TRUCKER RICH PRESENCE 2.84
scriptdir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) scriptdir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
Set shell = CreateObject("Wscript.Shell") Set shell = CreateObject("Wscript.Shell")
shell.CurrentDirectory = scriptdir shell.CurrentDirectory = scriptdir
Expand Down

0 comments on commit 063ac92

Please sign in to comment.