Skip to content

Commit d969f09

Browse files
committed
Update config format
1 parent cf844be commit d969f09

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

jupyter_rsession_proxy/__init__.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ def _get_shiny_cmd(port):
3333

3434
return {
3535
'command': _get_shiny_cmd,
36-
'title': 'Shiny',
37-
'icon': os.path.join(os.path.dirname(os.path.abspath(__file__)), 'icons', 'shiny.svg')
36+
'launcher_entry': {
37+
'title': 'Shiny',
38+
'icon_path': os.path.join(os.path.dirname(os.path.abspath(__file__)), 'icons', 'shiny.svg')
39+
}
3840
}
3941

4042
def setup_rstudio():
@@ -88,6 +90,8 @@ def _get_rsession_cmd(port):
8890
return {
8991
'command': _get_rsession_cmd,
9092
'environment': _get_rsession_env,
91-
'title': 'RStudio',
92-
'icon': os.path.join(os.path.dirname(os.path.abspath(__file__)), 'icons', 'rstudio.svg')
93+
'launcher_entry': {
94+
'title': 'RStudio',
95+
'icon_path': os.path.join(os.path.dirname(os.path.abspath(__file__)), 'icons', 'rstudio.svg')
96+
}
9397
}

0 commit comments

Comments
 (0)