Skip to content

Commit

Permalink
feat: add support for linux and osx
Browse files Browse the repository at this point in the history
  • Loading branch information
janne-koschinski committed May 22, 2024
1 parent 4f362ea commit cc2181d
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 2 deletions.
28 changes: 27 additions & 1 deletion builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,32 @@ module.exports = {
target: ['nsis'],
publisherName: PUBLISHER_NAME,
},
linux: {
target: ['AppImage', 'deb', 'rpm'],
icon: './src/assets/icons/',
executableName: appConfig.title.replace(/\W+/g, '-').toLowerCase(),
category: 'Utility',
synopsis: appConfig.title,
description: appConfig.description,
extraResources: [
{
from: 'src/assets/certs-idp',
to: './certs-idp',
},
{
from: 'src/assets/certs-konnektor',
to: './certs-konnektor',
},
{
from: 'src/assets/test-cases-config.json',
to: '.',
},
],
desktop: {
Name: appConfig.title,
StartupWMClass: 'authenticator',
},
},
files: ['!*', 'dist_electron/*'],
forceCodeSigning: FORCE_SIGNING,
nsis: {
Expand All @@ -65,7 +91,7 @@ module.exports = {
category: 'public.app-category.utilities',
artifactName: artifactName('${productName}', '${version}', '${ext}'),
icon: './src/assets/logo.png',
appId: 'de.gematik.authenticator',
appId: appConfig.appId,
},
directories: {
buildResources: 'src/assets',
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "authenticator",
"version": "4.11.0",
"private": true,
"author": "Gematik GmbH",
"author": {
"name": "Gematik GmbH",
"email": "[email protected]"
},
"description": "Authenticator Desktop Client",
"main": "dist_electron/main.js",
"license": "European Union Public License 1.2",
Expand Down
Binary file added src/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc2181d

Please sign in to comment.