Reintroduce desktop file (#6705)

* Reintroduce desktop file

The desktop file was inadvertently removed in: 5b6ed99aec

Fixes: https://github.com/jupyter/notebook/issues/6704

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Lumír 'Frenzy' Balhar 2023-01-27 10:59:40 +01:00 committed by GitHub
parent d87f41da04
commit 229247f912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

11
jupyter-notebook.desktop Normal file
View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Jupyter Notebook
Comment=Run Jupyter Notebook
Exec=jupyter-notebook %f
Terminal=true
Type=Application
Icon=notebook
StartupNotify=true
MimeType=application/x-ipynb+json;
Categories=Development;Education;
Keywords=python;

View File

@ -84,6 +84,8 @@ validate-bump = false
"notebook/labextension" = "share/jupyter/labextensions/@jupyter-notebook/lab-extension"
"notebook/schemas/@jupyter-notebook" = "share/jupyter/lab/schemas/@jupyter-notebook"
"jupyter-config/jupyter_server_config.d" = "etc/jupyter/jupyter_server_config.d"
"notebook.svg" = "share/icons/hicolor/scalable/apps/notebook.svg"
"jupyter-notebook.desktop" = "share/applications/jupyter-notebook.desktop"
[tool.hatch.build.targets.sdist]
artifacts = [
@ -91,6 +93,8 @@ artifacts = [
"notebook/static",
"notebook/schemas/@jupyter-notebook",
"notebook/templates",
"notebook.svg",
"jupyter-notebook.desktop",
]
include = [
"/jupyter-config",