Merge pull request #196 from TheNain38/patch-1

Windows: Don't display executed lines when console starts with computer
This commit is contained in:
ZeroNet 2015-10-25 22:38:04 +01:00
commit 0241001205
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,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()