From a8dbeb6865b6f9da65d43627c06aa482eea7d139 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Fri, 4 Nov 2022 02:22:01 +0300 Subject: [PATCH] new fake games --- gameUtils/fakeGames.go | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/gameUtils/fakeGames.go b/gameUtils/fakeGames.go index 49df69b..28ffbd8 100644 --- a/gameUtils/fakeGames.go +++ b/gameUtils/fakeGames.go @@ -3,12 +3,7 @@ package gameUtils var garrysmodGame = SteamGame{ GameId: "garrysmod", SteamId: "4000", - Args: []Argument{ - Argument{ - Body: "+connect", - Value: "127.0.0.1:27015", - }, - }, + Args: []Argument{}, Platforms: map[string]bool{ "linux": true, "windows": true, @@ -21,10 +16,9 @@ var garrysmodGame = SteamGame{ } var openarena = SteamGame{ - GameId: "openarena", - SteamId: "", - //Executable: "/usr/games/openarena", - //Args: []string{}, + GameId: "half-life-1", + SteamId: "70", + Args: []Argument{}, Assets: GameInterfaceAssets{ Title: "Open Arena", Icon: "icon.png", @@ -32,16 +26,4 @@ var openarena = SteamGame{ }, } -var minecraft = SteamGame{ - 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} +var SteamFakeGamesList = []SteamGame{garrysmodGame, openarena}