new fake games

This commit is contained in:
cyber-dream 2022-11-04 02:22:01 +03:00
parent d645cbc860
commit a8dbeb6865

View File

@ -3,12 +3,7 @@ package gameUtils
var garrysmodGame = SteamGame{ var garrysmodGame = SteamGame{
GameId: "garrysmod", GameId: "garrysmod",
SteamId: "4000", SteamId: "4000",
Args: []Argument{ Args: []Argument{},
Argument{
Body: "+connect",
Value: "127.0.0.1:27015",
},
},
Platforms: map[string]bool{ Platforms: map[string]bool{
"linux": true, "linux": true,
"windows": true, "windows": true,
@ -21,10 +16,9 @@ var garrysmodGame = SteamGame{
} }
var openarena = SteamGame{ var openarena = SteamGame{
GameId: "openarena", GameId: "half-life-1",
SteamId: "", SteamId: "70",
//Executable: "/usr/games/openarena", Args: []Argument{},
//Args: []string{},
Assets: GameInterfaceAssets{ Assets: GameInterfaceAssets{
Title: "Open Arena", Title: "Open Arena",
Icon: "icon.png", Icon: "icon.png",
@ -32,16 +26,4 @@ var openarena = SteamGame{
}, },
} }
var minecraft = SteamGame{ var SteamFakeGamesList = []SteamGame{garrysmodGame, openarena}
GameId: "minecraft",
SteamId: "",
//Args: []string{},
Assets: GameInterfaceAssets{
Title: "Minecraft",
Icon: "icon.png",
Description: "Minecraft Game",
},
Platforms: map[string]bool{},
}
var SteamFakeGamesList = []SteamGame{garrysmodGame, openarena, minecraft}