Merge pull request #196 from TheNain38/patch-1
Windows: Don't display executed lines when console starts with computer
This commit is contained in:
commit
0241001205
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class ActionsPlugin(object):
|
||||||
# Dont open browser on autorun
|
# Dont open browser on autorun
|
||||||
cmd = cmd.replace("start.py", "zeronet.py").replace('"--open_browser"', "").replace('"default_browser"', "")
|
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):
|
def isAutorunEnabled(self):
|
||||||
path = self.getAutorunPath()
|
path = self.getAutorunPath()
|
||||||
|
|
Loading…
Reference in a new issue