karimawi / Guava

Guava is an account manager & switcher made for League of Legends, it has modern, easy to use GUI, and can save you a lot of time switching between accounts.
Apache License 2.0
30 stars 2 forks source link

Program auto closes #69

Open ILLUSlONAL opened 1 year ago

ILLUSlONAL commented 1 year ago

Its auto closing when i try to open it. It shows a CMD window for a second or less and then nothing happens. I am on windows 10

karimawi commented 1 year ago

It's just me being so dumb, go to your installation folder, if you didn't change it should be at %localappdata%/programs/guava (use Win + R then paste %localappdata%/programs then open the guava folder), you'll find a .json file called settings.json, open it with any code editor and change "running" to false, this is just a really really dumb way of trying to make the executable single instance, because it's not crash proof, also using Alt +F4 doesn't change the value of "running".

I really spaghettied my way through this, I just wanted to practice Tkinter for college, I'm going to be rewriting most of the logic to be more object oriented and all of those bugs will be dealt with, will compile the app properly to run consistently without dependency issues or crashes, along with a bunch of new cool features.

Lmk how this goes, sorry for the inconvenience.

karimawi commented 1 year ago

Also why is the issue number #69?? 😂

ILLUSlONAL commented 1 year ago

It opened now but now i got an error Screenshot_1

karimawi commented 1 year ago

Yeah just install AutoHotKey, I already wrote the code for network-based login, I'll just wait to release it with the full rewrite.

ILLUSlONAL commented 1 year ago

i installed autohotkey and still getting the same error

karimawi commented 1 year ago

When you go to AHK installation folder (by default C:\Program Files\AutoHotkey) do you see AutoHotkey.exe?

ILLUSlONAL commented 1 year ago

no, it looks like this image

karimawi commented 1 year ago

Open the v2 folder, is it there?

ILLUSlONAL commented 1 year ago

image

karimawi commented 1 year ago

Can you copy those two to the folder where guava is exe, make sure its within the same folder as guava.exe image