Moved DB to same app folder on Windows (#3340)

* moved db to user folder on windows

* moved db to local appdata

* made getDBFolderPath func private

* added getWindowsDbPath() func

* fix

---------

Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
fgsfds
2025-08-14 02:19:59 +05:00
committed by GitHub
parent 7258841491
commit 6879a8fbcb
2 changed files with 77 additions and 8 deletions

4
.gitignore vendored
View File

@@ -29,9 +29,9 @@ main
.DS_Store
Thumbs.db
# Ignore Go specific files
# Ignore Go build files
*.exe
*.exe~
x-ui.db
# Ignore Docker specific files
docker-compose.override.yml