Skip to content

Commit 3b8d9a9

Browse files
committed
Set FileDescription for Windows
1 parent dc9fab4 commit 3b8d9a9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tasks/build.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const where = require('./helper').where
22

3+
const package = require('../package.json')
34
const packager = require('electron-packager')
45
const path = require('path')
56

@@ -11,7 +12,10 @@ const config = {
1112
ignore: 'editor/',
1213
out: path.join(where.root, 'builds'),
1314
overwrite: true,
14-
platform: ['darwin', 'linux', 'win32']
15+
platform: ['darwin', 'linux', 'win32'],
16+
win32metadata: {
17+
FileDescription: package['name']
18+
}
1519
}
1620

1721
clean()

0 commit comments

Comments
 (0)