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):
1238
1238
shutil .copy (file_path , output_dir )
1239
1239
1240
1240
# 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 )
1242
1243
1243
1244
# check the project config & compile the script files
1244
1245
if self ._project ._is_js_project ():
1245
- self .compile_js_scripts (output_dir , output_dir )
1246
+ self .compile_js_scripts (res_path , res_path )
1246
1247
1247
1248
if self ._project ._is_lua_project ():
1248
1249
# 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 )
1250
1251
1251
1252
self .run_root = output_dir
1252
1253
You can’t perform that action at this time.
0 commit comments