mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-31 14:12:06 +08:00
f550656ee8
This reverts commit 640ab12c72.
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]
|