diff options
Diffstat (limited to 'windows/read_cfg.c')
-rw-r--r-- | windows/read_cfg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/windows/read_cfg.c b/windows/read_cfg.c index 7cb98cc..2a56ef8 100644 --- a/windows/read_cfg.c +++ b/windows/read_cfg.c @@ -20,7 +20,7 @@ char *find_config(){ char choices[check_count][BUF_LEN]; int i; - sprintf(choices[0], "%s%ctml%cconfig", appdata, sep, sep); + sprintf(choices[0], "%s%cterminal-media-launcher%cconfig", appdata, sep, sep); for(i = 0; i < check_count; i++){ path = choices[i]; @@ -69,10 +69,10 @@ void mkconfig_wizard(char *path){ exit(1); } - sprintf(path, "%s%ctml%c", appdata, sep, sep); + sprintf(path, "%s%cterminal-media-launcher%c", appdata, sep, sep); mkdir(path); - sprintf(path, "%s%ctml%cconfig", appdata, sep, sep); + sprintf(path, "%s%cterminal-media-launcher%cconfig", appdata, sep, sep); //open file for writing, make sure non-NULL fp = fopen(path, "w"); @@ -81,8 +81,8 @@ void mkconfig_wizard(char *path){ exit(1); } - fprintf(fp, "# This file was auto-generated by tml. See docs\\tml-config.md or tml-config(5) for documentation\n" - "# By default, no launcher is specified for any group. When no launcher is specified on the Windows build of tml, media files will be opened with their default application.\n" + fprintf(fp, "# This file was auto-generated by terminal-media-launcher. See docs\\terminal-media-launcher-config.md or terminal-media-launcher-config(5) for documentation\n" + "# By default, no launcher is specified for any group. When no launcher is specified on the Windows build of terminal-media-launcher, media files will be opened with their default application.\n" "# It is generally recommended to specify a launcher for groups containing media files using the \"setLauncher\" command\n\n" "# Recursively add files from %s%cMusic%c to Music group\n" "addGroup Music\n", home, sep, sep); |