File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ export class IOSLiveSyncService extends PlatformLiveSyncServiceBase implements I
3232 const tempZip = temp . path ( { prefix : "sync" , suffix : ".zip" } ) ;
3333 this . $logger . trace ( "Creating zip file: " + tempZip ) ;
3434
35- await this . $fs . zipFiles ( tempZip , this . $fs . enumerateFilesInDirectorySync ( projectFilesPath ) , ( res ) => {
35+ const filesToTransfer = this . $fs . enumerateFilesInDirectorySync ( projectFilesPath ) ;
36+
37+ await this . $fs . zipFiles ( tempZip , filesToTransfer , ( res ) => {
3638 return path . join ( APP_FOLDER_NAME , path . relative ( projectFilesPath , res ) ) ;
3739 } ) ;
3840
@@ -43,6 +45,8 @@ export class IOSLiveSyncService extends PlatformLiveSyncServiceBase implements I
4345 deviceProjectRootPath : await deviceAppData . getDeviceProjectRootPath ( )
4446 } ] ) ;
4547
48+ await deviceAppData . device . applicationManager . setTransferredAppFiles ( filesToTransfer ) ;
49+
4650 return {
4751 deviceAppData,
4852 isFullSync : true ,
You can’t perform that action at this time.
0 commit comments