mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Use a shared UID for all Moonlight clients
This commit is contained in:
1 parent
72dcd76e37
commit
bd8b9f8bfb
1 file changed
+3
-1
@@ -49,7 +49,9 @@ static const NSString* HTTPS_PORT = @"47984";
|
|||||||
|
|
||||||
- (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId serverCert:(NSData*) serverCert {
|
- (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId serverCert:(NSData*) serverCert {
|
||||||
self = [super init];
|
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;
|
_deviceName = deviceName;
|
||||||
_serverCert = serverCert;
|
_serverCert = serverCert;
|
||||||
_requestLock = dispatch_semaphore_create(0);
|
_requestLock = dispatch_semaphore_create(0);
|
||||||
|
|||||||
Reference in new issue
Block a user