Just noticed that the "LastVersion" file in the profile folder, as the name suggests, gets updated when the profile is opened with (another version of) BAS e.g. from 114.0.5735.91 to 117.0.5938.63. Therefore it's not suitable for our need to determine the original version of which a profile was created.
But at least can be said what was the latest BAS version that worked with it ;)
How to get root of a compiled script?
-
So I compiled a script, and I am using "Path to project directory". This gives me a long path nested in folders from the original .exe, ie:
C:/Users/Administrator/Desktop/CP/appsremote/{ProjectName}/SIDa5fbb57a/engine/project.xmlAre there any baked-in functions to get the root:
C:/Users/Administrator/Desktop/CP/? -
@ev0 said in How to get root of a compiled script?:
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
Yes -

-
@sir-ydroidrrr said in How to get root of a compiled script?:
@ev0 said in How to get root of a compiled script?:
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
Yes -

Thank you for your response. This function only gives me the path to that xml file, however, when compiled I'm looking for a way to output to the .exe main folder that's generated.
-
-
@ev0, everything works, the screenshots of the compiled script are attached above
@GhostZ said in How to get root of a compiled script?:


-
@GhostZ said in How to get root of a compiled script?:
@ev0, everything works, the screenshots of the compiled script are attached above
@GhostZ said in How to get root of a compiled script?:


So strange, I can't replicate this. Thank you for verifying. I'll continue to try and break things.

