@jmcomic/jmcomic 2.6.20-rc.1 → 2.6.20-rc.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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -25,25 +25,25 @@ export function getBinaryPath() {
25
25
  const platform = process.platform
26
26
 
27
27
  if (platform === "win32") {
28
- const p = require.resolve("@kaguyajs/jmcomic-windows-x64")
28
+ const p = require.resolve("@jmcomic/jmcomic-windows-x64")
29
29
  cachedBinaryPath = path.join(path.dirname(p), "bin/jmcomic.exe")
30
30
  return cachedBinaryPath
31
31
  }
32
32
 
33
33
  if (platform === "linux") {
34
34
  try {
35
- const p = require.resolve("@kaguyajs/jmcomic-linux-gnu")
35
+ const p = require.resolve("@jmcomic/jmcomic-linux-gnu")
36
36
  cachedBinaryPath = path.join(path.dirname(p), "bin/jmcomic")
37
37
  return cachedBinaryPath
38
38
  } catch {
39
- const p = require.resolve("@kaguyajs/jmcomic-linux-musl")
39
+ const p = require.resolve("@jmcomic/jmcomic-linux-musl")
40
40
  cachedBinaryPath = path.join(path.dirname(p), "bin/jmcomic")
41
41
  return cachedBinaryPath
42
42
  }
43
43
  }
44
44
 
45
45
  if (platform === "darwin") {
46
- const p = require.resolve("@kaguyajs/jmcomic-macos-arm64")
46
+ const p = require.resolve("@jmcomic/jmcomic-macos-arm64")
47
47
  cachedBinaryPath = path.join(path.dirname(p), "bin/jmcomic")
48
48
  return cachedBinaryPath
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmcomic/jmcomic",
3
- "version": "2.6.20-rc.1",
3
+ "version": "2.6.20-rc.2",
4
4
  "keywords": [
5
5
  "JMComic",
6
6
  "禁漫",
@@ -21,9 +21,9 @@
21
21
  "index.js"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@jmcomic/jmcomic-linux-gnu": "2.6.20-rc.1",
25
- "@jmcomic/jmcomic-linux-musl": "2.6.20-rc.1",
26
- "@jmcomic/jmcomic-windows-x64": "2.6.20-rc.1",
27
- "@jmcomic/jmcomic-macos-arm64": "2.6.20-rc.1"
24
+ "@jmcomic/jmcomic-linux-gnu": "2.6.20-rc.2",
25
+ "@jmcomic/jmcomic-linux-musl": "2.6.20-rc.2",
26
+ "@jmcomic/jmcomic-windows-x64": "2.6.20-rc.2",
27
+ "@jmcomic/jmcomic-macos-arm64": "2.6.20-rc.2"
28
28
  }
29
29
  }