Hello! I’m trying to override custom variables in game.project file during build phase
Simple project
main.script
:
function init(self)
print(sys.get_config("custom_section.variable"))
end
game.project
:
[bootstrap]
main_collection = /main/main.collectionc
[script]
shared_state = 1
[display]
width = 960
height = 640
[android]
input_method = HiddenInputField
[project]
title = settings_override
[custom_section]
variable = hello
file.ini
:
[custom_section]
variable = hello world
bob cmd:
java -jar ../bob157.jar --version
bob.jar version: 1.2.157 sha1: d7042d5368c338ed5d66b6dff9c60a20924385ac built: 2019-06-25 13:37:04
java -jar ../bob157.jar --settings file.ini --platform x86_64-linux --archive --variant debug resolve distclean build bundle
output from executable:
...
DEBUG:SCRIPT: hello
...
expected behavior:
...
DEBUG:SCRIPT: hello world
...