From: vincent@cubedesigners.com Date: Mon, 20 Sep 2021 09:59:07 +0000 (+0000) Subject: wait #4691 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0ac81a69f99e737afb8cd7319fabf9f5b268a510;p=cubeextranet.git wait #4691 @0.25 --- diff --git a/fluidbook/tools/fwstk/.idea/misc.xml b/fluidbook/tools/fwstk/.idea/misc.xml index 4aff69c56..bec7cd5ba 100644 --- a/fluidbook/tools/fwstk/.idea/misc.xml +++ b/fluidbook/tools/fwstk/.idea/misc.xml @@ -1,5 +1,8 @@ + + @@ -181,28 +184,6 @@ - + + + + + - C:\Users\Vincent\AppData\Roaming\Subversion + C:\Users\vince\AppData\Roaming\Subversion 125 @@ -462,6 +474,7 @@ + 1487172253077 @@ -579,12 +592,6 @@ - - - - - - diff --git a/inc/ws/Util/packager/class.ws.packager.win.exe.html.php b/inc/ws/Util/packager/class.ws.packager.win.exe.html.php index 234ade5f8..de1a09ae9 100644 --- a/inc/ws/Util/packager/class.ws.packager.win.exe.html.php +++ b/inc/ws/Util/packager/class.ws.packager.win.exe.html.php @@ -20,10 +20,10 @@ class wsPackagerWinEXEHTML extends wsPackager $this->_clean = false; if ($this->book->parametres->offlineTitle == "") { - $this->exeName = cubeText::str2URL(mb_substr($this->book->parametres->title, 0, $this->exenameMaxlength)); + $this->exeName = $this->book->book_id . '-' . trim(cubeText::str2URL(mb_substr($this->book->parametres->title, 0, $this->exenameMaxlength - 6)), '-'); $this->appName = $this->book->parametres->title; } else { - $this->exeName = cubeText::str2URL(mb_substr($this->book->parametres->offlineTitle, 0, $this->exenameMaxlength)); + $this->exeName = trim(cubeText::str2URL(mb_substr($this->book->parametres->offlineTitle, 0, $this->exenameMaxlength)), '-'); $this->appName = $this->book->parametres->offlineTitle; }