зеркало из https://github.com/docker/kitematic.git
Fix icon on mac os x
This commit is contained in:
Родитель
1552d09957
Коммит
1263a8c4fe
|
@ -16,6 +16,8 @@ module.exports = function (grunt) {
|
||||||
var env = process.env;
|
var env = process.env;
|
||||||
env.NODE_ENV = target;
|
env.NODE_ENV = target;
|
||||||
|
|
||||||
|
console.log(process.cwd());
|
||||||
|
|
||||||
var version = function (str) {
|
var version = function (str) {
|
||||||
var match = str.match(/(\d+\.\d+\.\d+)/);
|
var match = str.match(/(\d+\.\d+\.\d+)/);
|
||||||
return match ? match[1] : null;
|
return match ? match[1] : null;
|
||||||
|
@ -57,7 +59,8 @@ module.exports = function (grunt) {
|
||||||
version: packagejson['electron-version'],
|
version: packagejson['electron-version'],
|
||||||
platform: 'darwin',
|
platform: 'darwin',
|
||||||
arch: 'x64',
|
arch: 'x64',
|
||||||
asar: true
|
asar: true,
|
||||||
|
'app-bundle-id': 'com.kitematic.kitematic'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -124,6 +127,9 @@ module.exports = function (grunt) {
|
||||||
cwd: 'resources',
|
cwd: 'resources',
|
||||||
src: ['**/*'],
|
src: ['**/*'],
|
||||||
dest: 'dist/osx/Kitematic.app/Contents/Resources/resources/'
|
dest: 'dist/osx/Kitematic.app/Contents/Resources/resources/'
|
||||||
|
}, {
|
||||||
|
src: 'util/kitematic.icns',
|
||||||
|
dest: 'dist/osx/Kitematic.app/Contents/Resources/atom.icns'
|
||||||
}],
|
}],
|
||||||
options: {
|
options: {
|
||||||
mode: true
|
mode: true
|
||||||
|
|
Загрузка…
Ссылка в новой задаче