Skip to content

Commit

Permalink
fixups for debian and fedora installers, add legacy models
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Gadsden committed Aug 10, 2021
1 parent 25abed0 commit deac253
Show file tree
Hide file tree
Showing 10 changed files with 3,687 additions and 17,796 deletions.
895 changes: 895 additions & 0 deletions ThreatDragonModels/legacy_desktop_model/legacy_desktop_model.json

Large diffs are not rendered by default.

951 changes: 951 additions & 0 deletions ThreatDragonModels/legacy_model/legacy_model.json

Large diffs are not rendered by default.

784 changes: 784 additions & 0 deletions ThreatDragonModels/legacy_model_1/legacy_model_1.json

Large diffs are not rendered by default.

774 changes: 774 additions & 0 deletions ThreatDragonModels/legacy_model_2/legacy_model_2.json

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions td.desktop/config/entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>

19 changes: 19 additions & 0 deletions td.desktop/config/notarize.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require('dotenv').config();
const { notarize } = require('electron-notarize');

exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
if (electronPlatformName !== 'darwin') {
return;
}

const appName = context.packager.appInfo.productFilename;

return await notarize({
appBundleId: 'com.yourcompany.yourAppId',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLEID,
appleIdPassword: process.env.APPLEIDPASS,
});
};

6 changes: 4 additions & 2 deletions td.desktop/electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@
"icon": "public/content/icons/png/256x256.png",
"synopsis": "OWASP Threat Dragon",
"target": [
"AppImage",
"snap"
"AppImage",
"snap",
"deb",
"rpm"
]
},
"snap": {
Expand Down
72 changes: 0 additions & 72 deletions td.desktop/installer-lin.js

This file was deleted.

Loading

0 comments on commit deac253

Please sign in to comment.