File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
harmony/pushy/src/main/ets Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -431,9 +431,7 @@ export class DownloadTask {
431431 for ( const [ from , targets ] of copyList . entries ( ) ) {
432432 currentFrom = from ;
433433 if ( from . startsWith ( 'resources/base/media/' ) ) {
434- const mediaName = from
435- . replace ( 'resources/base/media/' , '' )
436- . split ( '.' ) [ 0 ] ;
434+ const mediaName = from . replace ( 'resources/base/media/' , '' ) ;
437435 const mediaBuffer = await resourceManager . getMediaByName ( mediaName ) ;
438436 for ( const target of targets ) {
439437 const fileStream = fileIo . createStreamSync ( target , 'w+' ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-update" ,
3- "version" : " 10.37.8 " ,
3+ "version" : " 10.37.9 " ,
44 "description" : " react-native hot update" ,
55 "main" : " src/index" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments