Guava icon indicating copy to clipboard operation
Guava copied to clipboard

Program auto closes

Open ILLUSlONAL opened this issue 3 years ago • 10 comments

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

ILLUSlONAL avatar Apr 21 '23 20:04 ILLUSlONAL

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 avatar Apr 22 '23 15:04 karimawi

Also why is the issue number #69?? 😂

karimawi avatar Apr 22 '23 15:04 karimawi

It opened now but now i got an error Screenshot_1

ILLUSlONAL avatar Apr 22 '23 16:04 ILLUSlONAL

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

karimawi avatar Apr 22 '23 17:04 karimawi

i installed autohotkey and still getting the same error

ILLUSlONAL avatar Apr 22 '23 18:04 ILLUSlONAL

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

karimawi avatar Apr 22 '23 18:04 karimawi

no, it looks like this image

ILLUSlONAL avatar Apr 22 '23 18:04 ILLUSlONAL

Open the v2 folder, is it there?

karimawi avatar Apr 23 '23 05:04 karimawi

image

ILLUSlONAL avatar Apr 23 '23 10:04 ILLUSlONAL

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

karimawi avatar Apr 25 '23 09:04 karimawi