@aiyiran/myclaw 1.0.42 → 1.0.44

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 (3) hide show
  1. package/config.js +1 -1
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/config.js CHANGED
@@ -11,5 +11,5 @@ module.exports = {
11
11
  DEFAULT_URL: 'http://127.0.0.1:18789',
12
12
 
13
13
  // 是否在 prepare / postinstall 时自动执行 patch
14
- AUTO_PATCH: false,
14
+ AUTO_PATCH: true,
15
15
  };
package/index.js CHANGED
@@ -340,8 +340,8 @@ if not errorlevel 1 goto :gateway_running
340
340
  REM Gateway not running -> update myclaw first, then start
341
341
  echo Starting...
342
342
  echo.
343
- echo [update] npm install -g @aiyiran/myclaw@latest
344
- call npm install -g @aiyiran/myclaw@latest >nul 2>&1
343
+ echo [update] checking...
344
+ call npm install -g @aiyiran/myclaw@latest --prefer-online >nul 2>&1
345
345
  echo [update] OK
346
346
  echo.
347
347
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {