Jump to content

Script folder


Recommended Posts

Posted (edited)

Yeah biggrin.png. But i want to get this folder. And idk if every system has the same location.

 

I made a getFolder method which will search for the OSBot folder and then return the path. I believe that using System.getProperty("user.home") + "/OSBot" will also work in most cases as the path. I had a bit of strange behavior running that on linux, so I just went with my method of folder crawling until I find the appropriate one. This works cross platform.

Edited by Mysteryy

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...