1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-21 07:06:39 +02:00

fix desktop build

This commit is contained in:
antelle 2017-02-03 23:01:49 +01:00
parent da1c4fd4f3
commit 9275d74b2b
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ module.exports = function(grunt) {
name: 'KeeWeb', name: 'KeeWeb',
dir: 'tmp/desktop/app', dir: 'tmp/desktop/app',
out: 'tmp/desktop', out: 'tmp/desktop',
version: electronVersion, electronVersion: electronVersion,
overwrite: true, overwrite: true,
'app-copyright': 'Copyright © 2016 Antelle', 'app-copyright': 'Copyright © 2016 Antelle',
'app-version': pkg.version, 'app-version': pkg.version,

View File

@ -6,7 +6,7 @@ module.exports = function (grunt) {
const crypto = require('crypto'); const crypto = require('crypto');
const fs = require('fs'); const fs = require('fs');
const done = this.async(); const done = this.async();
const StreamZip = require(path.resolve(__dirname, '../../electron/node_modules/node-stream-zip')); const StreamZip = require(path.resolve(__dirname, '../../desktop/node_modules/node-stream-zip'));
const zip = new StreamZip({ file: this.options().file, storeEntries: true }); const zip = new StreamZip({ file: this.options().file, storeEntries: true });
const expFiles = this.options().expected; const expFiles = this.options().expected;
const expFilesCount = this.options().expectedCount; const expFilesCount = this.options().expectedCount;