mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 17:22:35 +00:00
Handle edge case where Gosu.user_languages is empty (on alpine linux for example)
This commit is contained in:
2
.github/workflows/build-tebako.yml
vendored
2
.github/workflows/build-tebako.yml
vendored
@@ -2,7 +2,7 @@ name: Build Launcher Binary
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, test ]
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -2,7 +2,7 @@ class W3DHub
|
||||
class Settings
|
||||
def self.defaults
|
||||
{
|
||||
language: Gosu.user_languages.first.split("_").first,
|
||||
language: Gosu.user_languages.first&.split("_")&.first || "en",
|
||||
app_install_dir: default_app_install_dir,
|
||||
package_cache_dir: default_package_cache_dir,
|
||||
parallel_downloads: 4,
|
||||
|
||||
Reference in New Issue
Block a user