Skip to content

Commit cc2181d

Browse files
feat: add support for linux and osx
1 parent 4f362ea commit cc2181d

File tree

7 files changed

+31
-2
lines changed

7 files changed

+31
-2
lines changed

builder.config.js

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,32 @@ module.exports = {
3939
target: ['nsis'],
4040
publisherName: PUBLISHER_NAME,
4141
},
42+
linux: {
43+
target: ['AppImage', 'deb', 'rpm'],
44+
icon: './src/assets/icons/',
45+
executableName: appConfig.title.replace(/\W+/g, '-').toLowerCase(),
46+
category: 'Utility',
47+
synopsis: appConfig.title,
48+
description: appConfig.description,
49+
extraResources: [
50+
{
51+
from: 'src/assets/certs-idp',
52+
to: './certs-idp',
53+
},
54+
{
55+
from: 'src/assets/certs-konnektor',
56+
to: './certs-konnektor',
57+
},
58+
{
59+
from: 'src/assets/test-cases-config.json',
60+
to: '.',
61+
},
62+
],
63+
desktop: {
64+
Name: appConfig.title,
65+
StartupWMClass: 'authenticator',
66+
},
67+
},
4268
files: ['!*', 'dist_electron/*'],
4369
forceCodeSigning: FORCE_SIGNING,
4470
nsis: {
@@ -65,7 +91,7 @@ module.exports = {
6591
category: 'public.app-category.utilities',
6692
artifactName: artifactName('${productName}', '${version}', '${ext}'),
6793
icon: './src/assets/logo.png',
68-
appId: 'de.gematik.authenticator',
94+
appId: appConfig.appId,
6995
},
7096
directories: {
7197
buildResources: 'src/assets',

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "authenticator",
33
"version": "4.11.0",
44
"private": true,
5-
"author": "Gematik GmbH",
5+
"author": {
6+
"name": "Gematik GmbH",
7+
"email": "[email protected]"
8+
},
69
"description": "Authenticator Desktop Client",
710
"main": "dist_electron/main.js",
811
"license": "European Union Public License 1.2",

src/assets/icon.png

61.3 KB
Loading

src/assets/icons/24x24.png

1.99 KB
Loading

src/assets/icons/256x256.png

61.3 KB
Loading

src/assets/icons/32x32.png

1.86 KB
Loading

src/assets/icons/64x64.png

5.33 KB
Loading

0 commit comments

Comments
 (0)