Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "2"

run:
go: "1.25"
go: "1.26.3"

linters:
exclusions:
Expand All @@ -17,6 +17,12 @@ linters:
- linters:
- gocritic
path: pkg/helpers/usb_darwin\.go
# Standalone plugin module: separate go.mod with its own dependency surface.
# zerolog/syncutil are Zaparoo Core internals and not imported by the bridge.
- linters:
- depguard
- forbidigo
path: scripts/windows/hyperhq-plugin/
enable:
- staticcheck
- errcheck
Expand Down
4 changes: 4 additions & 0 deletions Taskfile.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,15 @@ tasks:
desc: Run golangci-lint
cmds:
- golangci-lint run ./...
# The HyperHQ plugin module under scripts/windows/hyperhq-plugin/ is
# Windows-only. Local typechecking cannot resolve winio symbols on Linux,
# so it is linted via `task cross-lint:windows` instead.

lint-fix:
desc: Run golangci-lint with auto-fixes
cmds:
- golangci-lint run --fix ./...
# See note on lint above — Windows-only plugin lints via cross-lint:windows.

vulncheck:
desc: Run govulncheck for security vulnerabilities
Expand Down
7 changes: 7 additions & 0 deletions pkg/assets/systems/Custom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"id": "Custom",
"name": "Custom",
"category": "Other",
"releaseDate": "",
"manufacturer": ""
}
4 changes: 4 additions & 0 deletions pkg/database/systemdefs/systemdefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ const (
SystemJ2ME = "J2ME"
SystemGroovy = "Groovy"
SystemPlugNPlay = "PlugNPlay"
SystemCustom = "Custom"
SystemDevErr = "DevErr"
)

Expand Down Expand Up @@ -1151,6 +1152,9 @@ var Systems = map[string]System{
ID: SystemPlugNPlay,
Slugs: []string{"plugandplay", "tvgame", "tvgames"},
},
SystemCustom: {
ID: SystemCustom,
},
SystemIOS: {
ID: SystemIOS,
Slugs: []string{"iphone", "ipad", "applegame", "applegames"},
Expand Down
2 changes: 2 additions & 0 deletions pkg/platforms/shared/schemes.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const (
SchemeLutris = "lutris"
SchemeHeroic = "heroic"
SchemeGOG = "gog"
SchemeHyperHq = "hyperhq"
)

// Kodi URI scheme constants for Kodi media library items.
Expand Down Expand Up @@ -59,6 +60,7 @@ var customSchemes = []string{
SchemeLutris,
SchemeHeroic,
SchemeGOG,
SchemeHyperHq,
SchemeKodiMovie,
SchemeKodiEpisode,
SchemeKodiSong,
Expand Down
Loading