for v0.0.278
This commit is contained in:
parent
62c06f1a5d
commit
6a45dd2093
|
@ -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 asar = require('asar');
|
||||||
var wrench = require('wrench');
|
var wrench = require('wrench');
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
|
@ -16,7 +18,7 @@ var _index = _appFolder + "\\app\\index.js";
|
||||||
|
|
||||||
function install() {
|
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);
|
console.log("Looking for discord resources at: " + _discordPath);
|
||||||
|
|
||||||
fs.exists(_discordPath, function(exists) {
|
fs.exists(_discordPath, function(exists) {
|
||||||
|
@ -100,7 +102,7 @@ function install() {
|
||||||
|
|
||||||
function init() {
|
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.");
|
console.log("If Discord has updated then download the latest installer.");
|
||||||
|
|
||||||
var rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
var rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
||||||
|
|
|
@ -3,6 +3,10 @@ Better Discord App enhances Discord desktop app with new features.
|
||||||
|
|
||||||
![ss](http://puu.sh/jTEBB.png)
|
![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
|
## Auto Installation
|
||||||
* Download the latest package from [releases](https://github.com/Jiiks/BetterDiscordApp/releases)
|
* Download the latest package from [releases](https://github.com/Jiiks/BetterDiscordApp/releases)
|
||||||
* Run the installer
|
* Run the installer
|
||||||
|
|
Loading…
Reference in New Issue