Class: AsProject::CygwinUser
Instance Method Summary collapse
-
#flash_player_log ⇒ Object
end.
- #mxmlc ⇒ Object
- #remote_file_task(name, task) ⇒ Object
- #win_flash_player_log ⇒ Object
Methods inherited from WinUser
#asproject_home, #flash_player_home, #flash_player_path, #home, #initialize, #library
Methods inherited from User
#asproject_home, #asproject_player_trust, #downloads, #file_exists?, #flash_player_config, #flash_player_config_content, #flash_player_home, #flash_player_path, #flash_player_trust, #get_or_create, #get_player_url, #home, #initialize, #library
Constructor Details
This class inherits a constructor from AsProject::WinUser
Instance Method Details
#flash_player_log ⇒ Object
end
493 494 495 496 497 |
# File 'lib/path_finder.rb', line 493 def flash_player_log drive = "/cygdrive/#{ENV['HOMEDRIVE'].downcase.gsub(':', '')}" home = ENV['HOMEPATH'].split('\\').join('/') return File.join(drive, home, 'Application Data', 'Macromedia', 'Flash Player', 'Logs', 'flashlog.txt') end |
#mxmlc ⇒ Object
503 504 505 |
# File 'lib/path_finder.rb', line 503 def mxmlc return 'mxmlc' end |
#remote_file_task(name, task) ⇒ Object
507 508 509 510 511 512 513 514 515 |
# File 'lib/path_finder.rb', line 507 def remote_file_task(name, task) return CygwinRemoteFileTask.new(name, self) do |t| if(task.win_url.nil?) raise UsageError.new("There was a problem finding a target for #{task.name}, it doesn't appear as if this task was expected to run on your system...") end t.url = task.win_url t.extracted_file = task.win_extracted_file end end |
#win_flash_player_log ⇒ Object
499 500 501 |
# File 'lib/path_finder.rb', line 499 def win_flash_player_log return File.join("#{ENV['HOMEDRIVE']}#{ENV['HOMEPATH']}", 'Application Data', 'Macromedia', 'Flash Player', 'Logs', 'flashlog.txt') end |