From cb3998844d74799bc386a85a73517ccbe7bb523f Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:25:58 -0800 Subject: [PATCH] Add file type association for Windows. Note: this does not appear to establish file type association (https://github.com/conda/menuinst/issues/185) --- recipe/spyder-menu.json | 61 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/recipe/spyder-menu.json b/recipe/spyder-menu.json index 1a4fcb2..7a5cdcf 100644 --- a/recipe/spyder-menu.json +++ b/recipe/spyder-menu.json @@ -14,7 +14,66 @@ "win": { "desktop": true, "app_user_model_id": "spyder.Spyder", - "command": ["{{ PREFIX }}/pythonw.exe", "{{ PREFIX }}/Scripts/spyder-script.py"] + "command": ["{{ PREFIX }}/pythonw.exe", "{{ PREFIX }}/Scripts/spyder-script.py", "%*"], + "file_extensions": [ + "bat", + "c", + "cc", + "cfg", + "cl", + "cmd", + "cpp", + "css", + "cxx", + "desktop", + "diff", + "enaml", + "f", + "f03", + "f08", + "f2k", + "f77", + "f90", + "f95", + "for", + "h", + "h", + "hh", + "hpp", + "htm", + "html", + "hxx", + "inf", + "ini", + "ipy", + "ipynb", + "jl", + "js", + "json", + "m", + "md", + "nsh", + "nsi", + "patch", + "po", + "pot", + "pro", + "properties", + "pxd", + "pxi", + "py", + "pyw", + "pyx", + "reg", + "rej", + "rst", + "scss", + "session", + "txt", + "xml", + "yaml", + "yml" + ] }, "linux": { "Categories": [