Don't display executed lines when console starts

This commit is contained in:
TheNain38 2015-10-22 18:00:41 +02:00
parent a8dae8dd85
commit 043ceb244d

View file

@ -117,7 +117,7 @@ class ActionsPlugin(object):
# Dont open browser on autorun
cmd = cmd.replace("start.py", "zeronet.py").replace('"--open_browser"', "").replace('"default_browser"', "")
return "cd /D %s \n%s" % (os.getcwd(), cmd)
return "@echo off\ncd /D %s \n%s" % (os.getcwd(), cmd)
def isAutorunEnabled(self):
path = self.getAutorunPath()