vd-go 1.0.1 → 1.0.3

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 +2 -2
  2. package/package.json +17 -17
package/index.js CHANGED
@@ -8,7 +8,7 @@ const https = require("https");
8
8
 
9
9
  const platform = os.platform();
10
10
  const arch = os.arch();
11
- const version = "1.0.0";
11
+ const version = "1.0.3";
12
12
 
13
13
  let binaryName = "";
14
14
  if (platform === "win32") {
@@ -21,7 +21,7 @@ if (platform === "win32") {
21
21
 
22
22
  const binDir = path.join(__dirname, "bin");
23
23
  const binaryPath = path.join(binDir, binaryName);
24
- const downloadUrl = `https://github.com/nextsaimon/vd/releases/download/v${version}/${binaryName}`;
24
+ const downloadUrl = `https://github.com/nextsaimon/vd-go/releases/download/v${version}/${binaryName}`;
25
25
 
26
26
  function download(url, dest) {
27
27
  return new Promise((resolve, reject) => {
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
- {
2
- "name": "vd-go",
3
- "version": "1.0.1",
4
- "description": "High-performance video downloader CLI using Go",
5
- "main": "index.js",
6
- "preferGlobal": true,
7
- "bin": {
8
- "vd": "index.js"
9
- },
10
- "files": [
11
- "index.js",
12
- "README.md",
13
- "LICENSE"
14
- ],
15
- "author": "Saimon",
16
- "license": "MIT"
17
- }
1
+ {
2
+ "name": "vd-go",
3
+ "version": "1.0.3",
4
+ "description": "High-performance video downloader CLI using Go",
5
+ "main": "index.js",
6
+ "preferGlobal": true,
7
+ "bin": {
8
+ "vd": "index.js"
9
+ },
10
+ "files": [
11
+ "index.js",
12
+ "README.md",
13
+ "LICENSE"
14
+ ],
15
+ "author": "Saimon",
16
+ "license": "MIT"
17
+ }