diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-07-31 17:26:09 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-07-31 17:26:09 +0200 |
commit | 1db300d8815b5f997dd6f992e4ca416537018c2f (patch) | |
tree | 77cf0330be07b8553bc46f53f0e302a9cb81d561 /src/dxvk.c | |
parent | aabfdfe3fcbcf718b30872c98568581d7e7e6cca (diff) | |
download | polecat-1db300d8815b5f997dd6f992e4ca416537018c2f.tar.gz polecat-1db300d8815b5f997dd6f992e4ca416537018c2f.zip |
implement running wine from polecat and more0.1.2
- implement running wine from polecat directly and pass all arguments to wine (default wine prefix is still $HOME/.wine)
- add command to list installed wine versions (lists all directories, needs to be improved)
- rename wine install to wine download
- replace deprecated support_compression_all with support_filter_all
- comment out DXVK command until its further implemented
- use PATH_MAX for strings holding paths
Diffstat (limited to 'src/dxvk.c')
-rw-r--r-- | src/dxvk.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ int dxvk_install(int argc, char** argv) if (choice > json_object_array_length(runner) - 1 || choice < 0) { - printf("`%i' is not a valid ID\n\nrun `polecat dxvk list' to get a valid ID", choice); + printf("`%i' is not a valid ID\n\nrun `" NAME " dxvk list' to get a valid ID", choice); } else { @@ -62,7 +62,7 @@ int dxvk_install(int argc, char** argv) } else { - puts("Usage: polecat dxvk download <ID>\n\nIDs are obtained via `polecat dxvk list' "); + puts("Usage: " NAME " dxvk download <ID>\n\nIDs are obtained via `" NAME " dxvk list' "); } return 0; } @@ -90,7 +90,7 @@ int dxvk_list(int argc, char** argv) int dxvk_help(int argc, char** argv) { - puts("usage: polecat dxvk <command>\n\nList of commands:"); + puts("usage: " NAME " dxvk <command>\n\nList of commands:"); print_help(dxvk_commands, ARRAY_LEN(dxvk_commands)); |