File tree 1 file changed +2
-4
lines changed
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
30
30
31
31
temp . track ( ) ;
32
32
const tempZip = temp . path ( { prefix : "sync" , suffix : ".zip" } ) ;
33
- const tempApp = temp . mkdirSync ( "app" ) ;
34
33
this . $logger . trace ( "Creating zip file: " + tempZip ) ;
35
- this . $fs . copyFile ( path . join ( path . dirname ( projectFilesPath ) , `${ APP_FOLDER_NAME } /*` ) , tempApp ) ;
36
34
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 ) ) ;
39
37
} ) ;
40
38
41
39
await device . fileSystem . transferFiles ( deviceAppData , [ {
You can’t perform that action at this time.
0 commit comments