lib/ass_launcher/enterprise.rb in ass_launcher-0.3.4 vs lib/ass_launcher/enterprise.rb in ass_launcher-0.4.0
- old
+ new
@@ -39,10 +39,10 @@
# @return [Array<String>
def self.search_paths
sp = []
sp << AssLauncher.config.search_path
if windows_or_cygwin?
- sp += platform.env[/\Aprogram\s*files.*/i].uniq.map { |pf| "#{pf}/1c*" }
+ sp += platform.env[/\Aprogram\s*(files.*|W6432)/i].uniq.map { |pf| "#{pf}/1c*" }
elsif linux?
sp += %w(/opt/1C /opt/1c)
end
sp.compact.uniq
end