X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8493347dd9711848398e2d667080110a376be96d..10e728bb967b8f052c07480275400d631fb6f531:/Execute.cpp?ds=sidebyside diff --git a/Execute.cpp b/Execute.cpp index 8cd0c90..b4614c4 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1685,7 +1685,7 @@ static JSValueRef require(JSContextRef context, JSObjectRef object, JSObjectRef CYJSString property("exports"); JSObjectRef module; - const char *path(pool.strcat(lib, "/cycript/", CYPoolCString(pool, context, arguments[0]), ".cy", NULL)); + const char *path(pool.strcat(lib, "/cycript0.9/", CYPoolCString(pool, context, arguments[0]), ".cy", NULL)); CYJSString key(path); JSObjectRef modules(CYGetCachedObject(context, CYJSString("modules"))); JSValueRef cache(CYGetProperty(context, modules, key));