mirror of https://github.com/keeweb/keeweb.git
fixed desktop build
This commit is contained in:
parent
49b5b3d41e
commit
29f014abc3
|
@ -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'],
|
||||||
|
|
|
@ -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'
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue