Copyright | 2020 Gabriele Sales |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
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
- data AppImage = AppImage {
- appName :: String
- appDesktop :: FilePath
- appIcon :: FilePath
- appResources :: [FilePath]
- appImageBuildHook :: [AppImage] -> Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ()
Documentation
AppImage | |
|
:: [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.