kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
535 stars 63 forks source link

How to specify the initial directory where the program starts? #180

Closed Dmayset closed 1 year ago

Dmayset commented 1 year ago

The directory opened every time the program starts is the default picture directory, how can I specify the default directory for the program to start?

kanryu commented 1 year ago

First of all, thank you for your interest in QuickViewer. In conclusion, QuickViewer does not provide an input field to change the path of the initial folder in the left folder display (folder view), but it can be changed by editing quickviewer.ini.

I want you to search with the keyword HomeFolderPath and rewrite the path on the right side. For Windows, you need to write two backslashes (\) each.

If you're interested in programming, see where it's handled.

Specifically this line.

https://github.com/kanryu/quickviewer/blob/master/QuickViewer/src/mainwindow.cpp#L708

Please post a pull request if you find a program fix that solves your problem.

Dmayset commented 1 year ago

thanks