修复版本号
This commit is contained in:
parent
61860b0b71
commit
4da552bcff
|
@ -9,7 +9,7 @@ dirs = PlatformDirs("PMPT", "MoYan")
|
||||||
IndexList = []
|
IndexList = []
|
||||||
def getVer(baseVar):
|
def getVer(baseVar):
|
||||||
s = os.popen('git rev-parse HEAD')
|
s = os.popen('git rev-parse HEAD')
|
||||||
baseVar = baseVar + '-' + s.read()[:6]
|
baseVar = baseVar + '_' + s.read()[:6]
|
||||||
return baseVar
|
return baseVar
|
||||||
__version__ = getVer('1.0.0')
|
__version__ = getVer('1.0.0')
|
||||||
def init():
|
def init():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user