message: refactor: address review comments from
  That PR was merged in a rush, so this is the follow-up commit addressing
  the review comments made there.
  See:
diff: @@ -313,26 +313,27 @@ else
  ELECTRON_BUILDER_LINUX_UNPACKED_DIRECTORY = linux-$(TARGET_ARCH_ELECTRON_BUILDER)-unpacked
  endif
  -$(BUILD_DIRECTORY)/$(ELECTRON_BUILDER_LINUX_UNPACKED_DIRECTORY):
  +$(BUILD_DIRECTORY)/$(ELECTRON_BUILDER_LINUX_UNPACKED_DIRECTORY)/$(APPLICATION_NAME_ELECTRON): | $(BUILD_DIRECTORY)
  $(NPX) build --dir --linux $(ELECTRON_BUILDER_OPTIONS) \
  --extraMetadata.name=$(APPLICATION_NAME_ELECTRON) \
  --extraMetadata.version=$(APPLICATION_VERSION) \
  --extraMetadata.packageType=AppImage
  + touch $@
  -$(BUILD_DIRECTORY)/$(APPLICATION_NAME)-$(APPLICATION_VERSION)-$(PLATFORM).AppDir: \
  - $(BUILD_DIRECTORY)/$(ELECTRON_BUILDER_LINUX_UNPACKED_DIRECTORY) \
  +$(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-$(PLATFORM).AppDir: \
  + $(BUILD_DIRECTORY)/$(ELECTRON_BUILDER_LINUX_UNPACKED_DIRECTORY)/$(APPLICATION_NAME_ELECTRON) \
  | $(BUILD_DIRECTORY)
  ./scripts/build/electron-create-appdir.sh \
  -n $(APPLICATION_NAME) \
  -d "$(APPLICATION_DESCRIPTION)" \
  - -p $< \
  + -p $(dir $<) \
  -r $(TARGET_ARCH) \
  -b $(APPLICATION_NAME_ELECTRON) \
  -i assets/icon.png \
  -o $@
  $(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-$(TARGET_ARCH_APPIMAGE).AppImage: \
  - $(BUILD_DIRECTORY)/$(APPLICATION_NAME)-$(APPLICATION_VERSION)-$(PLATFORM).AppDir \
  + $(BUILD_DIRECTORY)/$(APPLICATION_NAME_LOWERCASE)-$(APPLICATION_VERSION)-$(PLATFORM).AppDir \
  | $(BUILD_DIRECTORY) $(BUILD_TEMPORARY_DIRECTORY)
  ./scripts/build/electron-create-appimage-linux.sh \
  -d $< \
  