mirror of
https://github.com/processing/processing4.git
synced 2026-01-26 18:01:07 +01:00
Merge pull request #696 from lala-lala-lori/dev1
support for pde:// browser protocol (LINUX)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user