first commit

This commit is contained in:
Space-Banane
2026-01-17 15:19:07 +01:00
commit 4e637bc27d
15 changed files with 511 additions and 0 deletions

26
client/embedicon.go Normal file
View File

@@ -0,0 +1,26 @@
//go:build ignore
// +build ignore
package main
import (
"fmt"
"os"
)
func main() {
data, err := os.ReadFile("../syncup.ico")
if err != nil {
fmt.Println("Error reading icon:", err)
return
}
fmt.Println("var EmbeddedIcon = []byte{")
for i, b := range data {
if i%12 == 0 {
fmt.Print("\n\t")
}
fmt.Printf("0x%02X, ", b)
}
fmt.Println("\n}")
}