bililive-cli 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{index-0wA94Agk.js → index-BvslFWVg.cjs} +56 -894
- package/lib/{index-C8BJBjBO.js → index-CSU11uxG.cjs} +15618 -21049
- package/lib/index.cjs +3 -3
- package/lib/{linux-ByVIOrvJ.js → linux-CzPApWjU.cjs} +1 -1
- package/lib/{macos-Byot1QEF.js → macos-DJE3Xyb_.cjs} +2 -2
- package/lib/{windows-DifqfaHn.js → windows-CuDjLP0Y.cjs} +2 -2
- package/package.json +3 -3
- /package/lib/{chunked-exec-De50pd_R.js → chunked-exec-De50pd_R.cjs} +0 -0
- /package/lib/{index-BZRzMMRb.js → index-BZRzMMRb.cjs} +0 -0
package/lib/index.cjs
CHANGED
|
@@ -3440,7 +3440,7 @@ const {
|
|
|
3440
3440
|
Help
|
|
3441
3441
|
} = commander;
|
|
3442
3442
|
|
|
3443
|
-
var version = "1.6.
|
|
3443
|
+
var version = "1.6.2";
|
|
3444
3444
|
|
|
3445
3445
|
const program = new Command();
|
|
3446
3446
|
program.name("biliLive").description("biliLive-tools命令行").version(version);
|
|
@@ -3460,8 +3460,8 @@ program
|
|
|
3460
3460
|
throw new Error(`${c.configFolder}参数不存在,请先重新运行 config gen 命令`);
|
|
3461
3461
|
}
|
|
3462
3462
|
// 下面两行顺序不能换(
|
|
3463
|
-
const { init } = await Promise.resolve().then(function () { return require('./index-
|
|
3464
|
-
const { serverStart } = await Promise.resolve().then(function () { return require('./index-
|
|
3463
|
+
const { init } = await Promise.resolve().then(function () { return require('./index-CSU11uxG.cjs'); }).then(function (n) { return n.index; });
|
|
3464
|
+
const { serverStart } = await Promise.resolve().then(function () { return require('./index-BvslFWVg.cjs'); });
|
|
3465
3465
|
const globalConfig = {
|
|
3466
3466
|
ffmpegPresetPath: path$1.join(c.configFolder, "ffmpeg_presets.json"),
|
|
3467
3467
|
videoPresetPath: path$1.join(c.configFolder, "presets.json"),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var os$3 = require('node:os');
|
|
4
4
|
var path$5 = require('node:path');
|
|
5
5
|
var fs$3 = require('node:fs');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CSU11uxG.cjs');
|
|
7
7
|
var require$$0 = require('fs');
|
|
8
8
|
var require$$1 = require('path');
|
|
9
9
|
var require$$0$1 = require('child_process');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
|
-
var chunkedExec = require('./chunked-exec-De50pd_R.
|
|
4
|
+
var chunkedExec = require('./chunked-exec-De50pd_R.cjs');
|
|
5
5
|
require('node:util');
|
|
6
6
|
require('node:child_process');
|
|
7
7
|
require('node:url');
|
|
@@ -10,7 +10,7 @@ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentS
|
|
|
10
10
|
const isOlderThanMountainLion = Number(os.release().split('.')[0]) < 12;
|
|
11
11
|
|
|
12
12
|
// Binary source: https://github.com/sindresorhus/macos-trash
|
|
13
|
-
const binary = new URL('macos-trash', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('macos-
|
|
13
|
+
const binary = new URL('macos-trash', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('macos-DJE3Xyb_.cjs', document.baseURI).href)));
|
|
14
14
|
|
|
15
15
|
async function macOS(paths) {
|
|
16
16
|
if (isOlderThanMountainLion) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkedExec = require('./chunked-exec-De50pd_R.
|
|
3
|
+
var chunkedExec = require('./chunked-exec-De50pd_R.cjs');
|
|
4
4
|
require('node:util');
|
|
5
5
|
require('node:child_process');
|
|
6
6
|
require('node:url');
|
|
7
7
|
|
|
8
8
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
9
9
|
// Binary source: https://github.com/sindresorhus/recycle-bin
|
|
10
|
-
const binary = new URL('windows-trash.exe', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('windows-
|
|
10
|
+
const binary = new URL('windows-trash.exe', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('windows-CuDjLP0Y.cjs', document.baseURI).href)));
|
|
11
11
|
|
|
12
12
|
async function windows(paths) {
|
|
13
13
|
await chunkedExec.chunkedExec(binary, paths, 200);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bililive-cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "biliLive-tools的cli程序",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"commander": "^12.0.0",
|
|
36
36
|
"rimraf": "^6.0.1",
|
|
37
37
|
"tsx": "^4.7.2",
|
|
38
|
+
"@biliLive-tools/types": "1.6.1",
|
|
38
39
|
"@biliLive-tools/http": "1.6.1",
|
|
39
|
-
"@biliLive-tools/shared": "1.6.1"
|
|
40
|
-
"@biliLive-tools/types": "1.6.1"
|
|
40
|
+
"@biliLive-tools/shared": "1.6.1"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"start": "tsx src/index.ts",
|
|
File without changes
|
|
File without changes
|