This adds nullable property initialDirectory of type String to FileDialog, making it possible to set the default directory for file pickers.
This also updates the wallpaper example to have its file picker open the "Pictures" folder by default.
I would like to point out that I have no experience writing native code, and while I tried my best to "imitate" the existing code, adjustments might need to be made.
This adds nullable property
initialDirectory
of typeString
toFileDialog
, making it possible to set the default directory for file pickers.This also updates the
wallpaper
example to have its file picker open the "Pictures" folder by default.I would like to point out that I have no experience writing native code, and while I tried my best to "imitate" the existing code, adjustments might need to be made.
Closes #3