Skip to content

Commit a037cb0

Browse files
committed
Make creating the installer files optional.
1 parent c8d5ec5 commit a037cb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Solution.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ void Solution::writeInstallerConfig(const VersionInfo &versionInfo) const
202202
wofstream
203203
outputStream;
204204

205+
if (!filesystem::exists(pathFromRoot(L"Installer")))
206+
return;
207+
205208
inputStream.open(pathFromRoot(L"Installer\\Inno\\config.isx.in"));
206209
if (!inputStream)
207210
throwException(L"Unable to open installer config input file");

0 commit comments

Comments
 (0)