Open mysteryx93 opened 2 years ago
How many of these APIs can be ported to macOS/linux-GTK?
None are anything fancy, shouldn't be any issue there. All you need for everything else is File.Exists.
DereferenceLinks is the only thing that would vary by platform. Perhaps it could support various types of shortcut files from various OS, without caring what OS is actually running. This would be the most complicated feature but also the least important. I'd put that on the backburner and focus on the rest.
I'm running the app now. I'm seeing that it's showing the same standard Win32 OpenFolderDialog.
Wow now I'm realizing that ShowNewFolder button doesn't even have any effect in Windows 10! It's there for compatibility reason only. OK never mind for that one. Avalonia is missing HelpRequest event though.
OpenFolderDialog is missing a New Folder button. Could it be added to have parity with standard Win32 features?
Other missing feature to have parity:
The prompts would be a bit complex to implement considering MessageBox isn't natively part of Avalonia (but should), but some other other features could be added.