lightshortcuts 1.0.4 → 1.0.5
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/bin/lsc.js +2 -2
- package/index.js +0 -0
- package/lib/defaults.js +0 -0
- package/lib/shortcuts.js +0 -0
- package/package.json +1 -1
package/bin/lsc.js
CHANGED
|
@@ -10,13 +10,13 @@ const { merge, getZipFileList } = require("../lib/utils");
|
|
|
10
10
|
const fileExists = require("../lib/helpers/file-exists");
|
|
11
11
|
|
|
12
12
|
// 读取发布配置文件
|
|
13
|
-
const lscrcPath = path.join(process.env.HOME, ".lscrc.json");
|
|
13
|
+
const lscrcPath = path.join(process.env.HOME||process.env.USERPROFILE, ".lscrc.json");
|
|
14
14
|
const defaultConfig = require("../lib/defaults");
|
|
15
15
|
const { checkSession, initAxiosConfig } = require("../lib/core/API");
|
|
16
16
|
// 主目录下登录配置文件
|
|
17
17
|
let confPath = path.join(process.cwd(), "./lsc.config.json");
|
|
18
18
|
|
|
19
|
-
program.version("0.0.
|
|
19
|
+
program.version("0.0.4");
|
|
20
20
|
|
|
21
21
|
// 登录并保存token
|
|
22
22
|
let lightBaseURL = "";
|
package/index.js
CHANGED
|
File without changes
|
package/lib/defaults.js
CHANGED
|
File without changes
|
package/lib/shortcuts.js
CHANGED
|
File without changes
|