mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 15:45:54 +08:00
Also make app bundle for linux/windows
This commit is contained in:
parent
fc081b20e3
commit
9d6f80fb86
@ -69,9 +69,9 @@ coll = COLLECT(
|
|||||||
name=r'{{ name }}'
|
name=r'{{ name }}'
|
||||||
)
|
)
|
||||||
|
|
||||||
{% if macos == true %}
|
|
||||||
app = BUNDLE(
|
app = BUNDLE(
|
||||||
coll,
|
coll,
|
||||||
|
{% if macos == true %}
|
||||||
name='{{ display_name }}.app',
|
name='{{ display_name }}.app',
|
||||||
icon={{ icon }},
|
icon={{ icon }},
|
||||||
bundle_identifier={{ osx_bundle_identifier }} + "_" + '{{ display_name }}'.replace(" ", "_") + "_" {{ short_version }},
|
bundle_identifier={{ osx_bundle_identifier }} + "_" + '{{ display_name }}'.replace(" ", "_") + "_" {{ short_version }},
|
||||||
@ -90,10 +90,10 @@ app = BUNDLE(
|
|||||||
'CFBundleURLSchemes': ['cura', 'slicer'],
|
'CFBundleURLSchemes': ['cura', 'slicer'],
|
||||||
}],
|
}],
|
||||||
'CFBundleDocumentTypes': [{
|
'CFBundleDocumentTypes': [{
|
||||||
'CFBundleTypeRole': 'Viewer',
|
'CFBundleTypeRole': 'Viewer',
|
||||||
'CFBundleTypeExtensions': ['*'],
|
'CFBundleTypeExtensions': ['*'],
|
||||||
'CFBundleTypeName': 'Model Files',
|
'CFBundleTypeName': 'Model Files',
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
{% endif %}
|
||||||
)
|
)
|
||||||
{% endif %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user