I’m editing another persons code and I ran into something odd.
I can’t find any documentation on Path.ApplicationPath()
can someone help me out?
For what I can see its suppose to add a folder with the name of the productName
It doesn’t do that though. In fact i to doesn’t do anything.
It just returns the gamePathLocation string.
launcher = new DarkPatcher.Launcher.Launcher(webPath, Path.ApplicationPath(gamePathLocation, productName));
oh hmm.
My c sharp is a little on the noob side still lol.
I figured out i can use System.IO.Path.Combine(ApplicationPath, productName)
To combine it. So its all good I guess. Rather use that anyways then a 3rd party function.
Also ya i just noticed when I hover over Path it tells me its from his code and where its located. My bad lol.
Thanks Eric