sarthakpranesh / CpuRoller

Simple CPU usage desktop application available on Windows, Mac OS and Linux, built with Wails (made under #100DaysOfCode challenge)
MIT License
23 stars 6 forks source link

Can't build #5

Open enterv0id opened 1 year ago

enterv0id commented 1 year ago

It doesn't seem to work with the latest Go and Wails v2. Is there any fix?

sarthakpranesh commented 1 year ago

Hey @enterv0id I haven't tried the project with latest Go and Walls v2. It may take some changes to get it to work. I'll try to find time and look into this, but it'll be great if you would like to help.

enterv0id commented 1 year ago

Hey, I tried rolling back Go to an earlier release and Wails to v1, but I still encountered issues. I can compile and run it in the dev/browser mode, and it works, but the compiled exe shows an empty window. Since I'm relatively new to Go and GUI development in general (I'm more of a cli Py guy 😄 but your app catched my eyes because of it's clean Ui and simplicity), migrating is currently a significant challenge for me to consider :) I'll try to dive a bit deeper into Wails v2 in the future since it offers many more features than v1. Hopefully, in the future, I can contribute to the project.

sarthakpranesh commented 1 year ago

Hey @enterv0id, I finally found sometime to migrate the application to wails v2. I have currently only tested it on Linux. Will be testing on Windows and Mac later (don't have those systems at the moment). But feel free to try it out on branch v2. I also noticed you mentioned exe so I assume you are using Windows. I remember solving something around this, it was related to how different operating systems have different web viewing kits that handle css differently. Can you try one of the compiled binaries here and let me know if it has the same issue.