fixed desktop build

This commit is contained in:
antelle 2019-09-28 20:27:39 +02:00
parent 49b5b3d41e
commit 29f014abc3
2 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,11 @@ module.exports = function(grunt) {
expand: true, expand: true,
flatten: true flatten: true
}, },
'desktop-html': {
src: 'dist/index.html',
dest: 'tmp/desktop/app/index.html',
nonull: true
},
'desktop-app-content': { 'desktop-app-content': {
cwd: 'desktop/', cwd: 'desktop/',
src: ['**', '!package-lock.json'], src: ['**', '!package-lock.json'],

View File

@ -18,6 +18,7 @@ module.exports = function(grunt) {
]); ]);
grunt.registerTask('build-desktop-app-content', [ grunt.registerTask('build-desktop-app-content', [
'copy:desktop-html',
'copy:desktop-app-content', 'copy:desktop-app-content',
'string-replace:desktop-public-key' 'string-replace:desktop-public-key'
]); ]);