Clean up code, add more linting, update emote styling
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const asar = require("asar");
|
||||
|
||||
@@ -8,14 +7,6 @@ const buildPackage = require("./package");
|
||||
const dist = path.resolve(__dirname, "..", "dist");
|
||||
const bundleFile = path.join(dist, "betterdiscord.asar");
|
||||
|
||||
const cleanOldAsar = function() {
|
||||
console.log("");
|
||||
console.log("Ensuring clean build");
|
||||
if (!fs.existsSync(bundleFile)) return console.log(" ✅ Nothing to clean up");
|
||||
fs.unlinkSync(bundleFile);
|
||||
console.log(` ✅ Removed old bundle ${bundleFile}`);
|
||||
};
|
||||
|
||||
const makeBundle = function() {
|
||||
console.log("");
|
||||
console.log("Generating bundle");
|
||||
|
||||
Reference in New Issue
Block a user