commit
fae97613d1
|
@ -1,26 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"id": "client",
|
|
||||||
"name": "client.zip",
|
|
||||||
"version": "2.0.0",
|
|
||||||
"size": "436228",
|
|
||||||
"remote": "https://github.com/JsSucks/BetterDiscordApp/releases/download/InstallerTest/client.zip",
|
|
||||||
"hash": "B0543B1D458021BC8F73CCEFB66185738582FD5B27B6F803F3ACB4989C9D1EBA"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "core",
|
|
||||||
"name": "core.zip",
|
|
||||||
"version": "2.0.0",
|
|
||||||
"size": "6983826",
|
|
||||||
"remote": "https://github.com/JsSucks/BetterDiscordApp/releases/download/InstallerTest/core.zip",
|
|
||||||
"hash": "https://github.com/JsSucks/BetterDiscordApp/releases/download/InstallerTest/core.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "csseditor",
|
|
||||||
"name": "csseditor.zip",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"size": "209435",
|
|
||||||
"remote": "https://github.com/JsSucks/BetterDiscordApp/releases/download/InstallerTest/csseditor.zip",
|
|
||||||
"hash": "5AD55F136AB515F17D163F017122E6690F01441F004967F53A50C218801A474E"
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"mver": "2.0.0",
|
||||||
|
"stub": "/master/installer/stub.js",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"id": "client",
|
||||||
|
"name": "client.zip",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"size": "436228",
|
||||||
|
"remote": "/releases/download/InstallerTest/client.zip",
|
||||||
|
"hash": "B0543B1D458021BC8F73CCEFB66185738582FD5B27B6F803F3ACB4989C9D1EBA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "core",
|
||||||
|
"name": "core.zip",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"size": "6983826",
|
||||||
|
"remote": "/releases/download/InstallerTest/core.zip",
|
||||||
|
"hash": "CF2AB488FB4FFF0EF2F5EC41930A62753D7DA5062954CDE1C27DD931F4560DC9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "csseditor",
|
||||||
|
"name": "csseditor.zip",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"size": "209435",
|
||||||
|
"remote": "/releases/download/InstallerTest/csseditor.zip",
|
||||||
|
"hash": "5AD55F136AB515F17D163F017122E6690F01441F004967F53A50C218801A474E"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
const { paths } = require('./bd.json');
|
const bdinfo = require('./bd.json');
|
||||||
const { app } = require('electron');
|
const { app } = require('electron');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
@ -8,8 +8,9 @@ const packagePath = path.join(__dirname, '..', 'app.asar');
|
||||||
app.getAppPath = () => packagePath;
|
app.getAppPath = () => packagePath;
|
||||||
|
|
||||||
function loadBd() {
|
function loadBd() {
|
||||||
|
const { paths } = bdinfo;
|
||||||
const { BetterDiscord } = require(paths.core);
|
const { BetterDiscord } = require(paths.core);
|
||||||
const instance = new BetterDiscord();
|
const instance = new BetterDiscord(bdinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
app.on('ready', loadBd);
|
app.on('ready', loadBd);
|
||||||
|
|
Loading…
Reference in New Issue