diff --git a/localbuild/bld.bat b/localbuild/bld.bat index 7cc5cb0d6..d2f72c29e 100644 --- a/localbuild/bld.bat +++ b/localbuild/bld.bat @@ -1,4 +1,7 @@ mkdir "%PREFIX%\Menu" copy /Y "%RECIPE_DIR%\menu.json" "%PREFIX%\Menu\%PKG_NAME%_menu.json" +copy /Y "%RECIPE_DIR%\msui.ico" "%PREFIX%\Menu\msui.ico" + + %PYTHON% setup.py install --single-version-externally-managed --record record.txt if errorlevel 1 exit 1 diff --git a/localbuild/build.sh b/localbuild/build.sh index 748cd286d..ab507fa63 100644 --- a/localbuild/build.sh +++ b/localbuild/build.sh @@ -2,5 +2,6 @@ mkdir -p "${PREFIX}/Menu" cp "${RECIPE_DIR}/menu.json" "${PREFIX}/Menu/${PKG_NAME}_menu.json" +cp "${RECIPE_DIR}/msui.png" "${PREFIX}/Menu/msui.png" "${PYTHON}" -m pip install . --no-deps -vv diff --git a/localbuild/menu.json b/localbuild/menu.json index 8157d1206..989bfced9 100644 --- a/localbuild/menu.json +++ b/localbuild/menu.json @@ -7,44 +7,17 @@ "name": "MSUI", "description": "Mission Support System UI", "activate": true, - "command": ["{{ PREFIX }}/bin/msui.py"], "icon": "{{ MENU_DIR }}/msui.{{ ICON_EXT }}", + "command": ["{{ PREFIX }}/bin/msui.py"], "platforms": { "linux": { - "Categories": ["Science", "Education"], + "Categories": ["Internet", "Science"], "Keywords": ["documentation", "information"], "StartupNotify": true, - "command": ["{{ PREFIX }}/bin/msui.py"], "MimeType": ["application/x-menuinst"], "glob_patterns": { - "application/x-menuinst": ["*.menuinst"] + "application/x-menuinst": "*.menuinst" } - }, - "osx": { - "CFBundleDocumentTypes": [ - { - "CFBundleTypeName": "org.conda.menuinst.opener", - "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"] - } - ] - } - ] - }, - "windows": { - "command": ["{{ SCRIPTS_DIR }}/msui.py"], - "desktop": true, - "quicklaunch": true } } }