mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 20:42:36 +02:00
Let mods customize app constants
Mainly via meson_options.txt.
This commit is contained in:
5
android/res/values/meson.build
Normal file
5
android/res/values/meson.build
Normal file
@@ -0,0 +1,5 @@
|
||||
android_resources += configure_file(
|
||||
input: 'strings.template.xml',
|
||||
output: 'strings.xml',
|
||||
configuration: conf_data,
|
||||
)
|
3
android/res/values/strings.template.xml
Normal file
3
android/res/values/strings.template.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">@APPNAME@</string>
|
||||
</resources>
|
@@ -1,3 +0,0 @@
|
||||
<resources>
|
||||
<string name="app_name">The Powder Toy</string>
|
||||
</resources>
|
Reference in New Issue
Block a user