|
1 | 1 | # fs-manager-udroid |
| 2 | + |
2 | 3 | A tool manage common things with ubuntu-on-android |
3 | 4 | & some scripts and linux apps |
4 | 5 |
|
5 | | -[](https://www.codefactor.io/repository/github/randomcoderorg/fs-manager-udroid) |
6 | | -<!-- |
7 | | -## Target to V01 |
8 | | -- [X] upgrade system |
9 | | -- [X] launch shorcuts vncserver and others ( [0530e7965907002c614e70c6f8a398c6b9d13fd8](https://github.com/RandomCoderOrg/fs-manager-udroid/commit/0530e7965907002c614e70c6f8a398c6b9d13fd8) to [5a4ee56e9219988b24204e8b49787a8f7ed3b8ef](https://github.com/RandomCoderOrg/fs-manager-udroid/commit/5a4ee56e9219988b24204e8b49787a8f7ed3b8ef) ) |
10 | | - --> |
| 6 | +## Manual installation |
| 7 | + |
| 8 | +```bash |
| 9 | +git clone https://github.com/RandomCoderOrg/fs-manager-udroid.git |
| 10 | +cd fs-manager-udroid |
| 11 | +bash install.sh |
| 12 | +``` |
| 13 | + |
| 14 | +## Usage |
| 15 | + |
| 16 | +```cmd |
| 17 | +udroid <option> [<options>] [<suite>]:[<varient>] |
| 18 | +
|
| 19 | +options: |
| 20 | + install, -i [<options>] <suite>:<varient> install a distro |
| 21 | + remove, --remove <suite>:<varient> remove a distro |
| 22 | + list, --list [options] list distros |
| 23 | + login, --login <suite>:<varient> login to a distro |
| 24 | + upgrade, --upgrade upgrade udroid scripts |
| 25 | + help, --help show this help message and exit |
| 26 | + --update-cache update cache from remote |
| 27 | + --clear-cache clear downloaded cache |
| 28 | +``` |
| 29 | + |
| 30 | +three main arguments `install`, `login`, `remove` |
| 31 | + |
| 32 | +### install ( `-i` ) |
| 33 | + |
| 34 | +```bash |
| 35 | +udroid -i jammy:raw |
| 36 | +``` |
| 37 | + |
| 38 | +install argument takes a strings of two words seperated by `:` left side is suite name and right is varient name |
| 39 | + |
| 40 | +More Avalible examples |
| 41 | + |
| 42 | +```bash |
| 43 | +udroid -i impish:raw |
| 44 | +udroid -i impish:xfce |
| 45 | +udroid -i impish:mate |
| 46 | +``` |
| 47 | + |
| 48 | +```bash |
| 49 | +udroid -i focal:xfce4 |
| 50 | +``` |
| 51 | + |
| 52 | +###### help |
| 53 | + |
| 54 | +```cmd |
| 55 | +udroid [ install| -i ] [<options>] [<suite>]:[<varient>] |
| 56 | +installs udroid distros |
| 57 | +options: |
| 58 | + -h, --help show this help message and exit |
| 59 | + --no-verify-integrity do not verify integrity of filesystem |
| 60 | +
|
| 61 | +example: |
| 62 | + udroid install jammy:raw |
| 63 | + udroid install --install jammy:raw |
| 64 | +``` |
| 65 | + |
| 66 | +> `--install` with no extra options install best picked distro ( deprecated ) |
| 67 | +
|
| 68 | +### login (`login`) |
| 69 | + |
| 70 | +```bash |
| 71 | +udroid --login jammy:raw |
| 72 | +# or |
| 73 | +udroid login jammy:raw # same as above |
| 74 | +``` |
| 75 | + |
| 76 | +###### help |
| 77 | +```cmd |
| 78 | +udroid [ login| --login ] [<options>] <suite>:<varient> <cmd> |
| 79 | +login to a suite |
| 80 | +
|
| 81 | +options: |
| 82 | + -h, --help: show this help message and exit |
| 83 | + --user: Allows the user to specify the login user for the filesystem. |
| 84 | + --name: Allows the user to specify a custom name for the filesystem to install |
| 85 | + --bind or -b: Allows the user to specify extra mount points for the filesystem. |
| 86 | + --isolated: Creates an isolated environment for the filesystem. |
| 87 | + --fix-low-ports: Fixes low ports for the filesystem. |
| 88 | + --no-shared-tmp: Disables shared tmp for the filesystem. |
| 89 | + --no-link2symlink: Disables link2symlink for the filesystem. |
| 90 | + --no-sysvipc: Disables sysvipc for the filesystem. |
| 91 | + --no-fake-root-id: Disables fake root id for the filesystem. |
| 92 | + --no-cap-last-cap: Disables cap last cap fix mount for the filesystem.(only per session) |
| 93 | + --no-kill-on-exit: Disables kill on exit for the filesystem. |
| 94 | +
|
| 95 | +<cmd>: |
| 96 | + command to run in the filesystem and exit |
| 97 | +``` |
| 98 | + |
| 99 | +### remove (`remove`) |
| 100 | + |
| 101 | +```bash |
| 102 | +udroid remove jammy:raw |
| 103 | +``` |
| 104 | + |
| 105 | +###### help |
| 106 | + |
| 107 | +```cmd |
| 108 | +udroid [ remove| --remove ] <distro> |
| 109 | +removes udroid distros |
| 110 | +example: |
| 111 | + udroid remove jammy:raw |
| 112 | + udroid remove --remove jammy:raw |
| 113 | +``` |
| 114 | + |
| 115 | +> Download cache is ignored |
| 116 | +
|
| 117 | + |
| 118 | +## Contributing |
| 119 | + |
| 120 | +for now there is no guide for contributing. try to look at code and make a pull request if you have any corrections or improvements ( 💟 ) |
0 commit comments