mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix Open Mod Folder and Edit Json.
This commit is contained in:
parent
3cd9655263
commit
69cb329b8f
1 changed files with 2 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ namespace Penumbra.UI
|
||||||
Mod!.Data.BasePath.Refresh();
|
Mod!.Data.BasePath.Refresh();
|
||||||
if( ImGui.Button( ButtonOpenModFolder ) && Mod.Data.BasePath.Exists )
|
if( ImGui.Button( ButtonOpenModFolder ) && Mod.Data.BasePath.Exists )
|
||||||
{
|
{
|
||||||
Process.Start( Mod!.Data.BasePath.FullName );
|
Process.Start( new ProcessStartInfo( Mod!.Data.BasePath.FullName ) { UseShellExecute = true } );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ImGui.IsItemHovered() )
|
if( ImGui.IsItemHovered() )
|
||||||
|
|
@ -412,7 +412,7 @@ namespace Penumbra.UI
|
||||||
if( ImGui.Button( ButtonEditJson ) )
|
if( ImGui.Button( ButtonEditJson ) )
|
||||||
{
|
{
|
||||||
_selector.SaveCurrentMod();
|
_selector.SaveCurrentMod();
|
||||||
Process.Start( Mod!.Data.MetaFile.FullName );
|
Process.Start( new ProcessStartInfo( Mod!.Data.MetaFile.FullName ) { UseShellExecute = true } );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ImGui.IsItemHovered() )
|
if( ImGui.IsItemHovered() )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue