Removed Run() placeholder
All checks were successful
/ test-on-windows (push) Successful in 51s
/ test-on-alpine (push) Successful in 1m16s

This commit is contained in:
Internet Addict 2025-02-13 09:24:02 +00:00
parent 48473f98c5
commit b1e39f52ac

View file

@ -30,8 +30,6 @@ var (
const finalStep = 3
func main() {
spm.Run()
monitor := rl.GetCurrentMonitor()
if monitor < 0 {
monitor = 0 // Fallback to the primary monitor
@ -259,7 +257,8 @@ func drawRunAppButton(cx, cy float32) {
hovered := overRect(rl.GetMousePosition(), rect)
drawRoundedRectButton(rect, "Start Spitfire", 1.0, hovered)
if hovered && rl.IsMouseButtonPressed(rl.MouseLeftButton) {
fmt.Println("Launching the app (placeholder)...")
fmt.Println("Launching...")
spm.Run()
os.Exit(0)
}
}