-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #2333. Handle export in Mac App #2334
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not real sure what I'm looking at, but LGTM. :)
@chenilim - there is a build failure. |
Thanks, the build failure is because the workflows are running an old Xcode version (12.4). I'll submit a PR to update the workflow to use the latest (macOS 11 and Xcode 13.2.1). |
@chenilim are you sure you want to delete existing file on collision versus append a number to make unique? |
@wiggin77 in the file picker, on clicking Save, a warning message is shown prompting the user to replace the file: The delete code executes after the user chooses to replace, and I believe this matches the user intent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not an expert in Swift but it looks good. 👍
PR to update workflow macOS and Xcode version is #2338. I'll merge this in after that is merged. |
Summary
Implement the new (for Big Sur) WKDownloadDelegate to handle downloads. Note that this bumps the macOS requirement to 11.3 (up from 10.14).
Ticket Link
#2333