for v0.0.278

This commit is contained in:
Jiiks 2015-09-02 12:33:30 +03:00
parent 62c06f1a5d
commit 6a45dd2093
2 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,9 @@
/*
* BetterDiscordApp Installer v0.2 for Discord 0.0.277
* BetterDiscordApp Installer v0.2
*/
var dver = "0.0.278";
var asar = require('asar');
var wrench = require('wrench');
var fs = require('fs');
@ -16,7 +18,7 @@ var _index = _appFolder + "\\app\\index.js";
function install() {
_discordPath = process.env.LOCALAPPDATA + "\\Discord\\app-0.0.277\\resources";
_discordPath = process.env.LOCALAPPDATA + "\\Discord\\app-"+dver+"\\resources";
console.log("Looking for discord resources at: " + _discordPath);
fs.exists(_discordPath, function(exists) {
@ -100,7 +102,7 @@ function install() {
function init() {
console.log("BetterDiscord Simple Installer v0.1 for Discord 0.0.277 by Jiiks.");
console.log("BetterDiscord Simple Installer v0.1 for Discord "+dver+" by Jiiks.");
console.log("If Discord has updated then download the latest installer.");
var rl = readline.createInterface({ input: process.stdin, output: process.stdout });

View File

@ -3,6 +3,10 @@ Better Discord App enhances Discord desktop app with new features.
![ss](http://puu.sh/jTEBB.png)
```
If Discord has updated and the installer hasn't, try replaceing the installer index.js with the latest one here: [index.js](https://github.com/Jiiks/BetterDiscordApp/blob/master/NodeInstaller/index.js)
```
## Auto Installation
* Download the latest package from [releases](https://github.com/Jiiks/BetterDiscordApp/releases)
* Run the installer