aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/encoding.yml
diff options
context:
space:
mode:
authorKyle Gospodnetich <me@kylegospodneti.ch>2022-07-21 15:38:16 -0700
committerGitHub <noreply@github.com>2022-07-22 00:38:16 +0200
commitfdc38f3867a3727edf097ec0241efc0b59d75395 (patch)
tree6ccee3fb2c4227b59043a4363301c9f21fd79c64 /.github/workflows/encoding.yml
parenta7df0676bfc21eb9471aa4f486b0383b533a1317 (diff)
downloadNorthstarMods-fdc38f3867a3727edf097ec0241efc0b59d75395.tar.gz
NorthstarMods-fdc38f3867a3727edf097ec0241efc0b59d75395.zip
Fix missing fonts under Linux (#437)
* Replace Arial and Lucidia fonts with Lato and Fira Code respectively, this fixes Linux users needing to install proprietary fonts to use the in-game console. * Clean up gitattributes and encoding.yml to be more specific about the txt files it checks against. UTF-16LE-BOM will crash the game with a division by zero error if it's not expecting the file to be encoded as such. * Replace Fira Code with Northstar Mono (Modified Fira Mono Regular)
Diffstat (limited to '.github/workflows/encoding.yml')
-rw-r--r--.github/workflows/encoding.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/encoding.yml b/.github/workflows/encoding.yml
index 0b54639e..ac63e784 100644
--- a/.github/workflows/encoding.yml
+++ b/.github/workflows/encoding.yml
@@ -9,5 +9,5 @@ jobs:
uses: actions/checkout@v2
- name: Check localization files encoding
run: |
- files=$(ls Northstar.Client/mod/resource/*.txt)
+ files=$(ls Northstar.Client/mod/resource/northstar_client_localisation_*.txt)
IFS=$'\n'; files=($files); unset IFS; ! file --mime "${files[@]}" | grep -v "charset=utf-16le"