Class: Aspera::Products::Desktop

Inherits:
Object
  • Object
show all
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'
LOG_FILENAME =
'ibm-aspera-desktop.log'

Class Method Summary collapse

Class Method Details

.locationsObject

standard folder locations



14
15
16
17
18
19
20
21
22
23
# File 'lib/aspera/products/desktop.rb', line 14

def locations
  case Aspera::Environment.instance.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