feat:V3.0.1
This commit is contained in:
@@ -9,6 +9,7 @@ export interface IConfig {
|
||||
dexpub: boolean;
|
||||
mixins: boolean;
|
||||
};
|
||||
oaf: boolean
|
||||
}
|
||||
|
||||
export class Config {
|
||||
@@ -22,6 +23,7 @@ export class Config {
|
||||
dexpub: false,
|
||||
mixins: true,
|
||||
},
|
||||
oaf:true
|
||||
};
|
||||
config(): IConfig {
|
||||
if (!fs.existsSync("./config.json")) {
|
||||
|
||||
@@ -49,7 +49,7 @@ export function version_compare(v1: string, v2: string) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
export function execPromise(cmd:string,options:ExecOptions){
|
||||
export function execPromise(cmd:string,options?:ExecOptions){
|
||||
return new Promise((resolve,reject)=>{
|
||||
exec(cmd,options,(err,stdout,stderr)=>{
|
||||
if(err){
|
||||
|
||||
Reference in New Issue
Block a user