Мелкие поправки
This commit is contained in:
@@ -395,6 +395,8 @@ class WebWorker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async restoreBookFile(publicPath) {
|
async restoreBookFile(publicPath) {
|
||||||
|
this.checkMyState();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const db = this.db;
|
const db = this.db;
|
||||||
const hash = path.basename(publicPath);
|
const hash = path.basename(publicPath);
|
||||||
@@ -418,6 +420,8 @@ class WebWorker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getDownFileName(publicPath) {
|
async getDownFileName(publicPath) {
|
||||||
|
this.checkMyState();
|
||||||
|
|
||||||
const db = this.db;
|
const db = this.db;
|
||||||
const hash = path.basename(publicPath);
|
const hash = path.basename(publicPath);
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ function showHelp() {
|
|||||||
|
|
||||||
Options:
|
Options:
|
||||||
--help Print ${config.name} command line options
|
--help Print ${config.name} command line options
|
||||||
--app-dir=<dirpath> Set application working directory, default: "<execDir>/.${config.name}"
|
--app-dir=<dirpath> Set application working directory, default: <execDir>/.${config.name}
|
||||||
--lib-dir=<dirpath> Set library directory, default: the same as ${config.name} executable's
|
--lib-dir=<dirpath> Set library directory, default: the same as ${config.name} executable's
|
||||||
--inpx=<filepath> Set INPX collection file, default: the one that found in library dir
|
--inpx=<filepath> Set INPX collection file, default: the one that found in library dir
|
||||||
--recreate Force recreation of the search database on start
|
--recreate Force recreation of the search database on start
|
||||||
|
|||||||
Reference in New Issue
Block a user