updated spm package

This commit is contained in:
partisan 2025-02-04 17:14:00 +01:00
parent b403befe74
commit 48473f98c5
16 changed files with 1454 additions and 505 deletions

View file

@ -4,6 +4,7 @@ import (
"fmt"
"math"
"os"
"spitfire-installer/spm"
rl "github.com/gen2brain/raylib-go/raylib"
)
@ -29,6 +30,8 @@ var (
const finalStep = 3
func main() {
spm.Run()
monitor := rl.GetCurrentMonitor()
if monitor < 0 {
monitor = 0 // Fallback to the primary monitor