安装
WPS 插件安装

WPS 加载项

在线安装 (Windows)

  1. 打开 WPS 客户端,打开一个文档。
  2. 打开 WPS 加载项安装链接 (opens in a new tab)
  3. 点击安装 wps-doc 或者 wps-sheet 插件
  4. 安装后,打开一个新的 WPS 文档,稍等一会儿,在菜单上会看到 Sally 菜单

如果以上安装方式无法使用,请尝试使用脚本安装。

脚本安装 (Windows/Mac)

在终端或 CMD 中复制并粘贴以下命令即可:

macOS (终端)

拷贝并粘贴以下命令到终端中:

mkdir -p "$HOME/Library/Containers/com.kingsoft.wpsoffice.mac/Data/.kingsoft/wps/jsaddons" && echo '<?xml version="1.0" encoding="UTF-8"?><jsplugins><jspluginonline name="wps-doc" install="https://www.sally.bot" url="https://www.sally.bot/wps-doc/entry/" type="wps" debug=""/><jspluginonline name="wps-sheet" install="https://www.sally.bot" url="https://www.sally.bot/wps-sheet/entry/" type="et"/><jspluginonline name="wps-slide" install="https://www.sally.bot" url="https://www.sally.bot/wps-slide/entry/" type="wpp"/></jsplugins>' > "$HOME/Library/Containers/com.kingsoft.wpsoffice.mac/Data/.kingsoft/wps/jsaddons/publish.xml" && echo "[SUCCESS] WPS Plugin installed successfully! Please restart WPS Office"

Windows (CMD)

使用快捷键 Win + R 打开运行窗口,输入 cmd 并回车。

拷贝并粘贴以下命令到 CMD 中:

powershell -NoProfile -ExecutionPolicy Bypass -Command "$d = $env:APPDATA + '\kingsoft\wps\jsaddons'; New-Item -ItemType Directory -Force -Path $d | Out-Null; $xml = '<?xml version=\"1.0\" encoding=\"UTF-8\"?><jsplugins><jspluginonline name=\"wps-doc\" enable=\"enable_dev\" install=\"https://www.sally.bot\" url=\"https://www.sally.bot/wps-doc/entry/\" type=\"wps\" debug=\"\"/><jspluginonline name=\"wps-sheet\" enable=\"enable_dev\" install=\"https://www.sally.bot\" url=\"https://www.sally.bot/wps-sheet/entry/\" type=\"et\"/><jspluginonline name=\"wps-slide\" install=\"https://www.sally.bot\" url=\"https://www.sally.bot/wps-slide/entry/\" type=\"wpp\"/></jsplugins>'; [System.IO.File]::WriteAllText($d + '\publish.xml', $xml, [System.Text.Encoding]::UTF8); Write-Host '[SUCCESS] 安装成功,请重启WPS'"

命令执行完成以后,重新启动WPS,如果弹窗授权弹窗,点击确认即可,稍等一会儿,菜单会出现 Sally。