mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-08-30 00:24:16 -04:00
Fixed #734
This commit is contained in:
@ -399,7 +399,14 @@ namespace AssetStudioGUI
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2: //source file
|
case 2: //source file
|
||||||
exportPath = Path.Combine(savePath, asset.SourceFile.fullName + "_export");
|
if (string.IsNullOrEmpty(asset.SourceFile.originalPath))
|
||||||
|
{
|
||||||
|
exportPath = Path.Combine(savePath, asset.SourceFile.fileName + "_export");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exportPath = Path.Combine(savePath, Path.GetFileName(asset.SourceFile.originalPath) + "_export", asset.SourceFile.fileName);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
exportPath = savePath;
|
exportPath = savePath;
|
||||||
|
Reference in New Issue
Block a user