Browse Source

[java] fix resource copying on windows

Dan Korostelev 11 năm trước cách đây
mục cha
commit
d64dc4c087
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      genjava.ml

+ 1 - 1
genjava.ml

@@ -2145,7 +2145,7 @@ let configure gen =
 			let full_path = gen.gcon.file ^ "/src/" ^ name in
 			mkdir_from_path full_path;
 
-			let f = open_out full_path in
+			let f = open_out_bin full_path in
 			output_string f v;
 			close_out f
 		) gen.gcon.resources;