🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

grunt-appimage

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-appimage

Grunt task to create AppImages.

latest
Source
npmnpm
Version
0.6.0
Version published
Maintainers
1
Created
Source

grunt-appimage Build Status

Grunt task to create AppImages.

A simple way to automate the creation of GNU/Linux AppImages (http://appimage.org).

NPM

Install

$ npm install grunt-appimage --save-dev

Usage

grunt.initConfig({
  appimage: {
    myapp: {
      options: {
        name: 'MyApp',
        exec: 'myapp',
        arch: '64bit',
        icons: 'path/to/icons',
        comment: 'Awesome App',
        archive: 'path/to/MyApp.AppImage'
        install: true
      },
      files: [{
        src: 'path/to/myapp'
      }]
    }
  }
});

Files

Standard grunt files. More information.

Options

name

Required
Type: String

Application name.

exec

Required
Type: String

Executable file path.

arch

Type: String
Default: 64bit

AppImage architecture: 32bit, 64bit.

icons

Type: String
Default: <empty>

Icons path. More information.

comment

Type: String
Default: <empty>

Comments about the application.

archive

Required
Type: String Function
Mode: AppImage

This is used to define where to output the archive. Each target can only have one output file. If the type is a Function it must return a String.

install

Type: Boolean
Default: true

This flag enables an installation message when the AppImage is launched to install the application (desktop launch and icons).

Examples

grunt.initConfig({
  appimage: {
    myapp: {
      options: {
        name: 'MyApp'
        exec: 'myapp',
        archive: 'dist/MyApp.AppImage'
      },
      src: 'dist/MyApp/myapp'
    }
  }
});
grunt.initConfig({
  appimage: {
    myapp32: {
      options: {
        name: 'MyApp'
        exec: 'app',
        arch: '32bit'
        archive: 'dist/MyApp-32.AppImage'
      },
      files: [{
        src: 'dist/MyApp/*'
      }]
    },
    myapp64: {
      options: {
        name: 'MyApp'
        exec: 'app',
        arch: '64bit'
        archive: 'dist/MyApp-64.AppImage'
      },
      files: [{
        src: 'dist/MyApp/*'
      }]
    }
  }
});
grunt.initConfig({
  appimage: {
    myapp: {
      options: {
        name: 'MyApp'
        exec: 'app',
        icons: 'res/icons',
        comment: 'Awesome App',
        archive: 'dist/MyApp.AppImage',
        install: false
      },
      files: [
        {src: 'dist/MyApp/*', dot: true},
        {src: 'dist/extra/*', dest: 'extra/', filter: 'isFile'}
      ]
    }
  }
});

Keywords

gruntplugin

FAQs

Package last updated on 29 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts