Skip to content
Permalink
Browse files

Use etcher-electron.sh as Etcher's entry point

- Edit `etcher-electron.sh` to point to the real `etcher` binary
- Symlink `etcher-electron.sh` to /usr/bin/etcher

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information...
jviotti committed Jun 8, 2017
1 parent 30dbeae commit a40b13ddca1d0c4389205a353ad8dcba67887b60
Showing with 2 additions and 2 deletions.
  1. +1 −1 etcher/files/etcher-electron.sh
  2. +1 −1 etcher/package.yml
@@ -3,4 +3,4 @@
cd /usr/share/etcher/
./etcher
export ETCHER_DISABLE_UPDATES=1
/usr/lib/etcher-electron/etcher "$@"
/usr/share/etcher/etcher "$@"
@@ -38,7 +38,7 @@ install : |
#move etcher-electron.sh to /usr/share folder. File disables automatic updates for GUI.
install -Dm 00644 $pkgfiles/etcher-electron.sh $installdir/usr/share/etcher/etcher-electron.sh
ln -s /usr/share/etcher/etcher $installdir/usr/bin/
ln -s /usr/share/etcher/etcher-electron.sh $installdir/usr/bin/etcher
#Desktop File

0 comments on commit a40b13d

Please sign in to comment.
You can’t perform that action at this time.