File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,10 @@ export class IOSLiveSyncService extends PlatformLiveSyncServiceBase implements I
3030
3131 temp . track ( ) ;
3232 const tempZip = temp . path ( { prefix : "sync" , suffix : ".zip" } ) ;
33- const tempApp = temp . mkdirSync ( "app" ) ;
3433 this . $logger . trace ( "Creating zip file: " + tempZip ) ;
35- this . $fs . copyFile ( path . join ( path . dirname ( projectFilesPath ) , `${ APP_FOLDER_NAME } /*` ) , tempApp ) ;
3634
37- await this . $fs . zipFiles ( tempZip , this . $fs . enumerateFilesInDirectorySync ( tempApp ) , ( res ) => {
38- return path . join ( APP_FOLDER_NAME , path . relative ( tempApp , res ) ) ;
35+ await this . $fs . zipFiles ( tempZip , this . $fs . enumerateFilesInDirectorySync ( projectFilesPath ) , ( res ) => {
36+ return path . join ( APP_FOLDER_NAME , path . relative ( projectFilesPath , res ) ) ;
3937 } ) ;
4038
4139 await device . fileSystem . transferFiles ( deviceAppData , [ {
You can’t perform that action at this time.
0 commit comments