18 lines
384 B
C
Raw Normal View History

#include <stdlib.h>
#include <unistd.h>
2021-06-17 17:32:24 -04:00
#include "../bootstrap.h"
int main(int argc, char *argv[]) {
2022-03-09 23:29:37 -05:00
// Pre-Bootstrap
pre_bootstrap();
// Set Home To Current Directory, So World Data Is Stored There
char *launch_directory = getcwd(NULL, 0);
2022-03-09 22:08:47 -05:00
set_and_print_env("HOME", launch_directory);
free(launch_directory);
2021-06-17 17:32:24 -04:00
// Bootstrap
bootstrap(argc, argv);
}