mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feat-75] fix paths of dropped zips are undefined
This commit is contained in:
@@ -110,7 +110,7 @@ export function MapsPlaylistsPanel({ version, isActive }: Props) {
|
||||
for (let i = 0; i < files.length; ++i) {
|
||||
const file = files[i];
|
||||
if (zipMimeTypes.includes(file.type)) {
|
||||
paths.push(file.path);
|
||||
paths.push(window.electron.webUtils.getPathForFile(file));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user