mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
we don't actually have to do this
This commit is contained in:
parent
9ada5e6b2b
commit
834ce5269d
@ -162,14 +162,12 @@ def write_pid(pid_file):
|
|||||||
|
|
||||||
|
|
||||||
def install_osx():
|
def install_osx():
|
||||||
app_path = os.popen('pwd').read().strip()
|
|
||||||
hass_path = os.popen('which hass').read().strip()
|
hass_path = os.popen('which hass').read().strip()
|
||||||
user = os.popen('whoami').read().strip()
|
user = os.popen('whoami').read().strip()
|
||||||
|
|
||||||
plist = codecs.open('scripts/org.homeassistant.plist', 'r', 'utf-8')
|
plist = codecs.open('scripts/org.homeassistant.plist', 'r', 'utf-8')
|
||||||
plist = plist.read()
|
plist = plist.read()
|
||||||
|
|
||||||
plist = plist.replace("$APP_PATH$", app_path)
|
|
||||||
plist = plist.replace("$HASS_PATH$", hass_path)
|
plist = plist.replace("$HASS_PATH$", hass_path)
|
||||||
plist = plist.replace("$USER$", user)
|
plist = plist.replace("$USER$", user)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user