From: vincent@cubedesigners.com Date: Fri, 16 Dec 2022 17:00:22 +0000 (+0000) Subject: wait #5599 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=70affe1301f1a41ca6b53a22865cd832abe02a43;p=cubeextranet.git wait #5599 --- diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index 9d9aaa802..7ac96858a 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -66,7 +66,7 @@ class wsExporter $phonegap->setAppName($appNames); $phonegap->setWWWDirectory($dir); if ($os == 'ios') { - $phonegap->setDistantCompiler(self::VINCENT, 'vincent', 'atacama', '/Users/vincent/Phonegap/Projects/' . $d, '/mnt/macbox/Phonegap/Projects/' . $d, 22022, SSH_KEY); + $phonegap->setDistantCompiler(self::VINCENT, 'vincent', 'atacama', '/Users/vincent/Phonegap/Projects/' . $d, '/mnt/sshfs/macparis/Users/vincent/Phonegap/Projects/' . $d, 22022, SSH_KEY); } else if ($os == 'android') { $manifestType = isset($collection->settings['offline']) ? 'Offline' : 'Online'; if (!$phonegap->getExpansion()) { @@ -233,7 +233,7 @@ class wsExporter // Transfert - $this->_rsync(WS_COLLECTIONS . '/resources/' . $collection->collection_id . '/' . $os, "/mnt/macbox" . $this->_iosProjectDir($collection->settings['namespace']) . '/' . CubeIT_Text::str2URL($collection->nom) . '/Resources', false); + $this->_rsync(WS_COLLECTIONS . '/resources/' . $collection->collection_id . '/' . $os, "/mnt/sshfs/macparis/Users" . $this->_iosProjectDir($collection->settings['namespace']) . '/' . CubeIT_Text::str2URL($collection->nom) . '/Resources', false); } protected function _testFile($ref, $dest) @@ -251,7 +251,7 @@ class wsExporter { if ($os == 'ios') { $dir = $this->_iosProjectDir($ns); - $sdir = '/mnt/macbox' . $dir; + $sdir = '/mnt/sshfs/macparis/Users/vincent' . $dir; if (!file_exists($sdir)) { `sudo /usr/local/bin/remountmac`; mkdir($sdir, 0777, true); @@ -420,8 +420,7 @@ class wsExporter `sudo /usr/local/bin/remountvincent`; $this->_rsync($package, '/mnt/vincent/cygdrive/h/Works/Phonegap/Projects/' . $destination, true); } else if ($os == 'ios') { - `sudo /usr/local/bin/remountmac`; - $this->_rsync($package, '/mnt/macbox/Phonegap/Projects/' . $destination, true); + $this->_rsync($package, '/mnt/sshfs/macparis/Users/vincent/Phonegap/Projects/' . $destination, true); } }