Skip to content

Commit 229247f

Browse files
frenzymadnesspre-commit-ci[bot]
andauthoredJan 27, 2023
Reintroduce desktop file (#6705)
* Reintroduce desktop file The desktop file was inadvertently removed in: 5b6ed99 Fixes: #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>
1 parent d87f41d commit 229247f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
 

‎jupyter-notebook.desktop

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Desktop Entry]
2+
Name=Jupyter Notebook
3+
Comment=Run Jupyter Notebook
4+
Exec=jupyter-notebook %f
5+
Terminal=true
6+
Type=Application
7+
Icon=notebook
8+
StartupNotify=true
9+
MimeType=application/x-ipynb+json;
10+
Categories=Development;Education;
11+
Keywords=python;

‎pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,17 @@ validate-bump = false
8484
"notebook/labextension" = "share/jupyter/labextensions/@jupyter-notebook/lab-extension"
8585
"notebook/schemas/@jupyter-notebook" = "share/jupyter/lab/schemas/@jupyter-notebook"
8686
"jupyter-config/jupyter_server_config.d" = "etc/jupyter/jupyter_server_config.d"
87+
"notebook.svg" = "share/icons/hicolor/scalable/apps/notebook.svg"
88+
"jupyter-notebook.desktop" = "share/applications/jupyter-notebook.desktop"
8789

8890
[tool.hatch.build.targets.sdist]
8991
artifacts = [
9092
"notebook/labextension",
9193
"notebook/static",
9294
"notebook/schemas/@jupyter-notebook",
9395
"notebook/templates",
96+
"notebook.svg",
97+
"jupyter-notebook.desktop",
9498
]
9599
include = [
96100
"/jupyter-config",

0 commit comments

Comments
 (0)
Please sign in to comment.