Download Noto font and include in Windows installer

This commit is contained in:
Toby Lane
2025-06-23 19:24:53 +01:00
parent 54047ab854
commit c46b5095fd

View File

@@ -33,11 +33,16 @@ jobs:
run-id: ${{inputs.x64}} run-id: ${{inputs.x64}}
path: WindowsInstaller path: WindowsInstaller
github-token: ${{github.token}} github-token: ${{github.token}}
- name: Download Noto font
run: |
wget https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoKurrent-Regular.ttf
- name: Create installer - name: Create installer
run: | run: |
cd WindowsInstaller cd WindowsInstaller
mv CorsixTH_x86 x86 mv CorsixTH_x86 x86
mv CorsixTH x64 mv CorsixTH x64
cp ../GoNotoKurrent-Regular.ttf x86/CorsixTHUnicode.ttf
cp ../GoNotoKurrent-Regular.ttf x64/CorsixTHUnicode.ttf
makensis -V4 -WX -- Win32Script.nsi makensis -V4 -WX -- Win32Script.nsi
sha256sum CorsixTHInstaller.exe >> $GITHUB_STEP_SUMMARY sha256sum CorsixTHInstaller.exe >> $GITHUB_STEP_SUMMARY
- name: Upload installer - name: Upload installer