Expose application version

Expose scrcpy version via -v or --version.
This commit is contained in:
Romain Vimont
2018-02-07 12:37:53 +01:00
parent 8d30d40b79
commit 9f6464acff
2 changed files with 19 additions and 1 deletions

View File

@@ -32,6 +32,9 @@ dependencies = [
conf = configuration_data()
# the version, updated on release
conf.set_quoted('SCRCPY_VERSION', '0.1')
# the default client TCP port for the "adb reverse" tunnel
# overridden by option --port
conf.set('DEFAULT_LOCAL_PORT', '27183')