Fix archive wiki
This commit is contained in:
parent
6c2f536d63
commit
fafe44d97f
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ public class DownloadActivity extends BaseDownloadActivity {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
for(String w : wiki) {
|
for(String w : wiki) {
|
||||||
File fl = new File(w);
|
File fl = getMyApplication().getAppPath(w);
|
||||||
File nf = new File(fl.getParentFile(), IndexConstants.BACKUP_INDEX_DIR + "/"+fl.getName());
|
File nf = new File(fl.getParentFile(), IndexConstants.BACKUP_INDEX_DIR + "/"+fl.getName());
|
||||||
boolean res = fl.renameTo(nf);
|
boolean res = fl.renameTo(nf);
|
||||||
if(!res) {
|
if(!res) {
|
||||||
|
|
Loading…
Reference in a new issue