boofiboi / FiveM-Discord-Presence

FiveM resource to get your server a nice customized Discord rich presence.
GNU General Public License v2.0
12 stars 6 forks source link

Possible fix for framework autodetection? #4

Closed boofiboi closed 2 months ago

boofiboi commented 2 months ago

My hunch is just the bottom 2 functions in client.lua are enough to autodetect a framework.

However, this might break standalone users.

So theres 2 options:

  1. I implement this way of framework checking, in the process breaking some people who are crazy enough to run this on vRP/Standalone.
  2. I keep the way it is now and not bother.
boofiboi commented 2 months ago

I'd love for someone to test this by deleting Config.Framework from config.lua.

boofiboi commented 2 months ago

It does indeed work, this'll be pushed tommorow. I'm too lazy to push the fix rn.