Skip to content

Commit

Permalink
fix: android temp folder not found
Browse files Browse the repository at this point in the history
  • Loading branch information
THEGOLDENPRO committed Jun 11, 2024
1 parent 3b32013 commit dd5f503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mov_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .scraper import *
from .download import *

__version__ = "4.4alpha5"
__version__ = "4.4alpha5-1"
2 changes: 1 addition & 1 deletion mov_cli/utils/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_temp_directory(platform: SUPPORTED_PLATFORMS) -> Path:
temp_directory = Path(linux_temp_dir)

elif platform == "Android":
temp_directory = Path("$PREFIX/tmp")
temp_directory = Path(f"{os.getenv('PREFIX')}/tmp")

temp_directory = temp_directory.joinpath("mov-cli-temp")
temp_directory.mkdir(exist_ok = True)
Expand Down

0 comments on commit dd5f503

Please sign in to comment.