From 66bbcbf656902b00a7c26452b4fdcee24b4f1b41 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 12 Jan 2012 17:40:27 +0000 Subject: [PATCH] --- fluidbook/compile/autorun.inf | 2 +- inc/ws/Util/packager/class.ws.packager.win.cd.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fluidbook/compile/autorun.inf b/fluidbook/compile/autorun.inf index c78003e87..d3008beaf 100644 --- a/fluidbook/compile/autorun.inf +++ b/fluidbook/compile/autorun.inf @@ -1,5 +1,5 @@ [autorun] label=$title -icon=data/fluidbook.ico +icon=data\fluidbook.ico open=$exe action=$title \ No newline at end of file diff --git a/inc/ws/Util/packager/class.ws.packager.win.cd.php b/inc/ws/Util/packager/class.ws.packager.win.cd.php index 16843462c..333648642 100644 --- a/inc/ws/Util/packager/class.ws.packager.win.cd.php +++ b/inc/ws/Util/packager/class.ws.packager.win.cd.php @@ -22,7 +22,7 @@ class wsPackagerWinCD extends wsPackagerMacEXE { $inf = file_get_contents($this->vdir . 'autorun.inf'); $toReplace = array('title' => $this->book->parametres->title, 'exe' => 'Windows-PC-' . $this->exeName . '.exe'); $inf = $this->replaceContents($inf, $toReplace); - file_put_contents($this->vdir . 'autorun.inf', $inf); + file_put_contents($this->vdir . 'autorun.inf', utf8_decode($inf)); } protected function postPackage() { -- 2.39.5