mirror of https://github.com/hykilpikonna/AquaDX
[F] May fix sometime custom command not triggered
parent
21309cddf0
commit
13fc51a8a5
|
@ -28,6 +28,16 @@ namespace AquaMai.UX
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch(typeof(MusicSelectProcess), "OnStart")]
|
||||||
|
public static void MusicSelectProcessPreStart()
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrWhiteSpace(AquaMai.AppConfig.UX.ExecOnEntry))
|
||||||
|
{
|
||||||
|
Exec(AquaMai.AppConfig.UX.ExecOnEntry);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static void Exec(string command)
|
private static void Exec(string command)
|
||||||
{
|
{
|
||||||
var process = new System.Diagnostics.Process();
|
var process = new System.Diagnostics.Process();
|
||||||
|
|
Loading…
Reference in New Issue