Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Internet Shortcut, support for FileMaker links #34

Open
kMikaZu opened this issue Dec 31, 2024 · 0 comments
Open

Create Internet Shortcut, support for FileMaker links #34

kMikaZu opened this issue Dec 31, 2024 · 0 comments

Comments

@kMikaZu
Copy link

kMikaZu commented Dec 31, 2024

Situation

I implemented this script successfully and tried to add a link to a FileMaker database.

The link structure is as follows: FMP://fms.server.com/name_database and is as such being used for the HOSTNAME variable.

I added the following section to the script:

if [[ $HOSTNAME == fmp* ]]; then
    FILEEXT=inetloc
    DEFAULTICON="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericFileServerIcon.icns"
fi

I also defined both the DISPLAYNAME and ICON variables.

Problem

The problem is that:

  • the icon is not being accepted (generic icon is being applied)
  • the desktop shortcut is being added every time after a login and as such doubles up every time.

Thanks for having a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant