Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Program auto closes #69

Open
ILLUSlONAL opened this issue Apr 21, 2023 · 10 comments
Open

Program auto closes #69

ILLUSlONAL opened this issue Apr 21, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@ILLUSlONAL
Copy link

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 ILLUSlONAL added the bug Something isn't working label Apr 21, 2023
@karimawi
Copy link
Owner

karimawi commented Apr 22, 2023

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
Copy link
Owner

Also why is the issue number #69?? 😂

@ILLUSlONAL
Copy link
Author

It opened now but now i got an error
Screenshot_1

@karimawi
Copy link
Owner

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
Copy link
Author

i installed autohotkey and still getting the same error

@karimawi
Copy link
Owner

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

@ILLUSlONAL
Copy link
Author

no, it looks like this
image

@karimawi
Copy link
Owner

Open the v2 folder, is it there?

@ILLUSlONAL
Copy link
Author

image

@karimawi
Copy link
Owner

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

karimawi added a commit that referenced this issue Apr 25, 2023
Very quick fix for AppOpener 1.6 bug mentioned in #69
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants