Allow exported apps on windows to be run from anywhere on the system by jSdCool · Pull Request #1314 · processing/processing4

Conversation

@jSdCool

On Linux and Macos an exported sketch can be run from any working directory. Until now that has not been the case on windows. This was caused by the EXEDIR environment variable not being used when forming the class path. This pr makes that simple change, allowing the executable generated from exporting a sketch to be executed on the command line from any working directory.

…instead of requiring it to be in the same folder as the executable

Stefterv

@Stefterv

Hi @jSdCool Thanks for this quick fix, I tested it on Windows just now and indeed allows the sketch to be run from any working dir! Thanks!

catilac

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!