File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ class XCloudTokenResponse(BaseModel):
88
88
89
89
90
90
class XalClientParameters (BaseModel ):
91
- UserAgent : XalUserAgents
92
- AppId : XalAppId
93
- DeviceType : XalDeviceType
91
+ UserAgent : str
92
+ AppId : str
93
+ DeviceType : str
94
94
ClientVersion : str
95
- TitleId : XalTitleId
96
- RedirectUri : XalRedirectUri
97
- QueryDisplay : XalQueryDisplay
95
+ TitleId : str
96
+ RedirectUri : str
97
+ QueryDisplay : str
Original file line number Diff line number Diff line change @@ -102,17 +102,17 @@ async def main(command: str):
102
102
"""
103
103
104
104
if command == 'xhome' or command == 'smartglass' :
105
- app_config = APP_CONFIG_XBOXBETA_FILE
105
+ app_config_file = APP_CONFIG_XBOXBETA_FILE
106
106
xal_params = IOS_XBOXBETA_APP_PARAMS
107
107
elif command == 'xcloud' :
108
- app_config = APP_CONFIG_XBOXGAMEPASS_FILE
108
+ app_config_file = APP_CONFIG_XBOXGAMEPASS_FILE
109
109
xal_params = ANDROID_GAMEPASS_BETA_PARAMS
110
110
else :
111
111
print (':: Unexpected command...' )
112
112
return
113
113
114
114
try :
115
- config = AppConfiguration .parse_file (app_config )
115
+ config = AppConfiguration .parse_file (app_config_file )
116
116
except Exception as e :
117
117
print (f'Failed to parse app configuration! Err: { e } ' )
118
118
print ('Initializing new config...' )
@@ -142,7 +142,7 @@ async def main(command: str):
142
142
"""
143
143
Saving app config
144
144
"""
145
- with io .open (app_config , 'wt' ) as f :
145
+ with io .open (app_config_file , 'wt' ) as f :
146
146
f .write (config .json (indent = 2 ))
147
147
148
148
if command == 'smartglass' or command == 'xhome' :
You can’t perform that action at this time.
0 commit comments