host/agent: provide Windows newlines

This commit is contained in:
Thomas Gelf 2016-06-28 02:01:05 +02:00
parent f7ddbaf2d7
commit 4de8bfd88c
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class HostController extends ObjectController
$wizard = $this->view->wizard = new AgentWizard($this->object);
$wizard->setTicketSalt($this->api()->getTicketSalt());
echo $wizard->renderWindowsInstaller();
echo preg_replace('/\n/', "\r\n", $wizard->renderWindowsInstaller());
exit;
}