crabatool 1.0.74 → 1.0.75

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/config.js CHANGED
@@ -12,7 +12,8 @@ class Config {
12
12
 
13
13
  this.Version = pg.version;
14
14
  this.Debug = false;
15
- this.Host = "http://crabadoc.mygjp.com.cn";
15
+ //this.Host = "http://crabadoc.mygjp.com.cn";
16
+ this.Host = "http://crabadoc.ca.com";
16
17
  //this.Host = "http://127.0.0.1:9998";
17
18
  this.TempPath = path.join(os.tmpdir(), '_crabatemp');
18
19
  this.ImageCache = path.join(this.TempPath, "_img");
package/lib/utils.js CHANGED
@@ -471,7 +471,7 @@ class Utils {
471
471
  downloadFile(uri, savePath, callback) {
472
472
  if (!uri || !savePath) throw new Error('uri或savePath不能为空');
473
473
 
474
- console.log('下载文件中');
474
+ //console.log('下载文件中');
475
475
  axios({
476
476
  method: 'get',
477
477
  url: uri,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.74",
3
+ "version": "1.0.75",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tool/install.js CHANGED
@@ -30,10 +30,12 @@ class Install {
30
30
  return;
31
31
  }
32
32
 
33
- console.log("没有找到IDEA的数据目录,请检查是否已经安装idea;如果有安装请反馈给管理员");
33
+ console.log("没有找到IDEA的数据目录,请检查是否已经安装idea");
34
34
  }
35
35
 
36
36
  doIDEA(ideaPath) {
37
+ console.log('idea路径:' + ideaPath);
38
+
37
39
  // 第1步:gspx智能语法提示
38
40
  var xsdFile = path.join(process.env.ProgramData, "idea/Craba.UI.xsd");
39
41
  utils.mkdirsSync(xsdFile);