Git Product home page Git Product logo

Comments (6)

julianschiavo avatar julianschiavo commented on May 24, 2024 3

@jagrosh Would really appreciate a lounge unban now. It's been a while and I will almost do ONLY seflbot talking if you unban.

from selfbot.

max-kamps avatar max-kamps commented on May 24, 2024 1

The file you posted had the following issues:

  • Windows line endings
  • Incorrect JAR name (JSelfBot instead of JSelfbot)
  • Command files run in the home directory, not the one the file is located in

Here's a fixed version:

#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
DIR="$( dirname "$SOURCE" )"
while [ -h "$SOURCE" ]
do
  SOURCE="$(readlink "$SOURCE")"
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
  DIR="$( cd -P "$( dirname "$SOURCE"  )" && pwd )"
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

cd "$DIR"
java -jar JSelfbot.jar

from selfbot.

jagrosh avatar jagrosh commented on May 24, 2024 1

Thanks @Hemerythrin! If you or someone can confirm that this runs correctly (it's just your code put in a run.command file; hopefully NP++'s line endings works correctly), I'll put it in the releases
run.zip

from selfbot.

jagrosh avatar jagrosh commented on May 24, 2024

I think this may be a bit more than is needed. Can you (or anyone else with a Mac) test to see if this would be sufficient?
run.zip

from selfbot.

max-kamps avatar max-kamps commented on May 24, 2024

Yep, works! 👌

from selfbot.

jagrosh avatar jagrosh commented on May 24, 2024

Wonderful! It is now on the releases page and referenced in the README. Thanks!

from selfbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.