Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Update Windows launch paths (still untested)
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Younger <crazyscot@gmail.com>
  • Loading branch information
crazyscot committed Dec 5, 2019
1 parent b386c5a commit bf21e84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TangentLR.lrplugin/Client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ LrTasks.startAsyncTask(

if(WIN_ENV) then
-- UNTESTED:
LrShell.openPathsViaCommandLine({LrPathUtils.child(_PLUGIN.path, 'TangentBridge.py')}, 'C:\\python2.7\\python.exe')
LrShell.openPathsViaCommandLine({LrPathUtils.child(_PLUGIN.path, 'TangentBridge.py')}, 'python.exe')
else
LrShell.openPathsViaCommandLine({LrPathUtils.child(_PLUGIN.path, 'TangentBridge.py')}, '/usr/bin/env', 'python')
end
Expand Down
4 changes: 2 additions & 2 deletions TangentLR.lrplugin/LaunchServer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ local LrTasks = import 'LrTasks'
LrTasks.startAsyncTask(
function()
if(WIN_ENV) then
LrShell.openPathsViaCommandLine({LrPathUtils.child(_PLUGIN.path, 'TangentBridge.py')}, 'C:\\python2.7\\python.exe')
LrShell.openPathsViaCommandLine({LrPathUtils.child(_PLUGIN.path, 'TangentBridge.py')}, 'python.exe')
else
LrShell.openPathsViaCommandLine({LrPathUtils.child(_PLUGIN.path, 'TangentBridge.py')}, '/usr/bin/env', 'python')
end
end
)
)

0 comments on commit bf21e84

Please sign in to comment.