Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
65b18b1b
Commit
65b18b1b
authored
Jun 02, 2013
by
Gleb Pinigin
Browse files
bugfix: correctly exclude files from iCloud backup
parent
2d70171f
Changes
1
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAppDelegate.m
View file @
65b18b1b
...
...
@@ -221,7 +221,7 @@
[
filePaths
addObject
:[
directoryPath
stringByAppendingPathComponent
:
fileName
]];
/* exclude media files from backup (QA1719) */
fileURL
=
[
NSURL
URLWith
String
:[
NSString
stringWithFormat
:
@"file://%@/%@"
,
directoryPath
,
fileName
]];
fileURL
=
[
NSURL
file
URLWith
Path
:[
directoryPath
stringByAppendingPathComponent
:
fileName
]];
[
fileURL
setResourceValue
:
@YES
forKey
:
NSURLIsExcludedFromBackupKey
error
:
nil
];
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment