Skip to content

Commit 1ba2040

Browse files
authored
Merge pull request #696 from lala-lala-lori/dev1
support for pde:// browser protocol (LINUX)
2 parents 6d8c299 + d670840 commit 1ba2040

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build/linux/desktop.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Type=Application
33
Name=Processing
44
GenericName=Processing
55
Comment=Open-source software prototyping platform
6-
Exec=<BINARY_LOCATION>
6+
Exec=<BINARY_LOCATION> %u
77
Icon=<ICON_NAME>
88
Terminal=false
99
Categories=Development;IDE;Programming;
10-
MimeType=text/x-processing;
10+
MimeType=text/x-processing;x-scheme-handler/pde;
1111
Keywords=sketching;software;animation;programming;coding;
1212
StartupWMClass=processing-app-ui-Splash

build/linux/install.sh

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ xdg_install_f() {
6464
# Make the Processing Development Environment the default app for *.pde files
6565
xdg-mime default ${RESOURCE_NAME}.desktop text/x-processing
6666

67+
# Make the Processing Development Environment the default app for pde scheme
68+
xdg-mime default ${RESOURCE_NAME}.desktop x-scheme-handler/pde
69+
6770
# Clean up
6871
rm "${TMP_DIR}/${RESOURCE_NAME}.desktop"
6972
rmdir "$TMP_DIR"

0 commit comments

Comments
 (0)