Files
msime-windows/windows/scripts/lsign.ps1
T
Evan Hu 253b068984 refactor: move the Windows TSF frontend under windows/
Preparation for folding Server, UI, UiHtml, Installer, ImeLog and TsfEditControl into this repository. The Windows tip's own sources, build files and local build scripts move under windows/ so every component sits at the same level. Product-level files stay at the root: the lock, the release manifest, the shared CI scripts, the integration tests, the docs and the Engine submodule.
2026-09-06 02:24:27 +09:00

16 lines
1.4 KiB
PowerShell

# 测试证书的签名
. "C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\mt.exe" -manifest .\MetasequoiaImeServer.manifest -outputresource:.\build\bin\Debug\MetasequoiaImeServer.exe; 1
."C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /fd SHA256 /v /s PrivateCertStore /n "Test Certificate - For Internal scitertest Use Only" /a .\build64\Debug\MetasequoiaImeTsf.dll
# 真实证书的签名,使用时只需把 Thumbprint 替换为真实证书的 Thumbprint 即可
## Debug
### 32 bit
."C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /sha1 "<Your Certum Thumbprint>" /tr http://time.certum.pl /td sha256 /fd sha256 /v .\build32\Debug\MetasequoiaImeTsf.dll
### 64 bit
."C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /sha1 "<Your Certum Thumbprint>" /tr http://time.certum.pl /td sha256 /fd sha256 /v .\build64\Debug\MetasequoiaImeTsf.dll
## Release
### 32 bit
."C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /sha1 "<Your Certum Thumbprint>" /tr http://time.certum.pl /td sha256 /fd sha256 /v .\build32-release\Release\MetasequoiaImeTsf.dll
### 64 bit
."C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /sha1 "<Your Certum Thumbprint>" /tr http://time.certum.pl /td sha256 /fd sha256 /v .\build64-release\Release\MetasequoiaImeTsf.dll