From dba49f035b5dd0259c3fc3fa2da4aadd3bb9985b Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Thu, 23 Jan 2025 19:55:32 -0500 Subject: updated readme --- src/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/index.tsx b/src/index.tsx index 6992b23..b20bf59 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -174,7 +174,9 @@ function MainRunningApp() { }; useEffect(() => { - checkLaunchOptions(); + if (mainRunningApp) { + checkLaunchOptions(); + } }, [mainRunningApp]); const handleSetLaunchOptions = async () => { @@ -204,7 +206,7 @@ function MainRunningApp() {
{mainRunningApp ? ( <> - {isPatched ? `Ready to: ${mainRunningApp.display_name}` : `Patch: ${mainRunningApp.display_name}`} + {isPatched ? `UnPatch: ${mainRunningApp.display_name}` : `Patch: ${mainRunningApp.display_name}`} {isPatched ? `UnPatch: ${mainRunningApp.display_name}` : `Patch: ${mainRunningApp.display_name}`} -- cgit v1.2.3