Need help with adding a project to UnityHub

The problem:
I have to work on a project, where the source folder has a .app extension. On the Windows machine, this is okay, however, Mac users have a problem with that, as MacOs treat it as an application. The UnityHub sees this folder as an application (just file) that can not be added.
This folder is under the source control, and they refusing my requests to rename it.
Someone tells me that I can rename this extension, then add it to the UnityHub, then rename it back. And then edit the UnityHub preferences, to rename the folder to the real one.
But I can’t find the preferences file.
Please help.

~/Library/Preferences
I’m mainly a Windows and Linux user, not Macos. But I do own a Macos High Sierra and have a Monterey Virtual machine.

I must say that, with great Unity Muse’s help, i’ve solved my problem.