diff --git a/merge_helpers.sh b/merge_helpers.sh index 0e7881e..4e6703c 100755 --- a/merge_helpers.sh +++ b/merge_helpers.sh @@ -208,7 +208,7 @@ apply_packagejson_overlay() { local overlay_path="../overlay/$(basename "$PWD")/package.json" # see: https://stackoverflow.com/a/24904276 - new_content=`jq -s '.[0] * .[1]' "$orig_path" "$overlay_path"` + new_content=`jq -s '.[0] * .[1]' "$orig_path" "$overlay_path" | sed 's| | |g'` echo "$new_content" > "$orig_path" git add "$orig_path" diff --git a/overlay/element-desktop/package.json b/overlay/element-desktop/package.json index 44e0c8c..88634fa 100644 --- a/overlay/element-desktop/package.json +++ b/overlay/element-desktop/package.json @@ -6,66 +6,5 @@ "repository": { "url": "https://github.com/SchildiChat/element-desktop" }, - "homepage": "https://schildi.chat/", - "dependencies": { - "electron-osx-sign": "^0.5.0" - }, - "build": { - "appId": "chat.schildi.desktop.lite", - "linux": { - "target": "deb", - "category": "Network;InstantMessaging;Chat;VideoConference", - "maintainer": "codeworks@supercable.onl", - "desktop": { - "StartupWMClass": "schildichatlite" - } - }, - "deb": { - "depends": ["libgtk-3-0", "libnotify4", "libnss3", "libxss1", "libxtst6", "xdg-utils", "libatspi2.0-0", "libuuid1", "libsecret-1-0"], - "packageCategory": "net", - "priority": "extra" - }, - "mac": { - "category": "public.app-category.social-networking", - "extendInfo": { - "NSUserActivityTypes": [ - "org.matrix.room" - ], - "ITSAppUsesNonExemptEncryption": true - }, - "darkModeSupport": true, - "hardenedRuntime": true, - "entitlements": "build/entitlements.mac.plist", - "entitlementsInherit": "build/entitlements.mac.inherit.plist", - "asarUnpack": [ - ".hak/hakModules/keytar/build/Release/keytar.node", - ".hak/hakModules/matrix-seshat/native/index.node" - ] - }, - "dmg": { - "icon": "build/dmg.icns" - }, - "mas": { - "extendInfo": { - "LSMultipleInstancesProhibited": true - }, - "entitlements": "build/entitlements.mas.plist", - "provisioningProfile": "build/schildi_dev.provisionprofile", - "hardenedRuntime": false - }, - "protocols": [ - { - "name": "element", - "schemes": [ - "element" - ] - }, - { - "name": "schildichat", - "schemes": [ - "schildichat" - ] - } - ] - } + "homepage": "https://schildi.chat/" }