mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-27 13:59:04 -04:00
release note for 1.8.1
This commit is contained in:
parent
08f5336c87
commit
16769fda55
10
AppStore/changelog.md
Normal file
10
AppStore/changelog.md
Normal file
@ -0,0 +1,10 @@
|
||||
# 1.8
|
||||
We have improved Kiwix for you:
|
||||
- The library has a new look.
|
||||
- You can now use ZIM files that have a built-in index.
|
||||
- Better performance.
|
||||
|
||||
# 1.8.1
|
||||
- Clear search history & browsing history
|
||||
- Now remember scroll position when go back / forward when browsing
|
||||
- Fix: zim files no longer got backed up to iCloud ot iTunes
|
@ -119,11 +119,17 @@ class ScanLocalBookOperation: Procedure {
|
||||
}
|
||||
|
||||
private func excludeDocDirFromBackup() {
|
||||
var docDirURL = (try? FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false))!
|
||||
guard FileManager.default.fileExists(atPath: docDirURL.path) else {return}
|
||||
var value = URLResourceValues()
|
||||
value.isExcludedFromBackup = true
|
||||
try? docDirURL.setResourceValues(value)
|
||||
let docDirURL = (try? FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false))!
|
||||
let contents = (try? FileManager.default.contentsOfDirectory(at: docDirURL, includingPropertiesForKeys: nil, options: .skipsSubdirectoryDescendants)) ?? [URL]()
|
||||
for var url in contents {
|
||||
var value = URLResourceValues()
|
||||
value.isExcludedFromBackup = true
|
||||
try? url.setResourceValues(value)
|
||||
}
|
||||
// guard FileManager.default.fileExists(atPath: docDirURL.path) else {return}
|
||||
// var value = URLResourceValues()
|
||||
// value.isExcludedFromBackup = true
|
||||
// try? docDirURL.setResourceValues(value)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
We have improved Kiwix for you:
|
||||
- The library has a new look.
|
||||
- You can now use ZIM files that have a built-in index.
|
||||
- Better performance.
|
Loading…
x
Reference in New Issue
Block a user