Giter Club home page Giter Club logo

usb-sd-creator's Introduction

LibreELEC USB/SD Creator

This is a lightweight image writing app with a simple four-step GUI for creating LibreELEC USB/SD Card installation media on Linux, macOS and Windows. It automatically displays the currently available downloads (defaulting to the latest release) and detects OS locale to switch the GUI to a matching local language.

Translation Changes

Changes to master language (en_GB) strings can be submitted via pull request to this GitHub repo. English strings are periodically synchronised to a Transifex project: https://www.transifex.com/libreelec/libreelec-usb-sd-creator allowing contributors to translate them into other languages. Translated strings are periodically synchronised from Transifex back to this repo for inclusion in the next release.

Pull requests for all other languages will be rejected. You will be asked to submit changes via Transifex.

Translation Languages

Requests for new languages should be made on Transifex. Once a new language has been approved it will be added to the translation project where you can conribute translated strings.

Please note: languages are translated by people (you) not magic!

Issues and Support

Issues should be reported via the forum here: https://forum.libreelec.tv/board/41-usb-sd-creator-support

How to compile the USB/SD Creator

Windows

1. install "Qt Online Installer"

select: Custom install -> select QT 6.6.2 -> disable all besides MinGW Install to C:\QT

2. Install 7zip

https://www.7-zip.org/download.html

3. Install Git

https://git-scm.com/download/win

4. Install Ruby

https://rubyinstaller.org/downloads/ select "WITHOUT DEVKIT" for download

5. Install Perl

https://www.activestate.com/products/perl/ (needs registration) or

https://www.softpedia.com/get/Programming/Coding-languages-Compilers/ActivePerl.shtml

6. Install Python

https://www.python.org/downloads/windows/ select Windows installer (64-bit) for download at install select "Add Python to PATH"

7. Add programs to PATH variable

C:\Qt\Tools\Ninja C:\Qt\Tools\CMake_64\bin

reboot Windows

8. Clone Git Repo

Clone the repository to C:\usb-sd-creator git clone https://github.com/LibreELEC/usb-sd-creator.git

9. Enable powershell script execution

Open cmd with admin rights powershell Set-ExecutionPolicy RemoteSigned

10. Build static Qt files

Compiling needs around 13GB RAM.

Open powershell at C:\usb-sd-creator .\windows_qt_build_static.ps1

After the compiling is finished the files are located at C:\Qt\static\$version .

11. Build USB-SD-Creator

Open a cmd at C:\usb-sd-creator and run windows_build.bat. The finished executable is located at C:\usb-sd-creator\releases.

MacOS

Building for MacOS

1. Install XCode with Command-line tools

2. Setup QT 6.6.2 (static build or shared)

Static build

Open a command prompt and type the following in the console:

mkdir -p ~/Downloads ~/Qt
cd ~/Downloads

wget https://download.qt.io/official_releases/qt/6.6/6.6.2/single/qt-everywhere-src-6.6.2.tar.xz
tar xf qt-everywhere-src-6.6.2.tar.xz
cd qt-everywhere-src-6.6.2
./configure -static -no-shared -release -opensource -confirm-license -silent -prefix ~/Qt/6.6.2-static -nomake examples -nomake tests -no-strip -no-cups -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-harfbuzz -qt-freetype
ninja qtbase/all qttools/all
ninja install

Shared library

TODO

4. Build USB-SD-Creator

Assuming the repo is in your home directory

cd ~/usb-sd-creator

./osx_build.sh

If building again cleanup using:

./osx_clean.sh

5. Run USB-SD-Creator

Open the app

Simply double click the app from a finder window in the root of the repo: LibreELEC USB-SD Creator

Command line

Run the app from the command line, that will prompt for a password:

./LibreELEC\ USB-SD\ Creator.app/Contents/MacOS/LibreELEC\ USB-SD\ Creator

Or:

Run the app from the command line using sudo

sudo ./LibreELEC\ USB-SD\ Creator.app/Contents/MacOS/LibreELEC\ USB-SD\ Creator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.