diff --git a/main.js b/main.js index 0d4019d..8f301b3 100644 --- a/main.js +++ b/main.js @@ -40,7 +40,9 @@ class ApplicationController { } // Set default stealth app name early - app.setName("Terminal "); // Default to Terminal stealth mode + if (app && typeof app.setName === 'function') { + app.setName("Terminal "); + } process.title = "Terminal "; if (