bililive-cli 3.8.2 → 3.9.1

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.cjs CHANGED
@@ -3715,7 +3715,7 @@ const {
3715
3715
  Help,
3716
3716
  } = commander;
3717
3717
 
3718
- var version = "3.8.2";
3718
+ var version = "3.9.1";
3719
3719
 
3720
3720
  process.on("uncaughtException", function (error) {
3721
3721
  console.error(`${new Date().toISOString()} uncaughtException`, error);
@@ -3741,8 +3741,8 @@ program
3741
3741
  throw new Error(`${c.configFolder}参数不存在,请先重新运行 config gen 命令`);
3742
3742
  }
3743
3743
  // 下面两行顺序不能换(
3744
- const { init } = await Promise.resolve().then(function () { return require('./index-9RtWxDCO.cjs'); }).then(function (n) { return n.index; });
3745
- const { serverStart } = await Promise.resolve().then(function () { return require('./index-CWr6rOqY.cjs'); });
3744
+ const { init } = await Promise.resolve().then(function () { return require('./index-B4DHRkFJ.cjs'); }).then(function (n) { return n.index; });
3745
+ const { serverStart } = await Promise.resolve().then(function () { return require('./index-Cba0EEtx.cjs'); });
3746
3746
  const globalConfig = {
3747
3747
  ffmpegPresetPath: path$1.join(c.configFolder, "ffmpeg_presets.json"),
3748
3748
  videoPresetPath: path$1.join(c.configFolder, "presets.json"),
@@ -3825,7 +3825,7 @@ function generateConfig(configPath) {
3825
3825
  defaultConfig.configFolder = configFolder;
3826
3826
  }
3827
3827
  }
3828
- else if (process.platform === "linux") {
3828
+ else if (process.platform === "linux" || process.platform === "darwin") {
3829
3829
  defaultConfig.ffmpegPath = "ffmpeg";
3830
3830
  defaultConfig.ffprobePath = "ffprobe";
3831
3831
  defaultConfig.mesioPath = "mesio";
@@ -4,7 +4,7 @@ var os$3 = require('node:os');
4
4
  var path$5 = require('node:path');
5
5
  var fs$3 = require('node:fs');
6
6
  var crypto = require('node:crypto');
7
- var index = require('./index-9RtWxDCO.cjs');
7
+ var index = require('./index-B4DHRkFJ.cjs');
8
8
  var require$$0$1 = require('fs');
9
9
  var require$$0 = require('path');
10
10
  var require$$0$2 = require('child_process');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bililive-cli",
3
- "version": "3.8.2",
3
+ "version": "3.9.1",
4
4
  "type": "module",
5
5
  "description": "biliLive-tools的cli程序",
6
6
  "main": "./lib/index.js",
@@ -39,9 +39,9 @@
39
39
  "commander": "^12.1.0",
40
40
  "rimraf": "^6.0.1",
41
41
  "tsx": "^4.19.2",
42
- "@biliLive-tools/types": "3.8.1",
43
- "@biliLive-tools/shared": "3.8.1",
44
- "@biliLive-tools/http": "3.8.1"
42
+ "@biliLive-tools/http": "3.9.1",
43
+ "@biliLive-tools/types": "3.9.1",
44
+ "@biliLive-tools/shared": "3.9.1"
45
45
  },
46
46
  "scripts": {
47
47
  "start": "tsx src/index.ts",