Skip to content

Commit

Permalink
fix(rime): include rimefiles
Browse files Browse the repository at this point in the history
include rimefiles
  • Loading branch information
snomiao committed May 17, 2024
1 parent a210849 commit 6e82c02
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
29 changes: 12 additions & 17 deletions install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,24 @@

@REM cmd /U /c install.bat
cd %~dp0\


echo "[RIME-SNOMIAO] 接下準備啓動輸入法安装程序"
echo Current directorsy: %~dp0\
pause

echo "[RIME-SNOMIAO] 正在啓動 weasel 輸入法安装程序,請手動完成安装,然後回到这里"
start "" ./weasel-0.15.0.0-installer.exe


echo "[RIME-SNOMIAO] 接下来準備安装輸入方案"
pause

echo "[RIME-SNOMIAO] 正在安装輸入方案"

robocopy ./Rime %APPDATA%\Rime *.yaml /S /XD node_modules /XF pnpm-lock.yaml
robocopy ./Rime/opencc %APPDATA%\Rime\opencc *.json *.txt *.ocd *.ocd2 /S

echo "[RIME-SNOMIAO] Weasel Deploy"
cd C:\Program Files (x86)\Rime\weasel-*
taskkill /f /im WeaselServer.exe
echo "[RIME-SNOMIAO] 接下準備啓動輸入法安装程序"

echo "[RIME-SNOMIAO] 正在啓動 weasel 輸入法安装程序"
start "" ./weasel-0.15.0.0-installer.exe

@REM pause
@REM echo "[RIME-SNOMIAO] Weasel Deploy"
@REM cd C:\Program Files (x86)\Rime\weasel-*
@REM taskkill /f /im WeaselServer.exe

cmd /c WeaselDeployer.exe
cmd /c WeaselServer.exe
@REM cmd /c WeaselDeployer.exe
@REM cmd /c WeaselServer.exe

cd %~dp0\..
@REM cd %~dp0\..
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"tools",
"install.bat",
"weasel*.exe",
"Rime"
"Rime/**/*"
],
"scripts": {
"build": "snobuild",
Expand Down

0 comments on commit 6e82c02

Please sign in to comment.