Skip to content

Commit

Permalink
Merge pull request #90 from mike-goodwin/release-v1.0
Browse files Browse the repository at this point in the history
Preparation for release v1.0
  • Loading branch information
jgadsden authored Feb 22, 2020
2 parents 5c764de + 6a3d155 commit 0618407
Show file tree
Hide file tree
Showing 4 changed files with 832 additions and 72 deletions.
13 changes: 4 additions & 9 deletions installer-osx.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
var createDMG = require('electron-installer-dmg');

var options = {
appPath: './packages/OWASP Threat Dragon-darwin-x64/OWASP Threat Dragon.app',
name: 'OWASP Threat Dragon',
appPath: './packages/OWASP-Threat-Dragon-darwin-x64/OWASP-Threat-Dragon.app',
name: 'OWASP-Threat-Dragon',
out: './installers/osx-x64',
overwrite: true,
icon: 'cupcakes.icns',
additionalDMGOptions: {
"code-sign": {
"signing-identity": '2GVCRR558N'
}
}
icon: 'cupcakes.icns'
};

createDMG(options, function done (err) {
Expand All @@ -19,4 +14,4 @@ createDMG(options, function done (err) {
} else {
console.log("Success!");
}
});
});
4 changes: 2 additions & 2 deletions installer-win.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ var readline = require('readline');
const rootPath = path.join('./');

var options = {
appDirectory: './packages/OWASP Threat Dragon-win32-x64',
appDirectory: './packages/OWASP-Threat-Dragon-win32-x64',
outputDirectory: './installers/win32-x64',
authors: 'OWASP',
exe: 'OWASP Threat Dragon.exe',
exe: 'OWASP-Threat-Dragon.exe',
noMsi: true,
loadingGif: './content/icons/png/cupcakes-installing.gif',
iconUrl: 'https://raw.githubusercontent.com/mike-goodwin/owasp-threat-dragon-desktop/master/content/icons/win/td.ico',
Expand Down
Loading

0 comments on commit 0618407

Please sign in to comment.