cabal-appimage-0.2.0: Cabal support for creating AppImage applications

Copyright2020 Gabriele Sales
Safe HaskellNone
LanguageHaskell2010

Distribution.AppImage

Description

This module provides a custom build hook that automatically wraps executables inside AppImage bundles.

Internally, it calls the appimagetool and linuxdeploy utilities which must be already installed on the system.

Synopsis

Documentation

data AppImage Source #

Constructors

AppImage 

Fields

  • appName :: String

    Application name. The AppImage bundle will be produced in dist/build/appName.AppImage and will contain the executable appName.

  • appDesktop :: FilePath

    Path to desktop file.

  • appIcon :: FilePath

    Path to icon file.

  • appResources :: [FilePath]

    Other files to include in the application bundle. Will be copied in the /usr/share/appName directory inside the image.

Instances
Eq AppImage Source # 
Instance details

Defined in Distribution.AppImage

Show AppImage Source # 
Instance details

Defined in Distribution.AppImage

appImageBuildHook Source #

Arguments

:: [AppImage]

Applications to build.

-> Args

Other parameters as defined in postBuild.

-> BuildFlags 
-> PackageDescription 
-> LocalBuildInfo 
-> IO () 

Hook for building AppImage bundles. Does nothing if the OS is not Linux.

Use this function as a postBuild hook.