mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 04:05:08 +03:00
🐛 Files are no longer written with restrictive permissions (#347)
* add chmod mask after file download (fix #265) * 🚀 Bump version to 3.4.0a4
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "tiddl"
|
||||
version = "3.4.0a3"
|
||||
version = "3.4.0a4"
|
||||
description = "Download Tidal tracks with CLI downloader."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
|
||||
@@ -197,6 +197,11 @@ class Downloader:
|
||||
|
||||
shutil.move(tmp.name, download_path)
|
||||
|
||||
try:
|
||||
download_path.chmod(0o644)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
try:
|
||||
if isinstance(item, Track) and should_extract_flac:
|
||||
download_path = extract_flac(download_path)
|
||||
|
||||
Reference in New Issue
Block a user