Merge pull request #131 from wpferguson/macos_command_fixes
MacOS Command Fixes
This commit is contained in:
@@ -119,6 +119,10 @@ local function gimp_edit(storage, image_table, extra_data) --finalize
|
||||
return
|
||||
end
|
||||
|
||||
if dt.configuration.running_os == "macos" then
|
||||
gimp_executable = "open -W -a " .. gimp_executable
|
||||
end
|
||||
|
||||
-- list of exported images
|
||||
local img_list
|
||||
|
||||
|
||||
@@ -68,8 +68,6 @@ function dtutils_file.check_if_bin_exists(bin)
|
||||
if dtutils_file.check_if_file_exists(path) then
|
||||
if (string.match(path, ".exe$") or string.match(path, ".EXE$")) and dt.configuration.running_os ~= "windows" then
|
||||
result = "wine " .. "\"" .. path .. "\""
|
||||
elseif dt.configuration.running_os == "macos" then
|
||||
result = "open -W -a " .. "\"" .. path .. "\""
|
||||
else
|
||||
result = "\"" .. path .. "\""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user