So I'm on Mac and for some reason when I want to access the "Steam" file in Application Support it returns false (it doesn't exist)

As you can see here, when I want to find the Steam file:

It returns false

But then if I want to search just for Application Support:

It returns true, meaning the steam file is the problem

Also, what the strange and bizarre thing is, is that...

Steam is right here in my Application Support folder...

If anybody knows what's wrong here, please don't hesitate. Any help is appreciated and I am more than willing to respond to questions and send photos if needed! Thank you!

+Also, adding "~" at the start of the string did NOT work!

  • Toxe replied to this.
  • Cakestax You should probably build the path on your own by calling OS.get_environment("HOME") and then add the rest of the path.

    Cakestax Are you looking for the system /Library folder or your $HOME/Library folder?

      To confirm /Library/Application Support does not contain a Steam folder on my system. However, $HOME/Library/Application Support does have the Steam folder. I suspect godot is correct; unless Steam is installed for all users, it won't exist in /Library.

        Toxe
        System library folder I think but this still returns false

        • Toxe replied to this.

          Cakestax Are you certain that it even does environment variable expansion? After all, this isn't a shell command.

            Toxe What do you mean? I'm confused, what's an environment variable expansion?

            • Toxe replied to this.

              Cakestax what's an environment variable expansion?

              It's when a shell expands for example $HOME into /home/foo. $HOME is an environment variable.

              Cakestax You should probably build the path on your own by calling OS.get_environment("HOME") and then add the rest of the path.

                Toxe Ok so,
                This returns true

                But then this returns false when I add "/Library"

                Toxe Wait hang on, this works!

                I'm guessing this is what you wanted me to do cause it works

                • Toxe replied to this.