|
@@ -113,7 +113,7 @@ export default {
|
|
|
if (typeof nodeRequire != "undefined") {
|
|
|
var that = this;
|
|
|
var fs = nodeRequire("fs");
|
|
|
- var config = fs.readFileSync(process.cwd() + "/" + "config.js", "utf-8");
|
|
|
+ var config = fs.readFileSync("config.js", "utf-8");
|
|
|
var nameJson = JSON.parse(config);
|
|
|
const electronConfig = (await this.$http.get(
|
|
|
"https://ecs.qmth.com.cn:8878/electron-config/" + nameJson.name + ".js"
|