ones-fetch 1.4.0 → 1.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ones-fetch",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "description": "ONES Fetch — Web app for recursive ONES subtask crawling",
6
6
  "bin": {
@@ -5,11 +5,5 @@ Set fso = CreateObject("Scripting.FileSystemObject")
5
5
  scriptDir = fso.GetParentFolderName(WScript.ScriptFullName)
6
6
  projectRoot = fso.GetParentFolderName(scriptDir)
7
7
 
8
- ' 启动服务器(后台运行)
8
+ ' 启动服务器(后台运行,服务器会自动打开浏览器)
9
9
  WshShell.Run "cmd /c cd /d """ & projectRoot & """ && node src/server.mjs", 0, False
10
-
11
- ' 等待服务器启动
12
- WScript.Sleep 1500
13
-
14
- ' 打开浏览器
15
- WshShell.Run "http://localhost:3000", 1