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

enhancement: added portable mode detection (fixes #1527) #1528

Conversation

midwan
Copy link
Collaborator

@midwan midwan commented Dec 10, 2024

Fixes #1527

Changes proposed in this pull request:

  • Check for the existence of a file named "amiberry.portable" in the current directory, when starting up. If found, switch to portable mode, expecting all related directories under the current dir.

@midwan

Check for the existence of a file named "amiberry.portable" in the current directory, when starting up.
If found, switch to portable mode, expecting all related directories under the current dir.
In portable mode, there's no guarantee the conf dir will exist, so make sure it's created in that case.
@midwan midwan enabled auto-merge (squash) December 10, 2024 17:46
@midwan midwan disabled auto-merge December 10, 2024 17:47
@midwan midwan merged commit 53e6a5f into master Dec 10, 2024
24 checks passed
@midwan midwan deleted the 1527-portable-mode-dummy-file-amiberryportable-to-indicate-defaulting-to-local-folder-structurerelative-paths branch December 10, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Portable Mode - Dummy File (amiberry.portable) to indicate defaulting to local folder structure/relative paths
1 participant