Skip to content

Can you change the way it runs on macOS? #1145

@rigroch

Description

@rigroch

In summary, use Channel like iOS.

Please use beginSheetModal instead of runModal. (runModal works the same as the way uses osascript you were written.)

guard let keywindow = NSApplication.shared.keyWindow else {
    result(nil)
    return
}

NSOpenPanel().beginSheetModal(for: keywindow) { response in
    
}

It appears more beautiful appearance, and to solve the issue.

Metadata

Metadata

Assignees

Labels

desktopThe issue applies to Windows, Linux or MacOS implementations.feature-candidateThis issue might result in a feature to be implementedsuggestionNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions