Skip to content

Commit

Permalink
fix swiftDialog URL
Browse files Browse the repository at this point in the history
  • Loading branch information
grahampugh committed Dec 8, 2023
1 parent 8c81c10 commit dde6da0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ build:

@echo
swiftdialog_version=$$(awk -F '=' '/swiftdialog_version_required=/ {print $$NF}' $(CURDIR)/erase-install.sh | tr -d '"') ;\
swiftdialog_tag=$$( awk -F '-' '{print $$1}' <<< "$$swiftdialog_version") ;\
echo "## Downloading swiftDialog v$$swiftdialog_version" ;\
swiftdialog_url="https://github.com/bartreardon/swiftDialog/releases/download/v$$swiftdialog_tag/dialog-$$swiftdialog_version.pkg" ;\
swiftdialog_url="https://github.com/swiftDialog/swiftDialog/releases/download/v$$swiftdialog_version/dialog-$$swiftdialog_version.pkg" ;\
curl -L "$$swiftdialog_url" -o "$(PKG_SCRIPTS)/dialog.pkg"

@echo
Expand Down
3 changes: 1 addition & 2 deletions erase-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ mist_download_url="https://github.com/ninxsoft/mist-cli/releases/download/v${mis
# URL for downloading swiftDialog (with tag version)
# This ensures a compatible swiftDialog version is used if not using the package installer
swiftdialog_version_required="2.3.3-4734"
swiftdialog_tag_required=$(cut -d"-" -f1 <<< "$swiftdialog_version_required")
dialog_download_url="https://github.com/swiftDialog/swiftDialog/releases/download/v${swiftdialog_tag_required}/dialog-${swiftdialog_version_required}.pkg"
dialog_download_url="https://github.com/swiftDialog/swiftDialog/releases/download/v${swiftdialog_version_required}/dialog-${swiftdialog_version_required}.pkg"

# URL for downloading swiftDialog on macOS 11 (with tag version)
# This ensures a compatible swiftDialog version is used if not using the package installer
Expand Down

0 comments on commit dde6da0

Please sign in to comment.