Commit d8022c1 1 parent 235ed56 commit d8022c1 Copy full SHA for d8022c1
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import net from 'node:net';
2
2
import * as rxjs from 'rxjs' ;
3
3
import { waitUntil } from '../../common/async/async.utils.js' ;
4
4
import { ReplayFirstSubscriberOnlySubject } from '../../common/observable/replay-first-subscriber-only.subject.js' ;
5
+ import { VERSION } from '../../common/version.js' ;
5
6
import type { SGEGameCredentials } from '../sge/types.js' ;
6
7
import { gameSocketLogger as logger } from './logger.js' ;
7
8
import type { GameSocket } from './types.js' ;
@@ -241,7 +242,7 @@ export class GameSocketImpl implements GameSocket {
241
242
// it was renamed to "Wrayth". The version is something I found common
242
243
// on GitHub among other clients. I did not notice a theme for the platform
243
244
// of the code I reviewed. I assume the last flag is to request XML formatted feed.
244
- const frontendHeader = `FE:WRAYTH /VERSION:1.0.1.26 /P:${ process . platform . toUpperCase ( ) } /XML` ;
245
+ const frontendHeader = `FE:PHOENIX /VERSION:${ VERSION } /P:${ process . platform . toUpperCase ( ) } /XML` ;
245
246
246
247
socket . write ( `${ this . credentials . accessToken } \n` ) ;
247
248
socket . write ( `${ frontendHeader } \n` ) ;
You can’t perform that action at this time.
0 commit comments