Sumlion for WPS — 安装说明 / Install guide
======================================================================

Sumlion 是面向金融专业人士的 AI 助手。本安装包会在 WPS 的「表格」和「文字」
里各加一个 Sumlion 标签页。

Sumlion is an AI assistant for finance professionals. This installs a Sumlion tab
in both WPS 表格 (Spreadsheets) and WPS 文字 (Writer).

仅当前用户安装，不需要管理员权限，不写注册表。
Per-user install. No administrator rights. Nothing written to the registry.


----------------------------------------------------------------------
安装步骤 / Steps
----------------------------------------------------------------------

1. 双击 Sumlion-WPS-Setup.exe，在弹出的提示里点「确定」。
   Double-click Sumlion-WPS-Setup.exe and confirm.

   ⚠️ Windows 可能显示蓝色的「Windows 已保护你的电脑」窗口。
      这是因为本安装包尚未做代码签名，不是病毒警告。
      点「更多信息」→「仍要运行」。
      Windows may show a blue "Windows protected your PC" screen. That is
      because this build is not yet code-signed — it is not a virus warning.
      Click "More info" -> "Run anyway".

2. 完全退出 WPS，然后重新启动。
   Quit WPS completely, then start it again.
   (「完全退出」= 关掉所有 WPS 窗口。/ Close every WPS window.)

3. 打开一个表格文件或文字文档。
   Open a spreadsheet or a document.

   ⚠️ 在 WPS 的开始页 / 首页是看不到 Sumlion 标签的，必须先打开一个文件。
      The Sumlion tab does NOT appear on the WPS start screen — only once a
      file is open.

4. WPS 会弹出一个确认框，问是否允许加载项运行：
   WPS will ask whether to allow the add-on to run:

       「Confirm that the add-on "..." from "Sumlion" is allowed to run
         in the WPS client?」

   请点「允许 / Allow」。
   Click ALLOW.

   ⚠️ 这个框会出现两次 —— 表格一次，文字一次。
      这是 WPS 对所有第三方加载项的标准询问，不是针对 Sumlion 的安全警告。
      You will see this TWICE — once for 表格 and once for 文字. This is
      WPS's standard question about any third-party add-in; it is not a
      warning about Sumlion specifically.

5. 点击功能区上的「Sumlion」标签，再点 Sumlion 按钮打开侧边栏。
   Click the Sumlion tab in the ribbon, then the Sumlion button to open the pane.

6. 用邮箱登录（会收到一封验证码邮件）。
   Sign in with your email — you will receive a one-time code.


----------------------------------------------------------------------
卸载 / Uninstall
----------------------------------------------------------------------

运行安装包里的 uninstall.bat，然后重启 WPS。
Run uninstall.bat from the same folder, then restart WPS.

只会移除 Sumlion，不会影响其他厂商的 WPS 加载项。
It removes only Sumlion and leaves other vendors' WPS add-ins untouched.

账号和对话记录不保存在本机加载项目录里 —— 它们属于侧边栏，
由 wps.sumlion.cn 提供，所以卸载不会删除你的历史记录。
Your account and chat history are not stored in the local add-in folder —
they belong to the task pane served from wps.sumlion.cn, so uninstalling
does not delete them.


----------------------------------------------------------------------
如果没有成功 / If it does not work
----------------------------------------------------------------------

这是 Sumlion 在 Windows 上的第一次安装测试，所以失败也是有价值的信息。
This is the FIRST Windows install of Sumlion for WPS, so a failure is useful
information rather than a nuisance. If something goes wrong, please report:

1. 表格里有没有 Sumlion 标签？文字里有没有？（分别说明）
   Is there a Sumlion tab in 表格? In 文字? (Please answer separately — one
   working and the other not is a meaningful result.)

2. 第 4 步的确认框有没有出现过？
   Did the confirmation box in step 4 appear at all?

3. 请把这个文件发回来 / Please send this file back:
       %APPDATA%\kingsoft\wps\jsaddons\publish.xml
   （在文件资源管理器地址栏粘贴 %APPDATA%\kingsoft\wps\jsaddons 即可打开）
   (Paste %APPDATA%\kingsoft\wps\jsaddons into the File Explorer address bar.)

4. WPS 的版本号：左上角「文件」→「关于 WPS Office」。
   Your WPS version: 文件 -> 关于 WPS Office.

出问题时可以随时运行 uninstall.bat 恢复原状。
You can run uninstall.bat at any point to put things back.
