mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-14 05:12:11 +08:00
fixed the bug where '.' was truncated in the folder project name under the associated folder.
This commit is contained in:
parent
ca43708a22
commit
ee94f20392
@ -728,7 +728,8 @@ async function getDirectoryItemList(
|
||||
}
|
||||
if (!item) {
|
||||
item = newItem({ classificationId, type });
|
||||
item.name = deleteExtname(getFileName(path));
|
||||
item.name =
|
||||
type === 0 ? deleteExtname(getFileName(path)) : getFileName(path);
|
||||
item.data.target = path;
|
||||
item.data.icon = getFileIcon(path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user