Merge branch 'patch-2' of https://github.com/dsisnero/google-api-ruby-client into dsisnero-patch-2
This commit is contained in:
commit
a8b8c559d3
|
@ -47,7 +47,8 @@ class BaseCli < Thor
|
||||||
# on Windows)
|
# on Windows)
|
||||||
def well_known_path_for(file)
|
def well_known_path_for(file)
|
||||||
if OS.windows?
|
if OS.windows?
|
||||||
File.join(ENV['APPDATA'], 'google', file)
|
dir = ENV.fetch('HOME'){ ENV['APPDATA']}
|
||||||
|
File.join(dir, 'google', file)
|
||||||
else
|
else
|
||||||
File.join(ENV['HOME'], '.config', 'google', file)
|
File.join(ENV['HOME'], '.config', 'google', file)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue