 
 packager = require 'electron-packager'
 deb_installer = require 'electron-installer-debian'
+win_installer = require 'electron-installer-windows'
 
 scriptdir = (__dirname + '')
 

            console.error( error )
        else
            console.log " -- Created Debian Installer for PMan -- "
            do complete

    deb_installer(options, dicb)

# 'main' function
do ->
    # get parameters
    actionNames = process.argv[2..]
    tasks = do ->
        for name in actionNames
            if name of actions
                actions[name]
    
    taskCallback = (error) ->
        if error?
            console.error error

    plan
        platform: 'linux'

    # Windows Build for ia32
    plan
        platform: 'win32'
        arch: 'ia32'

    # Windows Build for x64
    plan
        platform: 'win32'
        arch: 'x64'

    async.series builds, (error, paths) ->
        if error?
