Windows support

This commit is contained in:
sarah committed 2026-10-09 14:21:42 +02:00
1 parent 9757518d8e
commit 8eb9943a30
14 files changed
+92 -17

No files matched your search

+4 -1
View File
@@ -59,6 +59,9 @@ SaraTagRecordsPath = ApplicationDirectory / ".SaraTagRecords.toml"
SaraTagHistoryPath = ApplicationDirectory / ".SaraTagHistory.toml"
# Empty means the default app; Windows rarely has mpv.
DefaultVideoPlayer = "" if sys.platform == "win32" else "mpv"
DefaultSaraTagConf = f'''# SaraTag's main portable configuration file.
# Paths in this file are interpreted relative to the SaraTag directory
# unless they are absolute.
@@ -83,7 +86,7 @@ ShowInvalidEntries = true
ShowImagePreviews = true
[Media]
VideoPlayer = "mpv"
VideoPlayer = "{DefaultVideoPlayer}"
[History]
Enabled = true