Skip to content

Commit

Permalink
Merge pull request #696 from lala-lala-lori/dev1
Browse files Browse the repository at this point in the history
support for pde:// browser protocol (LINUX)
  • Loading branch information
benfry authored Jul 26, 2023
2 parents 6d8c299 + d670840 commit 1ba2040
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/linux/desktop.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Type=Application
Name=Processing
GenericName=Processing
Comment=Open-source software prototyping platform
Exec=<BINARY_LOCATION>
Exec=<BINARY_LOCATION> %u
Icon=<ICON_NAME>
Terminal=false
Categories=Development;IDE;Programming;
MimeType=text/x-processing;
MimeType=text/x-processing;x-scheme-handler/pde;
Keywords=sketching;software;animation;programming;coding;
StartupWMClass=processing-app-ui-Splash
3 changes: 3 additions & 0 deletions build/linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ xdg_install_f() {
# Make the Processing Development Environment the default app for *.pde files
xdg-mime default ${RESOURCE_NAME}.desktop text/x-processing

# Make the Processing Development Environment the default app for pde scheme
xdg-mime default ${RESOURCE_NAME}.desktop x-scheme-handler/pde

# Clean up
rm "${TMP_DIR}/${RESOURCE_NAME}.desktop"
rmdir "$TMP_DIR"
Expand Down

0 comments on commit 1ba2040

Please sign in to comment.