diff --git a/.gitignore b/.gitignore index 96374c4..f9ee50e 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ $RECYCLE.BIN/ Network Trash Folder Temporary Items .apdisk +credentials.lua \ No newline at end of file diff --git a/init.lua b/init.lua index 8498d87..84cd873 100644 --- a/init.lua +++ b/init.lua @@ -272,4 +272,9 @@ function GJ.fetchTables() return t end -return GJ +_G.gamejolt = GJ + +local success, credentials = pcall(require, folder..".credentials") +if success then + gamejolt.init(credentials.id, credentials.key) +end \ No newline at end of file