Skip to content

Commit

Permalink
shorten hashes/buildnumber in app title
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Jan 8, 2025
1 parent 8482c80 commit 17474d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2357,11 +2357,11 @@ private fun MainAppStart()
var win_title_addon = "Unknown Version"
try
{
win_title_addon = BuildConfig.APP_VERSION + " (Build: " + BuildConfig.GIT_COMMIT_HASH.take(7) +
win_title_addon = BuildConfig.APP_VERSION + " (Build: " + BuildConfig.GIT_COMMIT_HASH.take(4) +
"-" +
MainActivity.getNativeLibTOXGITHASH() +
(MainActivity.getNativeLibTOXGITHASH()?.take(3) ?: "???") +
"-" +
MainActivity.getNativeLibGITHASH() +
(MainActivity.getNativeLibGITHASH()?.take(3) ?: "???") +
")"
} catch (_: java.lang.Exception)
{
Expand Down

0 comments on commit 17474d5

Please sign in to comment.