Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ocs-desktop

ocsjs22MIT2.4.7

desktop for userscript

ocs, script, playwright, puppeteer, electron, vue, ant-design-vue, typescript

readme

ocs-desktop

ocs 软件

运行

# 安装依赖
npm i pnpm -g
pnpm install

# 打开两个终端
# 终端1
cd packages/web
npm run dev
# 终端2
cd packages/app
npm run dev

打包

npm run build

changelog

2.4.7 (2023-11-03)

Bug Fixes

  • 优化夜间模式的颜色 (2166616)
  • app: 优化网络卡顿时无法安装脚本的BUG (77adbf9)
  • web: 修复mac资源下载BUG,优化夜间样式 (a8aa70d)

Features

  • 新增OCS桌面版 MAC 版本适配 (da2e91a)
  • all: 添加软件浏览器缓存路径修改功能 (739c05a)
  • script: 新增OCS 桌面版 MAC 版本的 OCR 适配 (1b5f72a)
  • web: 在批量启动方法中新增顺序启动和延时启动功能 (e6da600)

2.4.2 (2023-10-15)

Bug Fixes

  • app: 优化窗口大小调整功能 (8e9860d)

2.4.1 (2023-09-24)

Features

  • app: 添加设置窗口大小功能,配合脚本使用 (1b8c207)

2.4.0 (2023-09-22)

2.3.1 (2023-08-17)

Bug Fixes

  • app: 优化软件自动登录脚本,使用 page.fill 代替 page.click 防止用户保存密码导致浏览器自动填充密码造成密码2次输入。 (12c34ff)

Features

  • 优化侧边栏样式,优化脚本列表样式,新增脚本版本切换功能,优化脚本详情信息显示 (678a133)

2.2.5 (2023-06-12)

Bug Fixes

2.2.4 (2023-06-12)

Bug Fixes

  • web: 优化资源加载器,因为多个版本无法检测导致浏览器加载很多脚本管理器 (d006b0c)

2.2.3 (2023-05-31)

Bug Fixes

  • web: 修复加载本地脚本时应该指定为只有 .user.js 才能加载 (8cc7114)

2.2.2 (2023-05-31)

2.2.1 (2023-05-31)

Bug Fixes

  • all: 优化浏览器启动以及各种加载逻辑 (b00e72a)
  • app: 优化加载 args (911ede6)
  • app: 优化浏览器启动 (4ab7484)
  • web: 更新脚本猫搜索 (a69d095)
  • web: 修复当用户修改浏览器路径时旧版缓存与新版浏览器无法兼容使用的BUG (1613f2b)
  • web: 修复导出数据中的缓存路径是绝对路径导致其他电脑无法使用 (decba81)
  • web: 优化软件数据导入 (edec0c1)

Features

  • app: 新增职教云-账号密码登录自动化脚本 (685fcf5)
  • app: 新增智慧职教-账号密码登录自动化脚本 (96d2eb1)
  • web: 添加浏览器缓存清除功能 (52431c3)
  • web: 新增可添加网络脚本的功能 (e2919fe)