remove player runtime writing functions, this is now an addon.
[blender.git] / source / blender / blenlib / intern / path_util.c
index 6630faf304849aa290bf3ec06fa2ae20c16de707..e8e8127be0c7ac9085c37c46bb1e59aad75fadb6 100644 (file)
@@ -1802,26 +1802,6 @@ void BLI_where_is_temp(char *fullname, const size_t maxlen, int usertemp)
        }
 }
 
-char *get_install_dir(void) {
-       char *tmpname = BLI_strdup(bprogname);
-       char *cut;
-
-#ifdef __APPLE__
-       cut = strstr(tmpname, ".app");
-       if (cut) cut[0] = 0;
-#endif
-
-       cut = BLI_last_slash(tmpname);
-
-       if (cut) {
-               cut[0] = 0;
-               return tmpname;
-       } else {
-               MEM_freeN(tmpname);
-               return NULL;
-       }
-}
-
 #ifdef WITH_ICONV
 
 void BLI_string_to_utf8(char *original, char *utf_8, const char *code)