Closed latenitefilms closed 1 year ago
@AdrianEddy said we should use this set_directory
method.
There's also this existing method for getting the exeLocation
:
pub fn open_gyroflow(&self) {
if let Some(v) = gyroflow_core::util::get_setting("exeLocation") {
Done in e498d34db83a82a818a214a832e6d6f920366055
Currently on macOS when you press the Load preset/lens profile button, it just defaults to the user's Desktop in the file open dialog. It would be better if it defaulted to
/Applications/Gyroflow.app/Contents/Resources/camera_presets
(assuming Gyroflow is installed).Untested, and missing some logic, but maybe something along the lines of:
However, we should also check that Gyroflow is actually installed. Maybe something along the lines of...
Combining the two:
We'd also need to do the equivalent for Windows and Linux.