Also make app bundle for linux/windows

This commit is contained in:
c.lamboo 2024-02-05 09:27:01 +01:00
parent fc081b20e3
commit 9d6f80fb86

View File

@ -69,9 +69,9 @@ coll = COLLECT(
name=r'{{ name }}'
)
{% if macos == true %}
app = BUNDLE(
coll,
{% if macos == true %}
name='{{ display_name }}.app',
icon={{ icon }},
bundle_identifier={{ osx_bundle_identifier }} + "_" + '{{ display_name }}'.replace(" ", "_") + "_" {{ short_version }},
@ -90,10 +90,10 @@ app = BUNDLE(
'CFBundleURLSchemes': ['cura', 'slicer'],
}],
'CFBundleDocumentTypes': [{
'CFBundleTypeRole': 'Viewer',
'CFBundleTypeExtensions': ['*'],
'CFBundleTypeName': 'Model Files',
}]
},
'CFBundleTypeRole': 'Viewer',
'CFBundleTypeExtensions': ['*'],
'CFBundleTypeName': 'Model Files',
}]
},
{% endif %}
)
{% endif %}