Class: Aspera::Products::Alpha

Inherits:
Object
  • Object
show all
Defined in:
lib/aspera/products/alpha.rb

Overview

Aspera Desktop Alpha Client

Constant Summary collapse

APP_NAME =
'IBM Aspera for Desktop'
APP_IDENTIFIER =
'com.ibm.software.aspera.desktop'

Class Method Summary collapse

Class Method Details

.locationsObject

standard folder locations



13
14
15
16
17
18
19
20
21
22
# File 'lib/aspera/products/alpha.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_fileObject



24
25
26
# File 'lib/aspera/products/alpha.rb', line 24

def log_file
  File.join(Dir.home, 'Library', 'Logs', APP_IDENTIFIER, 'ibm-aspera-desktop.log')
end