mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-31 13:58:48 +00:00
3.0
This commit is contained in:
@@ -175,7 +175,7 @@ namespace XCharts.Runtime
|
|||||||
var jsonText = File.ReadAllText(jsonPath);
|
var jsonText = File.ReadAllText(jsonPath);
|
||||||
if (jsonText.Contains("\"displayName\": \"XCharts\""))
|
if (jsonText.Contains("\"displayName\": \"XCharts\""))
|
||||||
{
|
{
|
||||||
path = string.Format("{0}/Resources/XCSettings.asset", match);
|
path = string.Format("{0}/Resources/XCSettings.asset", match.Replace('\\', '/'));
|
||||||
if (File.Exists(path))
|
if (File.Exists(path))
|
||||||
return path.Substring(path.IndexOf("/Assets/") + 1);
|
return path.Substring(path.IndexOf("/Assets/") + 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user