mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
2442e0d6b6
Summary: Getting rid of things that I'm pretty sure we don't need. Lmk if you see anything to the otherwise. Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D1799
12 lines
404 B
CoffeeScript
12 lines
404 B
CoffeeScript
path = require 'path'
|
|
|
|
module.exports = (grunt) ->
|
|
grunt.registerTask 'set-exe-icon', 'Set icon of the exe', ->
|
|
done = @async()
|
|
|
|
shellAppDir = grunt.config.get('atom.shellAppDir')
|
|
shellExePath = path.join(shellAppDir, 'edgehill.exe')
|
|
iconPath = path.resolve('build', 'resources', 'win', 'edgehill.ico')
|
|
|
|
rcedit = require('rcedit')
|
|
rcedit(shellExePath, {'icon': iconPath}, done)
|