<?php\r
+\r
class wsPackagerMacEXE extends wsPackager {\r
protected $exeName;\r
\r
- public function __construct($book_id)\r
- {\r
+ public function __construct($book_id) {\r
parent::__construct($book_id);\r
$this->version = 'mac-exe';\r
+ $this->book->parametres->alwaysHTML5 = false;\r
\r
$this->exeName = cubeText::str2URL(mb_substr($this->book->parametres->title, 0, 30));\r
}\r
\r
- protected function preparePackage()\r
- {\r
+ protected function preparePackage() {\r
parent::preparePackage();\r
\r
$this->copyFluidbookFiles();\r
$this->copyOtherFiles(array('Fluidbook.app.zip'));\r
}\r
\r
- public function makePackage($zip)\r
- {\r
+ public function makePackage($zip) {\r
parent::makePackage($zip);\r
- $res=$this->zip($this->vdir . 'Fluidbook.app.zip');\r
+ $res = $this->zip($this->vdir . 'Fluidbook.app.zip');\r
$this->postPackage();\r
return $res;\r
}\r
public function __construct($book_id) {\r
parent::__construct($book_id);\r
$this->version = 'win-exe';\r
+ $this->book->parametres->alwaysHTML5=false;\r
\r
if ($this->book->parametres->offlineTitle == "") {\r
$this->exeName = cubeText::str2URL(mb_substr($this->book->parametres->title, 0, 30)) . '.exe';\r
return $res;\r
}\r
\r
-}\r
-\r
-?>
\ No newline at end of file
+}
\ No newline at end of file
public function __construct($book_id) {\r
parent::__construct($book_id);\r
$this->version = 'win-ins';\r
+ $this->book->parametres->alwaysHTML5 = false;\r
}\r
\r
protected function preparePackage() {\r