Class: Aspera::Products::Desktop
- Inherits:
-
Object
- Object
- Aspera::Products::Desktop
- Defined in:
- lib/aspera/products/desktop.rb
Overview
Client Aspera for Desktop
Constant Summary collapse
- APP_NAME =
'IBM Aspera for Desktop'
- APP_IDENTIFIER =
'com.ibm.software.aspera.desktop'
Class Method Summary collapse
-
.locations ⇒ Object
standard folder locations.
- .log_file ⇒ Object
Class Method Details
.locations ⇒ Object
standard folder locations
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/aspera/products/desktop.rb', line 13 def locations case Aspera::Environment.os when Aspera::Environment::OS_MACOS then [{ app_root: File.join('', 'Applications', 'IBM Aspera.app'), log_root: File.join(Dir.home, 'Library', 'Logs', APP_IDENTIFIER), sub_bin: File.join('Contents', 'Resources', 'transferd', 'bin') }] else [] end.map { |i| i.merge({ expected: APP_NAME }) } end |
.log_file ⇒ Object
24 25 26 |
# File 'lib/aspera/products/desktop.rb', line 24 def log_file File.join(Dir.home, 'Library', 'Logs', APP_IDENTIFIER, 'ibm-aspera-desktop.log') end |