We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197b61b commit 9678e29Copy full SHA for 9678e29
lib/u3d/installer.rb
@@ -154,7 +154,7 @@ def extra_installation_paths
154
def find_installations_with_path(default_root_path: '', postfix: [])
155
([default_root_path] | extra_installation_paths).map do |path|
156
UI.verbose "Looking for installed Unity version under #{path}"
157
- pattern = File.join([path] + postfix)
+ pattern = File.join([path.split(File::SEPARATOR)] + postfix)
158
Dir.glob(pattern).map { |found_path| yield found_path }
159
end.flatten
160
end
0 commit comments