Fix archive wiki
This commit is contained in:
parent
2957968fcc
commit
ad7c8b35b5
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