Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add termux support #162

Merged
merged 5 commits into from
Feb 12, 2025
Merged

add termux support #162

merged 5 commits into from
Feb 12, 2025

Conversation

wbpxre150
Copy link
Contributor

Adds a check for the termux data directory otherwise defaults to linux. Termux does not have write permissions for /tmp

@@ -36,8 +37,12 @@ def __init__(self, arlo, **kwargs):
self._kw = kwargs
self._arlo.debug("config: loaded")
self._update_backend = False
if platform.system() == "Windows":
self._storage_dir = tempfile.gettempdir() + r"\.aarlo"
strplatform = platform.system()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need strplatform. It's ok to use the old "if".

@twrecked
Copy link
Owner

twrecked commented Feb 9, 2025

Sorry; just getting to this.

@wbpxre150
Copy link
Contributor Author

wbpxre150 commented Feb 9, 2025 via email

@twrecked twrecked merged commit 3601176 into twrecked:master Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants