Jump to content

Script folder


Soldtodie

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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