diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2017-12-06 16:45:47 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-12-06 16:46:41 +0300 |
commit | 569e040955f9f924040d18b52f3e30f54fe1a196 (patch) | |
tree | 59fe1d2db108a6236f9da047c4b0fbd4e2662262 /plugins/3MFWriter/ThreeMFWorkspaceWriter.py | |
parent | 9561827bdad91604fc70e0c448c9b8c657c83a83 (diff) |
Add more complete version info in project files
CURA-4683
Diffstat (limited to 'plugins/3MFWriter/ThreeMFWorkspaceWriter.py')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWorkspaceWriter.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py index 9c143f0057..3953bea229 100644 --- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py +++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py @@ -59,7 +59,9 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter): version_file = zipfile.ZipInfo("Cura/version.ini") version_config_parser = configparser.ConfigParser() version_config_parser.add_section("versions") - version_config_parser.set("versions", "cura_version", Application.getStaticVersion()) + version_config_parser.set("versions", "cura_version", Application.getInstance().getVersion()) + version_config_parser.set("versions", "build_type", Application.getInstance().getBuildType()) + version_config_parser.set("versions", "is_debug_mode", Application.getInstance().getIsDebugMode()) version_file_string = StringIO() version_config_parser.write(version_file_string) |