this path structure makes more sense
This commit is contained in:
parent
a93f265686
commit
6e703ea3d5
@ -78,7 +78,7 @@ public class AssetWebHandler : WebHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
string basepath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
|
string basepath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
|
||||||
string filename = basepath + "/assets/" + assetName + "-" + assetVersion + "/" + assetPath;
|
string filename = basepath + "/assets/" + assetName + "/" + assetVersion + "/" + assetPath;
|
||||||
|
|
||||||
byte[] data = new byte[0];
|
byte[] data = new byte[0];
|
||||||
if (System.IO.File.Exists(filename))
|
if (System.IO.File.Exists(filename))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user