rm Fluidbook.app.zip\r
"C:\Program Files\7-Zip\7z.exe" a -tzip Fluidbook.app.zip Fluidbook.app\r
-"H:\Applications\PuTTYPortable\App\putty\pscp.exe" "Fluidbook.exe" extranet@extranet.cubedesigners.com:/home/extranet/www/fluidbook/compile/\r
-"H:\Applications\PuTTYPortable\App\putty\pscp.exe" "Fluidbook.app.zip" extranet@extranet.cubedesigners.com:/home/extranet/www/fluidbook/compile/
\ No newline at end of file
+"H:\Applications\PortableApps\PuTTYPortable\App\putty\pscp.exe" "Fluidbook.exe" extranet@extranet.cubedesigners.com:/home/extranet/www/fluidbook/compile/\r
+"H:\Applications\PortableApps\PuTTYPortable\App\putty\pscp.exe" "Fluidbook.app.zip" extranet@extranet.cubedesigners.com:/home/extranet/www/fluidbook/compile/
\ No newline at end of file
)
);
- $full = isset($_GET['ctrl']) && $_GET['ctrl'] == 'true';
- $phonegap->run($full);
+ $ctrl = isset($_GET['ctrl']) && $_GET['ctrl'] == 'true';
+ $alt = isset($_GET['alt']) && $_GET['alt'] == 'true';
+
+ $run = CubeIT_Mobile_Phonegap::RUN_SYNC;
+ if ($ctrl) {
+ $run = CubeIT_Mobile_Phonegap::RUN_RUN;
+ if ($alt) {
+ $run = CubeIT_Mobile_Phonegap::RUN_CREATE;
+ }
+ }
+
+ $phonegap->run($run);
/* $this->_createProject($os, $collection->nom, $collection->settings['namespace']);
$this->_collectionAssets($os, $compiler);
$this->config->phonegap = $this->phonegap;
$this->config->retinaResolution = $this->maxRes;
if ($this->home) {
- $this->config->home = '%apphome%';
+ $this->config->home = 'http://home';
}
$this->config->multiApp = $this->multiApp;
foreach ($this->additionalConfig as $k => $v) {