diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-05-08 23:24:08 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-05-08 23:24:08 +0200 |
commit | 6cc1ec3610ba98bada1fcd03a654b2925530f748 (patch) | |
tree | d772a02517cc8022100be2a89f8e4000559066ba /src/main.c | |
parent | 14e8bfdc0a83a1256f2efc92868ead7dbd26bc51 (diff) | |
download | polecat-6cc1ec3610ba98bada1fcd03a654b2925530f748.tar.gz polecat-6cc1ec3610ba98bada1fcd03a654b2925530f748.zip |
add work in progress windows support
to run lutris installers on windows soon
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ #include <stdio.h> #include <string.h> -#include <linux/limits.h> +#include <limits.h> #include "main.h" #include "wine.h" @@ -11,14 +11,16 @@ #include "config.h" static const struct Command main_commands[] = { +#ifndef _WIN32 { .name = "wine", .func = wine, .description = "manage wine versions" }, +#endif { .name = "dxvk", .func = dxvk, .description = "manage DXVK versions" }, { .name = "lutris", .func = lutris, .description = "run lutris instraller"}, { .name = "env", .func = main_env, .description = "show some information about polecat" }, }; static const struct Flag main_flags[] = { - { .name = "help", .variant = DOUBLE, .func = main_help, .description = "show this message"}, + { .name = "help", .variant = TWO, .func = main_help, .description = "show this message"}, { .name = "version", .variant = BOTH, .func = main_version, .description = "prints the program version"} }; |