support Unity 2017.1.0

fixed show "bundle file" original file
This commit is contained in:
Perfare
2017-07-15 15:27:09 +08:00
parent 9687f823fb
commit 14ec7c8259
5 changed files with 20 additions and 7 deletions

View File

@ -1861,7 +1861,7 @@ namespace Unity_Studio
private void showOriginalFileToolStripMenuItem_Click(object sender, EventArgs e)
{
var args = $"/select, {selectasset.sourceFile.filePath}";
var args = $"/select, {selectasset.sourceFile.bundlePath ?? selectasset.sourceFile.filePath}";
var pfi = new ProcessStartInfo("explorer.exe", args);
Process.Start(pfi);
}