2021-06-09 00:31:52 +00:00
|
|
|
/* global hexo */
|
|
|
|
const logger = require('hexo-log')();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Print welcome message
|
|
|
|
*/
|
2021-06-29 09:47:20 +00:00
|
|
|
logger.info(`Welcome to Soviet Union
|
|
|
|
Here is the offical site of CCCP
|
|
|
|
https://gov.com.su
|
|
|
|
SOVIET UNION
|
|
|
|
=======================================
|
2021-06-09 00:31:52 +00:00
|
|
|
██╗ ██████╗ █████╗ ██████╗ ██╗ ██╗███████╗
|
|
|
|
██║██╔════╝██╔══██╗██╔══██╗██║ ██║██╔════╝
|
|
|
|
██║██║ ███████║██████╔╝██║ ██║███████╗
|
|
|
|
██║██║ ██╔══██║██╔══██╗██║ ██║╚════██║
|
|
|
|
██║╚██████╗██║ ██║██║ ██║╚██████╔╝███████║
|
|
|
|
╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
|
|
|
|
=============================================`);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Check if all dependencies are installed
|
|
|
|
*/
|
|
|
|
require('../include/dependency')(hexo);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Configuration file checking and migration
|
|
|
|
*/
|
|
|
|
require('../include/config')(hexo);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register Hexo extensions and remove Hexo filters that could cause OOM
|
|
|
|
*/
|
|
|
|
require('../include/register')(hexo);
|