File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Assets/PatchKit Patcher/Scripts/AppData/Remote Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public interface IRemoteMetaData
1212 /// <summary>
1313 /// Returns app info.
1414 /// </summary>
15- Api . Models . Main . App GetAppInfo ( ) ;
15+ Api . Models . Main . App GetAppInfo ( bool retryRequests = true ) ;
1616
1717 /// <summary>
1818 /// Returns certain version content summary.
Original file line number Diff line number Diff line change @@ -83,10 +83,11 @@ public int GetLatestVersionId(bool retryRequests = true)
8383 return m . GetAppLatestAppVersionId ( _appSecret ) . Id ;
8484 }
8585
86- public Api . Models . Main . App GetAppInfo ( )
86+ public Api . Models . Main . App GetAppInfo ( bool retryRequests = true )
8787 {
8888 DebugLogger . Log ( "Getting app info." ) ;
89- return _mainApiConnection . GetApplicationInfo ( _appSecret ) ;
89+ var m = retryRequests ? _mainApiConnection : _mainApiConnectionWithoutRetry ;
90+ return m . GetApplicationInfo ( _appSecret ) ;
9091 }
9192
9293 public AppContentSummary GetContentSummary ( int versionId )
You can’t perform that action at this time.
0 commit comments