#!/bin/bash set -e # shellcheck disable=SC1091 source scripts/helpers/run-job.sh # shellcheck disable=SC1091 source scripts/helpers/display-env.sh # hilarious fix: to make linux icon we have to remove icon.png from build folder # some context: # - https://github.com/electron-userland/electron-builder/issues/2577 # - https://github.com/electron-userland/electron-builder/issues/2269 if [[ $(uname) == 'Linux' ]]; then runJob \ "dirty fix to handle linux icon..." \ "successfully applied dirty fix to handle linux icon" \ "failed to apply dirty fix to handle linux icon" \ <