getDesktopFilePath method

String getDesktopFilePath(
  1. ProtocolScheme scheme
)

Returns suitable path for the scheme's .desktop file.

Implementation

String getDesktopFilePath(ProtocolScheme scheme) => p.join(
      Platform.environment['HOME']!,
      '.local',
      'share',
      'applications',
      '${scheme.scheme}.desktop',
    );