mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 12:23:55 +08:00
4 lines
158 B
Python
4 lines
158 B
Python
import os
|
|
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "common", "version.h")) as _versionf:
|
|
version = _versionf.read().split('"')[1]
|