mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Get PointerServer's port from the app
This commit is contained in:
@@ -314,7 +314,10 @@ function main() {
|
||||
}
|
||||
|
||||
// Start PointerProviderServer
|
||||
(getPref(PrefKey.MKB_ENABLED)) && AppInterface && AppInterface.startPointerServer();
|
||||
if (getPref(PrefKey.MKB_ENABLED) && AppInterface) {
|
||||
STATES.pointerServerPort = AppInterface.startPointerServer() || 9269;
|
||||
BxLogger.info('startPointerServer', 'Port', STATES.pointerServerPort.toString());
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
|
Reference in New Issue
Block a user