Use a shared UID for all Moonlight clients

This commit is contained in:
Cameron Gutman
2018-12-22 21:02:24 -08:00
parent 72dcd76e37
commit bd8b9f8bfb

View File

@@ -49,7 +49,9 @@ static const NSString* HTTPS_PORT = @"47984";
- (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId serverCert:(NSData*) serverCert {
self = [super init];
_uniqueId = uniqueId;
// Use the same UID for all Moonlight clients to allow them
// quit games started on another Moonlight client.
_uniqueId = @"0123456789ABCDEF";
_deviceName = deviceName;
_serverCert = serverCert;
_requestLock = dispatch_semaphore_create(0);