craftablescience / VPKEdit

A CLI/GUI tool to create, read, and write several pack file formats.
https://developer.valvesoftware.com/wiki/VPKEdit
MIT License
251 stars 19 forks source link

Default Qt project file is used #138

Closed Tiagoquix closed 6 months ago

Tiagoquix commented 6 months ago

Describe the Bug

I noticed that the program seems to use a default Qt project file (~/.config/QtProject.conf).

I would suggest moving the file to its own folder (~/.config/VPKEdit/QtProject.conf) to avoid conflicts with other programs.

Thanks in advance.

To Reproduce

Explained above.

Operating System

Fedora Linux 40 KDE

craftablescience commented 6 months ago

What conflicts could come up? I'm not sure what the utility of that config file is. You can override the location with an environment variable, XDG_CONFIG_HOME

Tiagoquix commented 6 months ago

As it seems to me, this is a standard file and could technically be used by other developers in their own projects.

I think it would be better to create a separate folder just to be on the safe side.

craftablescience commented 6 months ago

What does it actually do, store QSettings information? I don't really see why that has to be stored in a separate file, and don't even know how I would go about implementing this

Tiagoquix commented 6 months ago

It stores some information about the last use of VPKEdit.

image

craftablescience commented 6 months ago

I see zero reason to modify where this file is stored universally then. If you want to modify it for your install use the environment variable I mentioned