Quellcode durchsuchen

1.备份默认字符串

huangxiaodong vor 1 Jahr
Ursprung
Commit
2d779ec9be

+ 2 - 0
创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch

@@ -86,6 +86,8 @@ isBangsScreen; \
 //#define CloudService   @"http://hiboxde.armclouding.com:7780"
 
 
+#define DefaultBackupsPath @"sdcard/Download"
+
 #define AESCODEKEEYY @"fvO8gAfNSr1tbdQe"
 
 

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/fileTransfeSet/backupsSetViewController.m

@@ -144,7 +144,7 @@
     NSString * backupsDefaultPath = [HWDataManager getStringWithKey:Const_photo_backups_default_path];
     
     if(!backupsDefaultPath || backupsDefaultPath.length == 0){
-        backupsDefaultPath = @"sdcard/Download";
+        backupsDefaultPath = DefaultBackupsPath;
         [HWDataManager setStringWithKey:Const_photo_backups_default_path value:backupsDefaultPath];
     }
     

+ 1 - 1
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+backupsFile.m

@@ -53,7 +53,7 @@
     NSString * backupsDefaultPath = [HWDataManager getStringWithKey:Const_photo_backups_default_path];
     
     if(!backupsDefaultPath || backupsDefaultPath.length == 0){
-        backupsDefaultPath = @"sdcard/Download";
+        backupsDefaultPath = DefaultBackupsPath;
         [HWDataManager setStringWithKey:Const_photo_backups_default_path value:backupsDefaultPath];
     }