Added fancy pde:// install button - #27
Conversation
|
Hmmm... Looks like the changes I made are causing Processing to see the source as untrusted.
|
|
Looking at the source code it will always show that dialog: https://github.com/benfry/processing4/blob/6a2cf8cda35552c62a1a794bb1e20f43fe8ffcda/app/src/processing/app/Base.java#L1245 |
|
Oh my bad! You're right. This is a necessary warning. I just got confused by the Edit: Getting closer... String baseName = contribFile.getName();
baseName = baseName.substring(0, baseName.length() - CONTRIB_BUNDLE_EXT.length()); |
There was a problem hiding this comment.
Can these side-wide changes be part of a different PR? It hides what you actually did
There was a problem hiding this comment.
On it! I'm splitting this PR into several more specific ones.


Added an install button point at the
.pdexfile using the custompde://uri protocol.The button includes a tooltip with fallback instructions.
Context
Processing 4.2 added the new
pde://protocol which allows you to open Processing sketches and contributions in the PDE directly from the browser. It builds up on the previous addition of bundled sketches and contributions with the.pdezand.pdexformats.