Skip to content

Commit

Permalink
Revert "Fix Linux runner and installation (#26)" (#30)
Browse files Browse the repository at this point in the history
This reverts commit d1cd948.
  • Loading branch information
niezbop authored Aug 6, 2017
1 parent 6b62e7a commit 38f261b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/u3d/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,7 @@ def exist?
def editor_version
require 'yaml'
yaml = YAML.load(File.read("#{@path}/ProjectSettings/ProjectVersion.txt"))
version = yaml['m_EditorVersion']
version.gsub!(/(\d+\.\d+\.\d+)(?:x)?(\w\d+)(?:Linux)?/, '\1\2') if Helper.linux?
version
yaml['m_EditorVersion']
end
end
end
2 changes: 1 addition & 1 deletion lib/u3d/unity_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def run(installation, args, raw_logs: false)
else
args.map!(&:shellescape)
end

# FIXME return value not handled
U3dCore::CommandExecutor.execute(command: args, print_all: true)
ensure
sleep 1
Expand Down

0 comments on commit 38f261b

Please sign in to comment.