Skip to content

fix: Replace deprecated launchApplication with modern API#243

Open
bryanvrgsc wants to merge 1 commit intonewmarcel:mainfrom
bryanvrgsc:fix/deprecated-launch-application
Open

fix: Replace deprecated launchApplication with modern API#243
bryanvrgsc wants to merge 1 commit intonewmarcel:mainfrom
bryanvrgsc:fix/deprecated-launch-application

Conversation

@bryanvrgsc
Copy link

  • Use openApplicationAtURL:configuration:completionHandler: for macOS 11+
  • Keep backward compatibility with launchApplication for older systems
  • Suppress deprecation warning for legacy code path

This fixes the deprecation warning in KeepingYouAwake Launcher.

- Use openApplicationAtURL:configuration:completionHandler: for macOS 11+
- Keep backward compatibility with launchApplication for older systems
- Suppress deprecation warning for legacy code path

This fixes the deprecation warning in KeepingYouAwake Launcher.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant