   flashPath = getPath()
   if flashPath?
     log "Loading Pepper Flash Player from: \n#{flashPath}"
+    log "Pepper Flash Player version: #{getFlashVersion flashPath}" if PLATFORM is 'darwin'
     app.commandLine.appendSwitch 'ppapi-flash-path', flashPath
     # Note: the 'ppapi-flash-version' switch is used by Google Chrome to decide
     # which flash player to load (it'll choose the newest one), and dioplay in

      match = /<key>CFBundleVersion<\/key>\s*<string>(\d+(?:\.\d+)*)<\/string>/.exec plistContent
      if match and match.length > 1 then match[1] else ''
    else ''

class FlashPlayerVersions
  constructor: (chromeFlashPath, systemFlashPath) ->
    @chrome = getFlashVersion chromeFlashPath if chromeFlashPath?
    @system = getFlashVersion systemFlashPath if systemFlashPath?

getAllVersions = ->
  new FlashPlayerVersions findChromeFlashPath(), findSystemFlashPath()

flashSources = []
addSource = (location) ->


exports.debug = debug
exports.FLASH_PLAYER_FILENAME = FILENAME
exports.getVersion = getFlashVersion
