This commit is contained in:
frostime 2023-05-22 22:53:25 +08:00
parent b3088200b1
commit 3853269e82

View file

@ -33,6 +33,7 @@ async function getSiYuanDir() {
}
} catch (e) {
log("Error:", e);
log("Please make sure SiYuan is running!!!");
return null;
}
return conf.data;
@ -67,7 +68,7 @@ if (targetDir === '') {
let res = await getSiYuanDir();
if (res === null) {
log('Failed! Please set the plugin directory in scripts/make_dev_link.js');
log('Failed! You can set the plugin directory in scripts/make_dev_link.js and try again');
process.exit(1);
}