Compare commits
2 Commits
0246a3fb19
...
bcd525d787
| Author | SHA1 | Date | |
|---|---|---|---|
| bcd525d787 | |||
| 8289042af4 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ testbed
|
||||
icons-not-used
|
||||
venv*
|
||||
*.spec
|
||||
/version.txt
|
||||
|
||||
@@ -13,7 +13,8 @@ from src.ui.icon import Icon
|
||||
from pathlib import Path
|
||||
import os
|
||||
|
||||
__version__ = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt").read_text()
|
||||
version_file = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt")
|
||||
__version__ = version_file.read_text() if version_file.is_file() else "0.0.0"
|
||||
|
||||
gettext.install('krowlog', 'locale')
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
0.2.1-36-g9902be0
|
||||
Reference in New Issue
Block a user