diff --git a/Gruntfile.js b/Gruntfile.js index 6f556b80..5b720723 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -88,6 +88,11 @@ module.exports = function(grunt) { expand: true, flatten: true }, + 'desktop-html': { + src: 'dist/index.html', + dest: 'tmp/desktop/app/index.html', + nonull: true + }, 'desktop-app-content': { cwd: 'desktop/', src: ['**', '!package-lock.json'], diff --git a/grunt.tasks.js b/grunt.tasks.js index cc79af9a..de569bdd 100644 --- a/grunt.tasks.js +++ b/grunt.tasks.js @@ -18,6 +18,7 @@ module.exports = function(grunt) { ]); grunt.registerTask('build-desktop-app-content', [ + 'copy:desktop-html', 'copy:desktop-app-content', 'string-replace:desktop-public-key' ]);