summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2021-12-10 15:26:13 -0800
committerlouie <lshprung@yahoo.com>2021-12-10 15:26:13 -0800
commita3d8a9508f3d0edfffc1ab5791bb29b0ae7a79c5 (patch)
treef546c0bf53e07fec255529c82c42148b1c9f0ae1 /windows
parente58f35f4580ad4377c3ba5dcaee5bbbd938713c6 (diff)
Changed name. May tidy up/differentiate 'Terminal Media Launcher' vs 'terminal-media-launcher'
Diffstat (limited to 'windows')
-rw-r--r--windows/cache.c4
-rw-r--r--windows/read_cfg.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/windows/cache.c b/windows/cache.c
index a7dd81e..01db0ef 100644
--- a/windows/cache.c
+++ b/windows/cache.c
@@ -20,11 +20,11 @@ char *get_cache_path(bool create){
//if create is asserted, build the path to the file
if(create){
- sprintf(path, "%s%ctml%c", appdata, sep, sep);
+ sprintf(path, "%s%cterminal-media-launcher%c", appdata, sep, sep);
mkdir(path);
}
- sprintf(path, "%s%ctml%ccache.bin", appdata, sep, sep);
+ sprintf(path, "%s%cterminal-media-launcher%ccache.bin", appdata, sep, sep);
return path;
}
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);