Currently, when choosing "Open Plugin Location" on Linux, the system calls the web-browser and instead opens the directory in the web-browser instead of the file explorer. This is sub-optimal. Instead of calling the web-browser, this PR instructs the OS to open the file or folder indicated natively.
This is done by leveraging the help_open_log_folder() function (renamed to open_folder()), and generalizing the file. The existing help_open_log_folder() is deprecated and slated for removal in 6.0.
Type of Change
Enhancement
How Tested
Tested in available Windows and Linux builds to ensure that the file does not open in a webbrowser.
Description
Currently, when choosing "Open Plugin Location" on Linux, the system calls the web-browser and instead opens the directory in the web-browser instead of the file explorer. This is sub-optimal. Instead of calling the web-browser, this PR instructs the OS to open the file or folder indicated natively.
This is done by leveraging the
help_open_log_folder()
function (renamed toopen_folder()
), and generalizing the file. The existinghelp_open_log_folder()
is deprecated and slated for removal in 6.0.Type of Change
How Tested
Notes
Resolves #830