From b6996bf73ba06eec4c22bc251d7b572873fd0d1c Mon Sep 17 00:00:00 2001 From: Sean Bogosavac Date: Tue, 4 Oct 2022 12:57:17 +0200 Subject: [PATCH] Added Skyrim to the game list --- src/gui/guiMain.c | 4 ++-- src/steam.h | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui/guiMain.c b/src/gui/guiMain.c index 8b9745d..583ead6 100644 --- a/src/gui/guiMain.c +++ b/src/gui/guiMain.c @@ -1,4 +1,5 @@ #include "guiMain.h" +#include "../steam.h" #include @@ -36,8 +37,7 @@ int guiMain(int argc, char **argv) { GtkApplication *app; int status; - app = gtk_application_new("fr.marcbarbier.modmanager", - G_APPLICATION_DEFAULT_FLAGS); + app = gtk_application_new("fr.marcbarbier.modmanager", G_APPLICATION_DEFAULT_FLAGS); g_signal_connect(app, "activate", G_CALLBACK(activate), NULL); status = g_application_run(G_APPLICATION(app), 1, argv); g_object_unref(app); diff --git a/src/steam.h b/src/steam.h index 983ce4a..d849104 100644 --- a/src/steam.h +++ b/src/steam.h @@ -37,14 +37,16 @@ const static char * steamLibraries[] = { const static u_int32_t GAMES_APPIDS[] = { 489830, 22330, - 377160 + 377160, + 72850, }; //the name of the game in the steamapps/common folder const static char * GAMES_NAMES[] = { "Skyrim Special Edition", "Oblivion", - "Fallout 4" + "Fallout 4", + "Skyrim", }; /**