Compare commits
2 Commits
294e6ac177
...
160867b037
Author | SHA1 | Date | |
---|---|---|---|
160867b037 | |||
d57e3c3382 |
@ -1,12 +1,19 @@
|
|||||||
{
|
{
|
||||||
"name": "AxibugEmuOnline.Client",
|
"name": "AxibugEmuOnline.Client",
|
||||||
|
"rootNamespace": "",
|
||||||
"references": [
|
"references": [
|
||||||
"UIEffect",
|
"UIEffect",
|
||||||
"AxiReplay",
|
"AxiReplay",
|
||||||
"Unity.Postprocessing.Runtime"
|
"Unity.Postprocessing.Runtime",
|
||||||
|
"VirtualNes.Core"
|
||||||
],
|
],
|
||||||
"optionalUnityReferences": [],
|
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
"allowUnsafeCode": true
|
"allowUnsafeCode": true,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
}
|
}
|
@ -36,7 +36,7 @@ namespace AxibugEmuOnline.Client
|
|||||||
}
|
}
|
||||||
AxiHttpProxy.ShowAxiHttpDebugInfo(request.downloadHandler);
|
AxiHttpProxy.ShowAxiHttpDebugInfo(request.downloadHandler);
|
||||||
|
|
||||||
if (request.downloadHandler.Err != null)
|
if (request.downloadHandler.Err == null)
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(path);
|
Directory.CreateDirectory(path);
|
||||||
File.WriteAllBytes($"{path}/{url.GetHashCode()}", request.downloadHandler.data);
|
File.WriteAllBytes($"{path}/{url.GetHashCode()}", request.downloadHandler.data);
|
||||||
|
@ -137,13 +137,9 @@ namespace AxibugEmuOnline.Client
|
|||||||
downloadRequest = null;
|
downloadRequest = null;
|
||||||
|
|
||||||
if (request.downloadHandler.Err != null)
|
if (request.downloadHandler.Err != null)
|
||||||
{
|
callback(request.downloadHandler.data);
|
||||||
callback(null);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
callback(null);
|
||||||
callback(request.downloadHandler.data);
|
|
||||||
}
|
|
||||||
|
|
||||||
//downloadRequest = UnityWebRequest.Get($"{App.httpAPI.WebHost}/{webData.url}");
|
//downloadRequest = UnityWebRequest.Get($"{App.httpAPI.WebHost}/{webData.url}");
|
||||||
//yield return downloadRequest.SendWebRequest();
|
//yield return downloadRequest.SendWebRequest();
|
||||||
|
Loading…
Reference in New Issue
Block a user