Skip to content

Commit

Permalink
Add explicit TODO comment in preinstall script for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Nov 14, 2024
1 parent 7c90348 commit e40b2f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist-assets/pkg-scripts/preinstall
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ INSTALL_DIR=$2

# Workaround for issue in electron-builder where the pkg-scripts are run twice, once with the
# correct install dir and once with an incorrect one. This guard prevents running the script when
# called the second time. This can be reverted when the following issue has been fixed:
# called the second time.
#
# TODO: This can be reverted when the following issue has been fixed:
# https://github.com/electron-userland/electron-builder/issues/8166
if [[ $INSTALL_DIR == *"Mullvad VPN.app" ]]; then
exit 0
Expand Down

0 comments on commit e40b2f4

Please sign in to comment.