Skip to content

Commit

Permalink
fix: fix #1232 (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-xi authored Apr 30, 2023
1 parent e9f70df commit ed2061d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ScriptEngine/src/main/NodeJsHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ bool loadPluginCode(script::ScriptEngine* engine, std::string entryScriptPath, s
if (!EndsWith(pluginDirPath, "/"))
pluginDirPath += "/";
pluginDirPath = ReplaceStr(pluginDirPath, "\\", "/");
entryScriptPath = ReplaceStr(entryScriptPath, "\\", "/");

// Find setup
auto it = setups->find(engine);
Expand Down

0 comments on commit ed2061d

Please sign in to comment.