diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-03 11:10:24 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-03 11:10:24 +0200 |
| commit | 2e871fc68ae444c808f4ce41f657f440d2a70d37 (patch) | |
| tree | 39b60a5dd1942d7d616add3f2da5f3a405559d8a /src/main.c | |
| parent | 30eb08f8af6d69a28276590f7959374757f08da0 (diff) | |
| download | box64-2e871fc68ae444c808f4ce41f657f440d2a70d37.tar.gz box64-2e871fc68ae444c808f4ce41f657f440d2a70d37.zip | |
Added another name for wine64
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index ce924c94..1eb40c20 100755 --- a/src/main.c +++ b/src/main.c @@ -744,7 +744,9 @@ int main(int argc, const char **argv, const char **env) { } } // check if this is wine - if(!strcmp(prog, "wine64") || (strlen(prog)>5 && !strcmp(prog+strlen(prog)-strlen("/wine64"), "/wine64"))) { + if(!strcmp(prog, "wine64") + || !strcmp(prog, "wine64-development") + || (strlen(prog)>5 && !strcmp(prog+strlen(prog)-strlen("/wine64"), "/wine64"))) { const char* prereserve = getenv("WINEPRELOADRESERVE"); printf_log(LOG_INFO, "BOX64: Wine64 detected, WINEPRELOADRESERVE=\"%s\"\n", prereserve?prereserve:""); if(wine_preloaded) |