Go to file
Zack Rauen 68f73ebd3c Updates Travis CI commands 2020-07-26 05:37:11 -04:00
.github/ISSUE_TEMPLATE making some progress 2020-03-21 01:33:16 -04:00
assets Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00
dist Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00
src Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00
tests more devops/ci stuff 2020-07-24 00:07:50 -04:00
.babelrc more devops/ci stuff 2020-07-24 00:07:50 -04:00
.eslintrc Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00
.gitignore making some progress 2020-03-21 01:33:16 -04:00
.stylelintrc some organization and devops 2020-07-23 16:51:58 -04:00
.travis.yml Updates Travis CI commands 2020-07-26 05:37:11 -04:00
CONTRIBUTING.md Adds CONTRIBUTING and updates linting 2020-07-25 04:22:57 -04:00
LICENSE some organization and devops 2020-07-23 16:51:58 -04:00
README.md travis migration 2020-07-24 01:01:15 -04:00
TODO.md more devops/ci stuff 2020-07-24 00:07:50 -04:00
gulpfile.js Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00
jsconfig.json more devops/ci stuff 2020-07-24 00:07:50 -04:00
lgtm.yml more devops/ci stuff 2020-07-24 00:07:50 -04:00
package-lock.json more devops/ci stuff 2020-07-24 00:07:50 -04:00
package.json Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00
webpack.config.js Adds transition code and some finishing touches 2020-07-26 05:34:38 -04:00

README.md

BandagedBD Build Status Netlify Language Grade GitHub Releases

Patreon Paypal

This branch is for the ongoing rewrite of BandagedBD. You can view what I believe to be left in the TODO.md file.

Testing

The following steps tell you how you can currently test the state of the rewrite as of April 23rd 2020.

  1. locate your BD installation. For Windows it is usually in %localappdata%\Discord\app-0.0.306\resources\app\betterdiscord.
  2. Open config.json in a text editor (n++, notepad, etc).
  3. Change the line "branch": "master", to "branch": "development",.
  4. (optional) Change "minified": true, to "minified": false, to stay on the bleeding edge (sometimes I forget to update the minified version).
  5. Fully restart your Discord client.
  6. You can verify it worked by seeing the revamped plugins and themes pages as well as custom css. You can also see if the version in settings is 1.0.0+

Script Version

The above can be automatically done in script form.

((branch = "development", minified = false) => {
try {
    const fs = require("fs");
    const path = require("path");
    const configPath = path.join(DataStore.injectionPath, "betterdiscord", "config.json");
    const config = require(configPath);
    config.branch = branch;
    config.minified = minified;
    console.log(config);
    fs.writeFileSync(configPath, JSON.stringify(config, null, 4));
    const app = require("electron").remote.app;
    app.relaunch();
    app.exit();
}
catch (err) {console.error(err);}
})("development", false);