Skip to content

Commit f298810

Browse files
committed
Fix inability to create projects with spaces in the name
1 parent ce5b752 commit f298810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: source/create_dialog_derived.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void CreateProjectDialogD::OnCreate(wxCommandEvent& event){
108108
#elif defined _WIN32
109109
auto fullProj = filesystem::path(projPath) / projName;
110110
auto fullTemplate = executableTemplatesPath / fmt::format("{}.{}",templatePrefix,templateName);
111-
string command = fmt::format("\"{}\" -createproject {} -cloneFromTemplate \"{}\"",
111+
string command = fmt::format("\"{}\" -createproject \"{}\" - cloneFromTemplate \"{}\"",
112112
executablePath.string(),
113113
fullProj.string(),
114114
fullTemplate.string());

0 commit comments

Comments
 (0)