Skip to content

Commit

Permalink
Append VM to client details
Browse files Browse the repository at this point in the history
Client login data now always shows primary OS and includes any additional VM information.
  • Loading branch information
DigiEggz committed Apr 25, 2024
1 parent fb90faf commit b88c085
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions com/smartfoxserver/v2/SmartFox.hx
Original file line number Diff line number Diff line change
Expand Up @@ -881,8 +881,6 @@ class SmartFox extends EventDispatcher
private var _clientDetails:String =
#if flash
"Flash"
#elseif neko
"Neko"
#elseif linux
"Linux"
#elseif windows
Expand All @@ -898,6 +896,12 @@ class SmartFox extends EventDispatcher
#else
"Unknown"
#end
// Append VM type, if any
#if hl
+ " (HashLink)"
#elseif neko
+ " (Neko)"
#end
;

/**
Expand Down

0 comments on commit b88c085

Please sign in to comment.