BAGS Fixed

This commit is contained in:
german 2026-01-05 21:46:36 +04:00
parent 9e15f900de
commit c3d0b8f095
3 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ static void %_error(char* _err) {
} }
char* __YDSJS_user_home = NULL; char* __YDSJS_user_home = NULL;
char* __YDSJS_files_dir = "/.projmr/project_files/"; char* __YDSJS_files_dir = "/.%/project_files/";
void __attach_project_mode(void) { void __attach_project_mode(void) {
__YDSJS_user_home = getenv("HOME"); __YDSJS_user_home = getenv("HOME");

BIN
projmr

Binary file not shown.

View File

@ -113,7 +113,7 @@ static int __create_license(void) {
static int __create_project_folder(void) { static int __create_project_folder(void) {
if (mkdir("project_files", S_IRWXU | S_IRWXG | S_IRWXO) != 0) { if (mkdir("project_files", S_IRWXU | S_IRWXG | S_IRWXO) != 0) {
puts("\033[1mprojmr: \033[35mWarning: The project already exists!\033[0m"); puts("\033[1mprojmr: \033[35mWarning: The project already exists!\033[0m");
return EXIT_FAILURE; return EXIT_SUCCESS;
}; };
FILE* fp = fopen("project_files/example.txt", "w"); FILE* fp = fopen("project_files/example.txt", "w");
if (fp == NULL) { if (fp == NULL) {