mirror of
https://github.com/termux/proot-distro.git
synced 2026-06-19 07:35:29 +00:00
dcc659cd16
Prepare proot-distro for supporting Linux distribution as host system. 1. Option --termux-home renamed to --shared-home, alias --termux-home kept. 2. If host environment is not Termux, hide all Termux-specific stuff. 3. Change location of data files on non-Termux environment. 4. Don't prompt to install proot when it doesn't exist on non-Termux environment, just show an error.
24 lines
904 B
Python
Executable File
24 lines
904 B
Python
Executable File
#!/usr/bin/env python3
|
|
#
|
|
# Proot-Distro - manage proot containers.
|
|
#
|
|
# Created by Sylirre <sylirre@termux.dev> for Termux project.
|
|
# Development assisted by Claude Code (https://claude.ai/code).
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
from proot_distro.cli import main
|
|
if __name__ == "__main__":
|
|
main()
|