Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer committed Mar 21, 2024
1 parent addd001 commit fae2e5d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 30 deletions.
3 changes: 3 additions & 0 deletions localbuild/bld.bat
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions localbuild/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
33 changes: 3 additions & 30 deletions localbuild/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit fae2e5d

Please sign in to comment.