public static function azureTTSVoices()
{
$api = new \Cubist\Azure\TTS\Api('28fdfcdcc7f141b29cd9db4afc5779c5');
- print_r($api->listVoices());
+ print_r($api->listVoices(true));
}
$phonegap->addLibrary(array('from' => WS_COMPILE_ASSETS . '/_html5app/_android/fluidbook-dependencies', 'to' => '/fluidbook-dependencies'));
$phonegap->addLibrary(array('from' => WS_COMPILE_ASSETS . '/_html5app/_android/res', 'to' => '/app/src/main/res'));
- $phonegap->setDistantCompiler(self::VINCENT, 'Vincent', 's77vpo*wu5', 'h:/Phonegap/Projects/' . $d, '/mnt/vincent/cygdrive/h/Phonegap/Projects/' . $d, 22322, SSH_KEY);
+ $phonegap->setDistantCompiler(self::VINCENT, 'vince', 'Y@mUC9mY2DOYWXkN', 'h:/Phonegap/Projects/' . $d, '/mnt/vincent/cygdrive/h/Phonegap/Projects/' . $d, 22322, SSH_KEY);
$phonegap->setSourceVariables(array('background' => '0xff' . $collection->settings['couleurD'],
'orientation' => $collection->settings['orientation'])
);
$cl->debug();\r
\r
$this->replaceFFMpeg();\r
+\r
+ $this->signExe();\r
+ }\r
+\r
+ function signExe()\r
+ {\r
+ $exe = $this->buildPath . '/' . $this->exeName . '/windows-x64/' . $this->exeName . '.exe';\r
+ $this->_sign($exe);\r
+ }\r
+\r
+ function _sign($exe)\r
+ {\r
+ $rand = 'sign-' . rand(1000000, 9999999) . '.exe';\r
+ copy($exe, '/mnt/sshfs/vincent/D:/Sign/' . $rand);\r
+ $cli = new CubeIT_CommandLine('C:/ProgramData/chocolatey/bin/psexec');\r
+ $cli->setArg('i', 1);\r
+ $cli->setArg('u', 'vince');\r
+ $cli->setArg('p', 'Y@mUC9mY2DOYWXkN');\r
+ $cli->setArg(null, "D:/Works/Scripts/codesign/sign.exe $rand");\r
+ $cli->setSSH('paris.cubedesigners.com', 'vince', 'Y@mUC9mY2DOYWXkN', '22322');\r
+ $cli->execute();\r
+ $cli->debug();\r
+ sleep(5);\r
+ copy('/mnt/sshfs/vincent/D:/Sign/' . $rand, $exe);\r
}\r
\r
function replaceFFMpeg()\r
$makensis->execute();\r
$makensis->debug();\r
\r
+ $this->signInstaller();\r
+\r
return $this->getURLBase('exe');\r
}\r
\r
+ public function signInstaller()\r
+ {\r
+ $this->_sign($this->getPathBase('exe'));\r
+ }\r
+\r
public function __destruct()\r
{\r
\r