Skip to content

Commit

Permalink
improved for OSX and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer committed Apr 18, 2024
1 parent fae2e5d commit a696ad0
Showing 1 changed file with 42 additions and 13 deletions.
55 changes: 42 additions & 13 deletions localbuild/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,50 @@
"menu_items": [
{
"name": "MSUI",
"description": "Mission Support System UI",
"description": "Mission Support System MSUI",
"activate": true,
"icon": "{{ MENU_DIR }}/msui.{{ ICON_EXT }}",
"command": ["{{ PREFIX }}/bin/msui.py"],
"command": [
"{{ PYTHON }}",
"{{ PREFIX }}/bin/msui"
],
"platforms": {
"linux": {
"Categories": ["Internet", "Science"],
"Keywords": ["documentation", "information"],
"StartupNotify": true,
"MimeType": ["application/x-menuinst"],
"glob_patterns": {
"application/x-menuinst": "*.menuinst"
}
"win": {
"command": [
"{{ PYTHON }}",
"{{ SCRIPTS_DIR }}/msui"
],
"file_extensions": [".menuinst"]
},
"linux": {
"Categories": ["Internet", "Science"],
"Keywords": ["documentation", "information"],
"StartupNotify": true,
"MimeType": ["application/x-menuinst"],
"glob_patterns": {
"application/x-menuinst": "*.menuinst"
}
},
"osx": {
"CFBundleDocumentTypes": [
{
"CFBundleTypeName": "org.conda.menuinst.msui",
"CFBundleTypeRole": "Viewer",
"LSItemContentTypes": ["org.conda.menuinst.main-file-uti"],
"LSHandlerRank": "Default"
}
],
"UTExportedTypeDeclarations": [
{
"UTTypeConformsTo": ["public.data", "public.content"],
"UTTypeIdentifier": "org.conda.menuinst.main-file-uti",
"UTTypeTagSpecification": {
"public.filename-extension": ["menuinst"]
}
}
]
}
}
}
}
}
]
]
}

0 comments on commit a696ad0

Please sign in to comment.