Skip to content

Commit bbb0e37

Browse files
author
Fraser J. Gordon
committed
Use a read/write mode when deploying standalone files
1 parent 68d3c86 commit bbb0e37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/src/deploy_macosx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ Exec_stat MCDeployToIOS(const MCDeployParameters& p_params, bool p_embedded)
18271827
t_success = MCDeployThrow(kMCDeployErrorNoEngine);
18281828

18291829
// Make sure we can open the output file.
1830-
if (t_success && !MCDeployFileOpen(p_params . output, kMCSOpenFileModeWrite, t_output))
1830+
if (t_success && !MCDeployFileOpen(p_params . output, kMCSOpenFileModeCreate, t_output))
18311831
t_success = MCDeployThrow(kMCDeployErrorNoOutput);
18321832

18331833
// Generate the binary.

0 commit comments

Comments
 (0)