File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1238,15 +1238,16 @@ def build_win32(self):
12381238 shutil .copy (file_path , output_dir )
12391239
12401240 # copy lua files & res
1241- self ._copy_resources (output_dir )
1241+ res_path = os .path .join (output_dir , "Resources" )
1242+ self ._copy_resources (res_path )
12421243
12431244 # check the project config & compile the script files
12441245 if self ._project ._is_js_project ():
1245- self .compile_js_scripts (output_dir , output_dir )
1246+ self .compile_js_scripts (res_path , res_path )
12461247
12471248 if self ._project ._is_lua_project ():
12481249 # windows only support 32-bit bytecode
1249- self .compile_lua_scripts (output_dir , output_dir , False )
1250+ self .compile_lua_scripts (res_path , res_path , False )
12501251
12511252 self .run_root = output_dir
12521253
You can’t perform that action at this time.
0 commit comments