lib/td/helpers.rb in td-0.16.10 vs lib/td/helpers.rb in td-0.17.0
- old
+ new
@@ -9,10 +9,10 @@
def home_directory
on_windows? ? ENV['USERPROFILE'].gsub("\\","/") : ENV['HOME']
end
def on_windows?
- RUBY_PLATFORM =~ /mswin32|mingw32/
+ RUBY_PLATFORM =~ /mswin32|mingw32|mingw-ucrt/
end
def on_mac?
RUBY_PLATFORM =~ /-darwin\d/
end