aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-09-14 12:51:05 -0500
committerJesús <heckyel@hyperbola.info>2021-09-14 12:51:05 -0500
commit82e82b1cb7b6c991100bc59bd4ce46e56b22d0a1 (patch)
treed030394f23a829c625266f920cec44217b2384a6
parentf129cfcc9a2d781032b2ad1aa0307d77c839b6bb (diff)
downloadyt-local-82e82b1cb7b6c991100bc59bd4ce46e56b22d0a1.tar.lz
yt-local-82e82b1cb7b6c991100bc59bd4ce46e56b22d0a1.tar.xz
yt-local-82e82b1cb7b6c991100bc59bd4ce46e56b22d0a1.zip
change path config
-rw-r--r--README.md2
-rw-r--r--docs/basic-script-openrc/README.md2
-rw-r--r--settings.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 07b8480..6d5c4c0 100644
--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@ Download the tarball under the Releases page and extract it. `cd` into the direc
## Usage
-Firstly, if you wish to run this in portable mode, create the empty file "settings.txt" in the program's main directory. If the file is there, settings and data will be stored in the same directory as the program. Otherwise, settings and data will be stored in `C:\Users\[your username]\.youtube-local` on Windows and `~/.youtube-local` on GNU+Linux/MacOS.
+Firstly, if you wish to run this in portable mode, create the empty file "settings.txt" in the program's main directory. If the file is there, settings and data will be stored in the same directory as the program. Otherwise, settings and data will be stored in `C:\Users\[your username]\.yt-local` on Windows and `~/.yt-local` on GNU+Linux/MacOS.
To run the program on windows, open `run.bat`. On GNU+Linux/MacOS, run `python3 server.py`.
diff --git a/docs/basic-script-openrc/README.md b/docs/basic-script-openrc/README.md
index 7bef31e..1de623b 100644
--- a/docs/basic-script-openrc/README.md
+++ b/docs/basic-script-openrc/README.md
@@ -73,4 +73,4 @@ after, modified execute permissions:
- disable: `doas rc-update del ytlocal`
When yt-local is run with administrator privileges,
-the configuration file is stored in /root/.youtube-local
+the configuration file is stored in /root/.yt-local
diff --git a/settings.py b/settings.py
index d222aa9..77fe3fa 100644
--- a/settings.py
+++ b/settings.py
@@ -390,8 +390,8 @@ if os.path.isfile("settings.txt"):
data_dir = os.path.normpath('./data')
else:
print("Running in non-portable mode")
- settings_dir = os.path.expanduser(os.path.normpath("~/.youtube-local"))
- data_dir = os.path.expanduser(os.path.normpath("~/.youtube-local/data"))
+ settings_dir = os.path.expanduser(os.path.normpath("~/.yt-local"))
+ data_dir = os.path.expanduser(os.path.normpath("~/.yt-local/data"))
if not os.path.exists(settings_dir):
os.makedirs(settings_dir)