get version from git tag

This commit is contained in:
2025-03-24 19:36:43 +01:00
parent 9902be0a48
commit 3a2aa4f109
3 changed files with 7 additions and 1 deletions

View File

@@ -10,8 +10,10 @@ from src import install
from src.pluginregistry import PluginRegistry
import gettext
from src.ui.icon import Icon
from pathlib import Path
import os
__version__ = '0.2.1'
__version__ = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt").read_text()
gettext.install('krowlog', 'locale')