Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ubports/ubports-installer
A simple tool to install Ubuntu Touch on UBports devices
https://github.com/ubports/ubports-installer
desktop-tool electron nodejs
Last synced: 3 months ago
JSON representation
A simple tool to install Ubuntu Touch on UBports devices
- Host: GitHub
- URL: https://github.com/ubports/ubports-installer
- Owner: ubports
- License: gpl-3.0
- Created: 2017-02-08T21:44:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-11T19:26:28.000Z (6 months ago)
- Last Synced: 2024-05-12T16:54:57.463Z (6 months ago)
- Topics: desktop-tool, electron, nodejs
- Language: JavaScript
- Homepage: https://github.com/ubports/ubports-installer/releases
- Size: 14.5 MB
- Stars: 524
- Watchers: 34
- Forks: 116
- Open Issues: 1,527
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# UBports Installer ![Continuous Integration](https://github.com/ubports/ubports-installer/workflows/Continuous%20Integration/badge.svg) [![snap](https://snapcraft.io//ubports-installer/badge.svg)](https://snapcraft.io/ubports-installer) [![codecov](https://codecov.io/gh/ubports/ubports-installer/branch/master/graph/badge.svg?token=cEneFUUbgt)](https://codecov.io/gh/ubports/ubports-installer/)
Fear not! Installing [UBports](https://ubports.com) [Ubuntu Touch](https://ubuntu-touch.io) on your [device](https://devices.ubuntu-touch.io) is easy! Just download the UBports Installer package for your operating system and sit back and relax while your computer does all the rest. Installing third-party operating systems has never been so easy!
| ![linux logo](https://i.ibb.co/CPq1pL9/linux.png) Linux | ![mac logo](https://i.ibb.co/Qn2NXq9/apple.png) macOS | ![windowslogo](https://i.ibb.co/RNk81kH/windows10.png) Windows |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------: | :-------------------------------------------------------------------: |
| [snap](https://snapcraft.io/ubports-installer)
`snap install ubports-installer`
[AppImage](https://devices.ubuntu-touch.io/installer?package=appimage)
[deb](https://devices.ubuntu-touch.io/installer?package=deb) | [dmg](https://devices.ubuntu-touch.io/installer?package=dmg) | [exe](https://devices.ubuntu-touch.io/installer?package=exe) |## Troubleshooting
Troubleshooting information can be found [in the docs](https://docs.ubports.com/en/latest/userguide/install.html). If you need help, you can join UBports' support channels on [telegram](https://t.me/WelcomePlus) or [matrix](https://matrix.to/#/!KwdniMNeTmClpgHkND:matrix.org?via=matrix.org&via=ubports.chat&via=disroot.org) or ask a question [in the forum](https://forums.ubports.com/) or on [askubuntu](https://askubuntu.com). If you believe that the UBports Installer is not working correctly, you can also [file a new issue](https://github.com/ubports/ubports-installer/issues/new) to help us solve the problem. Use the _Report a bug_ button directly in the installer to generate a template for a bugreport with all the important metadata automatically filled out.
## Config files
By default, the Installer will always use the latest version of the [installation configuration files](https://github.com/ubports/installer-configs) available. Should you want to specify a custom config file, you can do that by starting the Installer with the `-f ./path/to/config.yml` argument. This can be used to test changes to the configuration or even to add new devices to the installer. The [structure of the config files is specified here](https://github.com/ubports/installer-configs#readme).
## Logs
If the installer runs into an error, it will usually present you with the option to create a bug report. It is always a good idea to make use of that feature, because that way the developers will almost always have all the information they need to help you. If you still have to look at the log file for some reason, you can find it in `~/.cache/ubports/ubports-installer.log` on linux (or `~/snap/ubports-installer/current/.cache/ubports/ubports-installer.log` if you're using the snap package). On Windows, it will be located at `%APPDATA%\ubports\ubports-installer.log` and on macOS you can find it under `$HOME/Library/Caches/ubports/ubports-installer.log`.
## Set up for development
Ensure you have properly installed [`nodejs` and `npm`](https://nodejs.org/en/download/package-manager/).
```
git clone https://github.com/ubports/ubports-installer.git
cd ubports-installernpm install
```### Run with npm
```
$ npm start -- -h
Usage: npm start -- [-f ] [-v[v] [-d]UBports Installer (0.7.2-beta) source for linux
GPL-3.0 UBports Foundation
The easy way to install Ubuntu Touch on UBports devices. A friendly cross-platform Installer for Ubuntu Touch. Just connect a supported device to your PC, follow the on-screen instructions and watch this awesome tool do all the rest.
https://devices.ubuntu-touch.ioOptions:
-V, --version output the version number
-f, --file Override the official config by loading a YAML local file
-v, --verbose Print debugging information. Multiple -v options increase the verbosity
-d, --debug Enable electron's web debugger to inspect the frontend (default: false)
--systemimage Set a custom systemimage server url (default:
"https://system-image.ubports.com/")
-h, --help display help for command
```### Lint
Before filing a PR, please make sure you follow our coding style by running `npm run lint`.
### Build packages
```
$ ./build.js --help
Usage: ./build.js -o -p -a [options]Options:
-V, --version output the version number
-o, --os Target operating system (darwin, win32, linux) (default: "linux")
-p, --package Target package (deb, snap, AppImage, dmg, portable, dir) (default: "dir")
-a, --arch Target architecture (armv7l, x64, ia32, arm64) (default: "x64")
-e, --extra-metadata [JSON] extra data for package.json (default: "{}")
-h, --help output usage information
```## Libraries
The UBports Foundation maintains a various free- and open-source NPM libraries for the UBports Installer.
| Package | Version | Description |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `progressive-downloader` | [![version](https://shields.io/npm/v/progressive-downloader)](https://www.npmjs.com/package/progressive-downloader) | Parallel downloads and opportunistic checksum verification |
| `promise-android-tools` | [![version](https://shields.io/npm/v/promise-android-tools)](https://www.npmjs.com/package/promise-android-tools) | Extensive wrapper for ADB, Fastboot, Heimdall |
| `android-tools-bin` | [![version](https://shields.io/npm/v/android-tools-bin)](https://www.npmjs.com/package/android-tools-bin) | Cross-platform binaries for ADB, Fastboot, Heimdall |
| `open-cuts-reporter` | [![version](https://shields.io/npm/v/open-cuts-reporter)](https://www.npmjs.com/package/open-cuts-reporter) | Report test results to [UBports OPEN-CUTS](https://www.open-cuts.org/) |## License
Original development by [Marius Gripsgård](http://mariogrip.com/) and [Johannah Sprinz](https://spri.nz). Copyright (C) 2017-2022 [UBports Foundation](https://ubports.com).
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 .