{"size": 853, "ext": "js", "max_stars_repo_path": "build.js", "max_stars_repo_name": "lixinliang/ps-table", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "build.js", "max_issues_repo_name": "lixinliang/ps-table", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "build.js", "max_forks_repo_name": "lixinliang/ps-table", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.8484848485, "max_line_length": 74, "alphanum_fraction": 0.5603751465}
#!/usr/bin/env node

'use strict';

const fs = require('fs');
const path = require('path');
const packager = require('/usr/local/lib/node_modules/electron-packager');

let folder = __dirname;
let dest = path.join(folder, 'dest');
packager({
    'arch' : 'x64',
    'platform' : 'darwin',
    'dir' : `${ folder }`,
    'out' : `${ dest }`,
    'icon' : `${ path.join(folder, './logo.icns') }`,
    'ignore' : ['.DS_Store'],
    'overwrite' : true,
    'electronVersion' : '1.4.12',
    'appCopyright' : 'Copyright (c) 2017 lixinliang',
    'version-string':{
        'ProductName' : 'Photoshop Table',
        'InternalName' : 'Photoshop Table',
        'OriginalFilename' : 'Photoshop Table',
        'CompanyName' : 'lixinliang',
        'FileDescription' : 'Photoshop Table',
    },
}, ( err ) => {
    if (err) {
        console.log(err);
    }
});
