Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Plugin/ToolBoxFoldContact/toolbox-fold.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const fs = require('fs');
const path = require('path');

// 默认的配置文件路径,放在 TVStxt 目录下方便手机端编辑
const DOC_PATH = path.resolve(__dirname, '../../TVStxt/ContactToolBox.txt');
const TVSTXT_DIR = process.env.TVSTXT_DIR_PATH || path.resolve(__dirname, '../../TVStxt');
const DOC_PATH = path.resolve(TVSTXT_DIR, 'ContactToolBox.txt.txt');
// 匹配分隔符的正则表达式,支持任意阈值,例如 [===vcp_fold:0.5===]
const FOLD_REGEX = /^\[===vcp_fold:\s*([0-9.]+)\s*===\]\s*$/m;

Expand Down
3 changes: 2 additions & 1 deletion Plugin/ToolBoxFoldFile/toolbox-fold.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const fs = require('fs');
const path = require('path');

// 默认的配置文件路径,放在 TVStxt 目录下方便手机端编辑
const DOC_PATH = path.resolve(__dirname, '../../TVStxt/FileToolBox.txt');
const TVSTXT_DIR = process.env.TVSTXT_DIR_PATH || path.resolve(__dirname, '../../TVStxt');
const DOC_PATH = path.resolve(TVSTXT_DIR, 'FileToolBox.txt');
// 匹配分隔符的正则表达式,支持任意阈值,例如 [===vcp_fold:0.5===]
const FOLD_REGEX = /^\[===vcp_fold:\s*([0-9.]+)\s*===\]\s*$/m;

Expand Down
3 changes: 2 additions & 1 deletion Plugin/ToolBoxFoldMedia/toolbox-fold.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const fs = require('fs');
const path = require('path');

// 默认的配置文件路径,放在 TVStxt 目录下方便手机端编辑
const DOC_PATH = path.resolve(__dirname, '../../TVStxt/MediaToolBox.txt');
const TVSTXT_DIR = process.env.TVSTXT_DIR_PATH || path.resolve(__dirname, '../../TVStxt');
const DOC_PATH = path.resolve(TVSTXT_DIR, 'MediaToolBox.txt');
// 匹配分隔符的正则表达式,支持任意阈值,例如 [===vcp_fold:0.5===]
const FOLD_REGEX = /^\[===vcp_fold:\s*([0-9.]+)\s*===\]\s*$/m;

Expand Down
3 changes: 2 additions & 1 deletion Plugin/ToolBoxFoldMemo/toolbox-fold.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const fs = require('fs');
const path = require('path');

// 默认的配置文件路径,放在 TVStxt 目录下方便手机端编辑
const DOC_PATH = path.resolve(__dirname, '../../TVStxt/MemoToolBox.txt');
const TVSTXT_DIR = process.env.TVSTXT_DIR_PATH || path.resolve(__dirname, '../../TVStxt');
const DOC_PATH = path.resolve(TVSTXT_DIR, 'MemoToolBox.txt');
// 匹配分隔符的正则表达式,支持任意阈值,例如 [===vcp_fold:0.5===]
const FOLD_REGEX = /^\[===vcp_fold:\s*([0-9.]+)\s*===\]\s*$/m;

Expand Down
3 changes: 2 additions & 1 deletion Plugin/ToolBoxFoldSearch/toolbox-fold.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const fs = require('fs');
const path = require('path');

// 默认的配置文件路径,放在 TVStxt 目录下方便手机端编辑
const DOC_PATH = path.resolve(__dirname, '../../TVStxt/SearchToolBox.txt');
const TVSTXT_DIR = process.env.TVSTXT_DIR_PATH || path.resolve(__dirname, '../../TVStxt');
const DOC_PATH = path.resolve(TVSTXT_DIR, 'SearchToolBox.txt');
// 匹配分隔符的正则表达式,支持任意阈值,例如 [===vcp_fold:0.5===]
const FOLD_REGEX = /^\[===vcp_fold:\s*([0-9.]+)\s*===\]\s*$/m;

Expand Down
Loading