Ignore:
Timestamp:
Jan 18, 2019 4:29:12 PM (23 months ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
a367778
Parents:
5212591
Message:

Mac OSX Launcher: UI code updates, integration of firefox manager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • launchers/macosx/I2PLauncher/userinterface/StatusBarController.swift

    r5212591 r605f987  
    109109    RouterManager.shared().eventManager.listenTo(eventName: "toggle_popover", action: event_toggle)
    110110   
     111    FirefoxManager.shared().tryAutoDetect()
     112   
     113    print("Is Firefox found? \(FirefoxManager.shared().IsFirefoxFound())")
     114    print("Is Firefox profile extracted at \(Preferences.shared()["I2Pref_firefoxProfilePath"] as! String)? \(FirefoxManager.shared().IsProfileExtracted())")
     115    if (!FirefoxManager.shared().IsProfileExtracted()) {
     116      FirefoxManager.shared().unzipProfile()
     117    }
     118   
    111119    if let button = statusItem.button {
    112120      button.image = NSImage(named:"StatusBarButtonImage")
Note: See TracChangeset for help on using the changeset viewer.