MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / isAutorunEnabled

Method isAutorunEnabled

plugins/Trayicon/TrayiconPlugin.py:154–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 """ % (cwd, cmd)
153
154 def isAutorunEnabled(self):
155 path = self.getAutorunPath()
156 return os.path.isfile(path) and open(path).read() == self.formatAutorun()
157
158 def titleAutorun(self):
159 translate = _["Start ZeroNet when Windows starts"]

Callers 2

titleAutorunMethod · 0.95
toggleAutorunMethod · 0.95

Calls 3

getAutorunPathMethod · 0.95
formatAutorunMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected