Skip to content

Commit

Permalink
Merge pull request #3747 from balena-io/next-release
Browse files Browse the repository at this point in the history
patch: deb afterinstall and readme updates
  • Loading branch information
bulldozer-balena[bot] committed Apr 22, 2022
2 parents 549d744 + 61610de commit 59d6722
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Expand Up @@ -27,6 +27,7 @@ Makefile text
*.yml text
*.patch text
*.txt text
*.tpl text
CODEOWNERS text
*.plist text

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@
Etcher is a powerful OS image flasher built with web technologies to ensure
flashing an SDCard or USB drive is a pleasant and safe experience. It protects
you from accidentally writing to your hard-drives, ensures every byte of data
was written correctly, and much more. It can also directly flash Raspberry Pi devices that support [USB device boot mode](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/device.md).
was written correctly, and much more. It can also directly flash Raspberry Pi devices that support [USB device boot mode](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#usb-device-boot-mode).

[![Current Release](https://img.shields.io/github/release/balena-io/etcher.svg?style=flat-square)](https://balena.io/etcher)
[![License](https://img.shields.io/github/license/balena-io/etcher.svg?style=flat-square)](https://github.com/balena-io/etcher/blob/master/LICENSE)
Expand Down
11 changes: 11 additions & 0 deletions after-install.tpl
@@ -0,0 +1,11 @@
#!/bin/bash

# Link to the binary
# Must hardcode balenaEtcher directory; no variable available
ln -sf '/opt/balenaEtcher/${executable}' '/usr/bin/${executable}'

# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/balenaEtcher/chrome-sandbox' || true

update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true
1 change: 1 addition & 0 deletions electron-builder.yml
Expand Up @@ -87,6 +87,7 @@ deb:
- libxss1
- libxtst6
- polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1
afterInstall: "./after-install.tpl"
rpm:
depends:
- util-linux
Expand Down
2 changes: 1 addition & 1 deletion repo.yml
Expand Up @@ -6,7 +6,7 @@ sentry:
team: resinio
type: electron
triggerNotification:
version: 1.7.8
version: 1.7.9
stagingPercentage: 100
upstream:
- repo: etcher-sdk
Expand Down

0 comments on commit 59d6722

Please sign in to comment.