Skip to content

Commit

Permalink
fix: Electron needs libnotify
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Aug 21, 2024
1 parent b360769 commit 57e9814
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/linux/sysroot_scripts/sysroot_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,12 @@
"zlib1g-dev",
]

# Electron needs this independent of Chromium.
DEBIAN_PACKAGES_ELECTRON = {
"libnotify4",
"libnotify-dev",
}

DEBIAN_PACKAGES_ARCH = {
"amd64": [
"libasan6",
Expand Down Expand Up @@ -757,7 +763,7 @@ def generate_package_list(arch: str) -> dict[str, str]:

# Read the input file and create a dictionary mapping package names to URLs
# and checksums.
missing = set(DEBIAN_PACKAGES + DEBIAN_PACKAGES_ARCH[arch])
missing = set(DEBIAN_PACKAGES + DEBIAN_PACKAGES_ELECTRON + DEBIAN_PACKAGES_ARCH[arch])
package_dict: dict[str, str] = {}
for meta in package_meta.values():
package = meta["Package"]
Expand Down

0 comments on commit 57e9814

Please sign in to comment.