Skip to content

Commit 4939d55

Browse files
committed
sqliteに対応
1 parent 2f7721f commit 4939d55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

TreeViewGenerator/MainWindow+DbTreeView.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,18 @@ public ArrayList _dirPathAnalyze(string fileFolderPath)
1313

1414
ArrayList filesArray = new ArrayList();
1515

16-
if (clsFile._isFile(fileFolderPath) && (fileFolderPath._indexOf(".db3") != -1 || fileFolderPath._indexOf(".db") != -1))
16+
if (clsFile._isFile(fileFolderPath) && (fileFolderPath._indexOf(".db") != -1 || fileFolderPath._indexOf(".sqlite") != -1))
1717
{
1818
filesArray.Add(fileFolderPath);
1919

2020
}else if (clsFolder._isFolder(fileFolderPath))
2121
{
2222
ArrayList filesArray1 = clsFile._getFileList(fileFolderPath, ".db", null, isAllDir: true);
2323
ArrayList filesArray2 = clsFile._getFileList(fileFolderPath, ".db3", null, isAllDir: true);
24+
ArrayList filesArray3 = clsFile._getFileList(fileFolderPath, ".sqlite", null, isAllDir: true);
2425
filesArray.AddRange(filesArray1);
25-
filesArray.AddRange(filesArray2);
26+
filesArray.AddRange(filesArray2);
27+
filesArray.AddRange(filesArray3);
2628
}
2729

2830
if (filesArray.Count == 0)

0 commit comments

Comments
 (0)