UNPKG

electron-deeplink

Version:

Node module for Electron apps that sets the default handler for a given protocol (deeplinks) in both development and production environments.

16 lines (14 loc) 293 B
const infoPlistTemplate = ` <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>{PROTOCOL}</string> <key>CFBundleURLSchemes</key> <array> <string>{PROTOCOL}</string> </array> </dict> </array> </dict> </plist>`; export { infoPlistTemplate };