Browse files

Move --force option earlier to work around bug

The `--force` option is ignored if given later in the command.
  • Loading branch information...
1 parent 6301a55 commit 214b3420f12d65b125e82dc039d580326257f71b @infininight infininight committed Nov 2, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Run in Processing.plist
@@ -11,7 +11,7 @@ require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
require ENV['TM_SUPPORT_PATH'] + '/lib/ui.rb'
if File.exist?(ENV['TM_PROCESSING'] ? "#{ENV['TM_PROCESSING']}" : "/Applications/")
- command = ["#{ENV['TM_BUNDLE_SUPPORT']}/bin/processing-java", "--sketch=#{ENV['TM_PROJECT_DIRECTORY']}", "--output=#{ENV['TMPDIR']}/processing_output", "--run", "--force"]
+ command = ["#{ENV['TM_BUNDLE_SUPPORT']}/bin/processing-java", "--force", "--sketch=#{ENV['TM_PROJECT_DIRECTORY']}", "--output=#{ENV['TMPDIR']}/processing_output", "--run"]
TextMate::UI.alert(:critical, "Processing Not Installed", "Please install into Applications or set $TM_PROCESSING to it's path.", 'OK')

0 comments on commit 214b342

Please sign in to comment.