diff --git a/src/client/Client.cpp b/src/client/Client.cpp index ed4da1469..74090d50e 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -32,6 +32,7 @@ # include # include # include +# include "resource.h" #else # include # include @@ -1573,6 +1574,10 @@ bool Client::DoInstallation() CoInitializeEx(NULL, COINIT_MULTITHREADED); auto exe = Platform::ExecutableName(); +#ifndef IDI_DOC_ICON + // make this fail so I don't remove #include "resource.h" again and get away with it +# error where muh IDI_DOC_ICON D: +#endif auto icon = exe + ",-" MTOS(IDI_DOC_ICON); auto path = Platform::GetCwd(); auto open = ByteString::Build("\"", exe, "\" ddir \"", path, "\" \"file://%1\"");