From b475c7250c329abaab451bffd23390e68017f86e Mon Sep 17 00:00:00 2001 From: stephan Date: Wed, 14 Apr 2021 14:29:48 +0200 Subject: [PATCH] Version bump. --- .../main/java/edu/gcsc/vrl/vr/VRNPluginConfigurator.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/VRL-VRN-Generator/src/main/java/edu/gcsc/vrl/vr/VRNPluginConfigurator.java b/VRL-VRN-Generator/src/main/java/edu/gcsc/vrl/vr/VRNPluginConfigurator.java index b4e27ec..4d62290 100644 --- a/VRL-VRN-Generator/src/main/java/edu/gcsc/vrl/vr/VRNPluginConfigurator.java +++ b/VRL-VRN-Generator/src/main/java/edu/gcsc/vrl/vr/VRNPluginConfigurator.java @@ -28,7 +28,7 @@ public class VRNPluginConfigurator extends VPluginConfigurator { */ public VRNPluginConfigurator() { // specify the plugin name and version - setIdentifier(new PluginIdentifier("VRL-VRN-Generator", "0.0.5")); + setIdentifier(new PluginIdentifier("VRL-VRN-Generator", "0.0.6")); // exported by using the exportPackage() method: exportPackage("edu.gcsc.vrl.vr"); @@ -83,6 +83,8 @@ public void init(InitPluginAPI iApi) { final File templatePipelineScript = new File(iApi.getResourceFolder(), "pipeline_vr.sh"); InputStream in = VRNPluginConfigurator.class.getResourceAsStream("/edu/gcsc/vrl/vr/pipeline_vr.sh"); saveProjectTemplate(in, templatePipelineScript); + + /// Make pipeline scripts executable on OSX/Linux and Windows (WSL) try { boolean isWindows = System .getProperty("os.name") @@ -96,7 +98,7 @@ public void init(InitPluginAPI iApi) { .exec("cmd.exe /c chmod u+x " + templatePipelineScript); } } catch (IOException ioe) { - VMessage.msg("Mesh generation pipeline script not executable", ioe.toString(), MessageType.ERROR); + VMessage.msg("Mesh generation pipeline script not found and can't be made executable", ioe.toString(), MessageType.ERROR); } /// Add neuron geometry resource