| Copyright | 2020 Gabriele Sales |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Distribution.AppImage
Description
This module provides a custom build hook for automating the creation of AppImage bundles.
Internally, it calls the appimagetool and linuxdeploy utilities which must be already present on the system.
Synopsis
- data AppImage = AppImage {
- appName :: String
- appDesktop :: FilePath
- appIcons :: [FilePath]
- appResources :: [(FilePath, Maybe FilePath)]
- appDirCustomize :: Maybe AppDirCustomize
- type AppDirCustomize = FilePath -> Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ()
- appImageBuildHook :: [AppImage] -> Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ()
Documentation
Constructors
| AppImage | |
Fields
| |
type AppDirCustomize Source #
Arguments
| = FilePath | AppDir path. |
| -> Args | Other parameters as defined in |
| -> BuildFlags | |
| -> PackageDescription | |
| -> LocalBuildInfo | |
| -> IO () |
Arguments
| :: [AppImage] | Applications to build. |
| -> Args | Other parameters as defined in |
| -> BuildFlags | |
| -> PackageDescription | |
| -> LocalBuildInfo | |
| -> IO () |
Hook for building AppImage bundles. Does nothing if the OS is not Linux.
Use this function as a postBuild hook.