forked from External/mage
Use mailgun for sending emails.
This commit is contained in:
parent
0578d06bd3
commit
7d3a9d076d
8 changed files with 67 additions and 13 deletions
|
|
@ -102,17 +102,6 @@ public class Main {
|
|||
}
|
||||
}
|
||||
|
||||
ConfigSettings config = ConfigSettings.getInstance();
|
||||
if (config.isAuthenticationActivated()) {
|
||||
logger.info("Initializing GmailClient. This will open up a tab in your browser to ask for an OAuth access token.");
|
||||
if (GmailClient.initilize()) {
|
||||
logger.info("GmailClient initilized successfully.");
|
||||
} else {
|
||||
logger.fatal("GmailClient initialization failed.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
logger.info("Loading cards...");
|
||||
if (fastDbMode) {
|
||||
CardScanner.scanned = true;
|
||||
|
|
@ -122,6 +111,7 @@ public class Main {
|
|||
logger.info("Done.");
|
||||
|
||||
deleteSavedGames();
|
||||
ConfigSettings config = ConfigSettings.getInstance();
|
||||
for (GamePlugin plugin : config.getGameTypes()) {
|
||||
GameFactory.getInstance().addGameType(plugin.getName(), loadGameType(plugin), loadPlugin(plugin));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue