diff --git a/gulpfile.js b/gulpfile.js index 1a90ec4..24dbca4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,6 +1,8 @@ 'use strict'; const pkg = require('./package.json'); +// remove gulp-appdmg from the package.json we're going to write +delete pkg.optionalDependencies['gulp-appdmg']; const fs = require('fs'); const path = require('path'); @@ -515,9 +517,6 @@ function release_rpm(arch, appDirectory, done) { // Create distribution package for macOS platform function release_osx64(appDirectory) { - // remove gulp-appdmg from the package.json we're going to write - delete pkg.optionalDependencies['gulp-appdmg']; - const appdmg = require('./gulp-macdmg'); // The appdmg does not generate the folder correctly, manually