Skip to content

Commit

Permalink
MEN_CreateIssueOnGithub: Workaround issue on MacOSX
Browse files Browse the repository at this point in the history
Somehow the operation BrowseURL does not work on MacOSX catalina of the
author.

This could be some security feature issue, so let's just inform the user
what to do.
  • Loading branch information
t-b committed Aug 25, 2023
1 parent 0ecb0b0 commit 86aa2e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Packages/MIES/MIES_Menu.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,16 @@ Function MEN_CreateIssueOnGithub()

sprintf url, "https://github.com/AllenInstitute/MIES/issues/new?title=%s&body=%s", URLEncode(title), URLEncode(body)

#if defined(WINDOWS)
BrowseURL(url)
#elif defined(MACINTOSH)
printf "##############################\r"
print body
printf "##############################\r"
printf "Please paste the text between the hashtags into a new issue at: https://github.com/AllenInstitute/MIES/issues/new\r"
#else
ASSSERT(0, "Unsupported OS")
#endif
End

Function MEN_ClearPackageSettings()
Expand Down

0 comments on commit 86aa2e2

Please sign in to comment.