all around changes
parent
b9ceb42817
commit
9f691169f4
2
depot
2
depot
|
@ -1 +1 @@
|
||||||
Subproject commit 282e37498918ba7a1e03c96f0f0156bd1dc0b047
|
Subproject commit 15cce740439eda67c945f9d4354e2868340a567e
|
|
@ -605829,7 +605829,7 @@ void* window_handle() {
|
||||||
void window_reload() {
|
void window_reload() {
|
||||||
// @todo: save_on_exit();
|
// @todo: save_on_exit();
|
||||||
fflush(0);
|
fflush(0);
|
||||||
chdir(app_path());
|
// chdir(app_path());
|
||||||
execv(__argv[0], __argv);
|
execv(__argv[0], __argv);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
@ -607208,7 +607208,7 @@ void v4k_init() {
|
||||||
tty_init();
|
tty_init();
|
||||||
|
|
||||||
// chdir to root (if invoked as tcc -g -run)
|
// chdir to root (if invoked as tcc -g -run)
|
||||||
chdir(app_path());
|
// chdir(app_path());
|
||||||
|
|
||||||
// skip tcc argvs (if invoked as tcc file.c v4k.c -g -run) (win)
|
// skip tcc argvs (if invoked as tcc file.c v4k.c -g -run) (win)
|
||||||
if( __argc > 1 ) if( strstr(__argv[0], "/tcc") || strstr(__argv[0], "\\tcc") ) {
|
if( __argc > 1 ) if( strstr(__argv[0], "/tcc") || strstr(__argv[0], "\\tcc") ) {
|
||||||
|
|
|
@ -80,7 +80,7 @@ void v4k_init() {
|
||||||
tty_init();
|
tty_init();
|
||||||
|
|
||||||
// chdir to root (if invoked as tcc -g -run)
|
// chdir to root (if invoked as tcc -g -run)
|
||||||
chdir(app_path());
|
// chdir(app_path());
|
||||||
|
|
||||||
// skip tcc argvs (if invoked as tcc file.c v4k.c -g -run) (win)
|
// skip tcc argvs (if invoked as tcc file.c v4k.c -g -run) (win)
|
||||||
if( __argc > 1 ) if( strstr(__argv[0], "/tcc") || strstr(__argv[0], "\\tcc") ) {
|
if( __argc > 1 ) if( strstr(__argv[0], "/tcc") || strstr(__argv[0], "\\tcc") ) {
|
||||||
|
|
|
@ -876,7 +876,7 @@ void* window_handle() {
|
||||||
void window_reload() {
|
void window_reload() {
|
||||||
// @todo: save_on_exit();
|
// @todo: save_on_exit();
|
||||||
fflush(0);
|
fflush(0);
|
||||||
chdir(app_path());
|
// chdir(app_path());
|
||||||
execv(__argv[0], __argv);
|
execv(__argv[0], __argv);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23998,7 +23998,7 @@ void* window_handle() {
|
||||||
void window_reload() {
|
void window_reload() {
|
||||||
// @todo: save_on_exit();
|
// @todo: save_on_exit();
|
||||||
fflush(0);
|
fflush(0);
|
||||||
chdir(app_path());
|
// chdir(app_path());
|
||||||
execv(__argv[0], __argv);
|
execv(__argv[0], __argv);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
@ -25377,7 +25377,7 @@ void v4k_init() {
|
||||||
tty_init();
|
tty_init();
|
||||||
|
|
||||||
// chdir to root (if invoked as tcc -g -run)
|
// chdir to root (if invoked as tcc -g -run)
|
||||||
chdir(app_path());
|
// chdir(app_path());
|
||||||
|
|
||||||
// skip tcc argvs (if invoked as tcc file.c v4k.c -g -run) (win)
|
// skip tcc argvs (if invoked as tcc file.c v4k.c -g -run) (win)
|
||||||
if( __argc > 1 ) if( strstr(__argv[0], "/tcc") || strstr(__argv[0], "\\tcc") ) {
|
if( __argc > 1 ) if( strstr(__argv[0], "/tcc") || strstr(__argv[0], "\\tcc") ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{
|
{
|
||||||
"path": ".",
|
"path": ".",
|
||||||
"file_exclude_patterns": ["*.zip", "*.ilk", "*.exp"],
|
"file_exclude_patterns": ["*.zip", "*.ilk", "*.exp"],
|
||||||
"index_exclude_patterns": ["engine/joint/v4k.h", "engine/v4k.h", "engine/v4k.c"]
|
"index_exclude_patterns": ["engine/joint/v4k.h", "engine/v4k.h", "engine/v4k.c", "_mirror/**"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
|
|
Loading…
Reference in New Issue