Class MNDesktopFile

java.lang.Object
com.io7m.montarre.nativepack.internal.flatpak.MNDesktopFile

public final class MNDesktopFile extends Object
Functions to generate desktop files.
See Also:
  • "https://standards.freedesktop.org/desktop-entry-spec/latest/"
  • Method Details

    • createDesktopFile

      public static List<String> createDesktopFile(MPackageDeclaration packageV)
      Generate the lines of a desktop file.
      Parameters:
      packageV - The package
      Returns:
      The lines of the file
    • createDesktopFileText

      public static String createDesktopFileText(MPackageDeclaration packageV)
      Generate the text of a desktop file.
      Parameters:
      packageV - The package
      Returns:
      The text of the file