1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00

we don't actually have to do this

This commit is contained in:
Jon Maddox 2015-09-15 02:30:13 -04:00
parent 9ada5e6b2b
commit 834ce5269d

View File

@ -162,14 +162,12 @@ def write_pid(pid_file):
def install_osx():
app_path = os.popen('pwd').read().strip()
hass_path = os.popen('which hass').read().strip()
user = os.popen('whoami').read().strip()
plist = codecs.open('scripts/org.homeassistant.plist', 'r', 'utf-8')
plist = plist.read()
plist = plist.replace("$APP_PATH$", app_path)
plist = plist.replace("$HASS_PATH$", hass_path)
plist = plist.replace("$USER$", user)