Commit 00b3d84e authored by rgaudin's avatar rgaudin
Browse files

Updated etcher-cli to 1.4.8 (macOS and linux only)

parent 40e8b1e7
......@@ -49,9 +49,9 @@ matrix:
- tar xf qemu-2.12.0_macOS.tar
# Bundle Etcher-cli
- wget http://mirror.download.kiwix.org/dev/etcher-cli-1.4.5-darwin-x64.tar.gz
- wget http://download.kiwix.org/dev/balena-etcher-cli-1.4.8-darwin-x64.tar.gz
- mkdir -p etcher-cli
- tar xf etcher-cli-1.4.5-darwin-x64.tar.gz -C etcher-cli --strip-components=1
- tar xf balena-etcher-cli-1.4.8-darwin-x64.tar.gz -C etcher-cli --strip-components=1
# Run PyInstaller
- pyinstaller --log-level=DEBUG kiwix-hotspot-macos.spec
......@@ -126,9 +126,9 @@ matrix:
- tar xf qemu-2.12.0-linux-x86_64.tar.gz
# Bundle Etcher-cli
- wget http://mirror.download.kiwix.org/dev/etcher-cli-1.4.5-linux-x64.tar.gz
- wget http://download.kiwix.org/dev/balena-etcher-cli-1.4.8-linux-x64.tar.gz
- mkdir -p etcher-cli
- tar xf etcher-cli-1.4.5-linux-x64.tar.gz -C etcher-cli --strip-components=1
- tar xf balena-etcher-cli-1.4.8-linux-x64.tar.gz -C etcher-cli --strip-components=1
# Install python dependancies
- pip3 install -r requirements-linux.txt
......
......@@ -3,6 +3,7 @@
* Better etcher log output on macOS
* Log now timestamped
* Log now includes full configuration and version
* Updated etcher-cli to 1.4.8 (macOS and linux only)
2.0
* Updated python dependencies
......
......@@ -340,7 +340,11 @@ def get_etcher_command(image_fpath, device_fpath, logger, from_cli):
log_file = None
cmd = [
os.path.join(data.data_dir, "etcher-cli", "etcher"),
os.path.join(
data.data_dir,
"etcher-cli",
"etcher" if sys.platform == "win32" else "balena-etcher",
),
"-c",
"-y",
"-u",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment