Fix broken binary issue

This commit is contained in:
Nemo 2020-04-01 17:51:31 +05:30
parent 5acf617b3d
commit 0b241d6a47
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@ module Muse::Dl
end
def execute(args : Array(String))
Process.run(@binary, args)
binary = @binary
if binary
Process.run(binary, args)
end
end
def strip_first_page(input_file : String)