Added Skyrim to the game list
This commit is contained in:
+2
-2
@@ -1,4 +1,5 @@
|
|||||||
#include "guiMain.h"
|
#include "guiMain.h"
|
||||||
|
#include "../steam.h"
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
@@ -36,8 +37,7 @@ int guiMain(int argc, char **argv) {
|
|||||||
GtkApplication *app;
|
GtkApplication *app;
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
app = gtk_application_new("fr.marcbarbier.modmanager",
|
app = gtk_application_new("fr.marcbarbier.modmanager", G_APPLICATION_DEFAULT_FLAGS);
|
||||||
G_APPLICATION_DEFAULT_FLAGS);
|
|
||||||
g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);
|
g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);
|
||||||
status = g_application_run(G_APPLICATION(app), 1, argv);
|
status = g_application_run(G_APPLICATION(app), 1, argv);
|
||||||
g_object_unref(app);
|
g_object_unref(app);
|
||||||
|
|||||||
+4
-2
@@ -37,14 +37,16 @@ const static char * steamLibraries[] = {
|
|||||||
const static u_int32_t GAMES_APPIDS[] = {
|
const static u_int32_t GAMES_APPIDS[] = {
|
||||||
489830,
|
489830,
|
||||||
22330,
|
22330,
|
||||||
377160
|
377160,
|
||||||
|
72850,
|
||||||
};
|
};
|
||||||
|
|
||||||
//the name of the game in the steamapps/common folder
|
//the name of the game in the steamapps/common folder
|
||||||
const static char * GAMES_NAMES[] = {
|
const static char * GAMES_NAMES[] = {
|
||||||
"Skyrim Special Edition",
|
"Skyrim Special Edition",
|
||||||
"Oblivion",
|
"Oblivion",
|
||||||
"Fallout 4"
|
"Fallout 4",
|
||||||
|
"Skyrim",
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user