Tuw has a command-line utility to embed JSON into an executable.
Type Tuw merge
in the command prompt (or terminal).
It'll merge Tuw
and gui_definition.json
into Tuw.new
.
The merged executable can create a GUI without needing gui_definition.json
!
Tuw merge
You can also specify the file paths with the -j
and -e
options.
Tuw merge -j gui_definition.json -e Tuw.new
And you can use -f
to skip the overwrite confirmation.
Tuw merge -j gui_definition.json -e Tuw.new -f
You can use the split
command if you want to extract a JSON file from the merged executable.
Tuw.new split -j extracted.json -e Tuw -f
The JSON file in this folder is for JSON embedding.
This means Tuw will act as the GUI wrapper for itself.