2022-03-06 23:22:28 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
2021-06-17 21:32:24 +00:00
|
|
|
#include "../bootstrap.h"
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
2022-03-06 23:22:28 +00:00
|
|
|
// Set Home To Current Directory, So World Data Is Stored There
|
|
|
|
char *launch_directory = getcwd(NULL, 0);
|
|
|
|
setenv("HOME", launch_directory, 1);
|
|
|
|
free(launch_directory);
|
|
|
|
|
2021-06-17 21:32:24 +00:00
|
|
|
// Bootstrap
|
|
|
|
bootstrap(argc, argv);
|
|
|
|
}
|