Skip to content

Commit

Permalink
[gh actions] fix macos
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Dec 20, 2023
1 parent b59a3e1 commit f62a29f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f62a29f

Please sign in to comment.