This commit is contained in:
aozhiwei 2018-08-30 18:07:58 +08:00
parent 87a7cef770
commit 7a68854ee6

View File

@ -8,7 +8,7 @@ void ScriptEngine::Init()
{ {
engine_ = new a8::PyEngine(); engine_ = new a8::PyEngine();
if (getenv("machine_type")) { if (getenv("machine_type")) {
engine_->work_path = "/data/conf_test/game1008/res/pyscripts/"; engine_->work_path = "/var/data/conf_test/game1008/res/pyscripts/";
} else { } else {
engine_->work_path = "../res/pyscripts/"; engine_->work_path = "../res/pyscripts/";
} }