|
|
@@ -9,7 +9,10 @@ namespace Crown
|
|
|
{
|
|
|
public string compile(Guid id, string data_dir, string platform)
|
|
|
{
|
|
|
- return "{\"type\":\"compile\",\"id\":\"%s\",\"data_dir\":\"%s\",\"platform\":\"%s\"}".printf(id.to_string(), data_dir, platform);
|
|
|
+ return "{\"type\":\"compile\",\"id\":\"%s\",\"data_dir\":\"%s\",\"platform\":\"%s\"}".printf(id.to_string()
|
|
|
+ , data_dir.replace("\\", "\\\\").replace("\"", "\\\"")
|
|
|
+ , platform
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
public string reload(string type, string name)
|