You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be interesting to have the ability to specify in fields "file" and "directory" a defaultPath to open the dialog window in it.
(this option exist on electron side in showOpenDialog but i've got no idea how to ?)
The text was updated successfully, but these errors were encountered:
hi @dewiweb
Passing a defaultPath is indeed possible within electron. It's a property in the options parameter that you pass to the showOpenDialog.
IMO you should need a defaultPath, in the case when there is no default preference value set for that preference, and the user hasn't selected one yet.
In all other cases, I guess the defaultPath should be ignored, and the current value (the one set by the either the default preferences or by the user) should be used.
Would this implementation be in line with what you've had in mind?
It could be interesting to have the ability to specify in fields "file" and "directory" a defaultPath to open the dialog window in it.
(this option exist on electron side in showOpenDialog but i've got no idea how to ?)
The text was updated successfully, but these errors were encountered: