diff --git a/repack.d/Pencil.sh b/repack.d/Pencil.sh index e9e87ad2a092059a3f41858eeb9913e2a5518196..aecb68c431736b78b042fb767522c3226d8e9706 100755 --- a/repack.d/Pencil.sh +++ b/repack.d/Pencil.sh @@ -12,12 +12,10 @@ PRODUCTCUR=Pencil add_bin_link_command add_bin_link_command $PRODUCTCUR $PRODUCT -install_deps +add_electron_deps fix_chrome_sandbox fix_desktop_file subst '1iConflicts: pencil' $SPEC - -set_autoreq 'yes' diff --git a/repack.d/brave-browser-beta.sh b/repack.d/brave-browser-beta.sh index dd32727eb0f2d8daa63921fbbca057cc4c4a4f81..17dc80274fdf890db228a21d5f68111c26f85978 100755 --- a/repack.d/brave-browser-beta.sh +++ b/repack.d/brave-browser-beta.sh @@ -21,5 +21,5 @@ add_bin_commands use_system_xdg -add_deps +add_chromium_deps diff --git a/repack.d/brave-browser-dev.sh b/repack.d/brave-browser-dev.sh index c3a2df29f8ab27edd3a7dc0b3e9f4fc41fb81ef6..50cd1f6d29082673348bf266e97a11f1815602df 100755 --- a/repack.d/brave-browser-dev.sh +++ b/repack.d/brave-browser-dev.sh @@ -21,5 +21,5 @@ add_bin_commands use_system_xdg -add_deps +add_chromium_deps diff --git a/repack.d/brave-browser-nightly.sh b/repack.d/brave-browser-nightly.sh index 53677093becd28df4188fd396fdf2effdfc41447..ecdf5d9ce999af7b751413e87d0abf247fcf0c2f 100755 --- a/repack.d/brave-browser-nightly.sh +++ b/repack.d/brave-browser-nightly.sh @@ -21,5 +21,5 @@ add_bin_commands use_system_xdg -add_deps +add_chromium_deps diff --git a/repack.d/brave-browser.sh b/repack.d/brave-browser.sh index 62a1ab2e2c53e6bc2b27107ad2c370b0d0de65f2..173fc3da55e6ba32cff66b5b2b475319f85d8835 100755 --- a/repack.d/brave-browser.sh +++ b/repack.d/brave-browser.sh @@ -21,7 +21,7 @@ add_bin_commands use_system_xdg -add_deps +add_chromium_deps fix_desktop_file /usr/bin/$PRODUCTCUR diff --git a/repack.d/chat.sh b/repack.d/chat.sh index cec34a7e9d5b6d5934bd60ebb058c1d5eaba290c..d2d28afb694095550cef14c9a8ef37311c367aa4 100755 --- a/repack.d/chat.sh +++ b/repack.d/chat.sh @@ -20,8 +20,6 @@ subst "s|/opt/Synology Chat/||" $BUILDROOT/usr/share/applications/$PRODUCT.deskt add_bin_link_command add_bin_link_command $PRODUCTCUR $PRODUCT -install_deps +add_electron_deps fix_chrome_sandbox - -set_autoreq 'yes' diff --git a/repack.d/chromium-gost-stable.sh b/repack.d/chromium-gost-stable.sh index 18aeeec1a8b685202592e317efe862bdeee320e5..1a0378530026a70d19c29ca41dc49fa6888afbf8 100755 --- a/repack.d/chromium-gost-stable.sh +++ b/repack.d/chromium-gost-stable.sh @@ -27,7 +27,7 @@ add_bin_commands use_system_xdg -install_deps +add_chromium_deps fix_desktop_file /usr/bin/$PRODUCTCUR @@ -46,5 +46,3 @@ else exec -a "\$0" "\$HERE/chrome" "\$@" fi EOF - -set_autoreq 'yes' diff --git a/repack.d/common-chromium-browser.sh b/repack.d/common-chromium-browser.sh index 7e866e31825570734948454d16183343acdc2f8a..d880ecb45a046993a2871cf72ec1c9c23e78e136 100755 --- a/repack.d/common-chromium-browser.sh +++ b/repack.d/common-chromium-browser.sh @@ -56,19 +56,33 @@ cleanup() remove_file /usr/share/menu/$PRODUCTCUR.menu } - -install_deps() +add_electron_deps() { - # install all requires packages before packing (the list have got with rpmreqs package | xargs echo) - install_requires at-spi2-atk file GConf glib2 grep libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango \ - libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst sed which xdg-utils xprop libsecret + add_unirequires "file grep sed which xdg-utils xprop" + add_unirequires "libpthread.so.0 libstdc++.so.6" + add_unirequires "libX11.so.6 libXcomposite.so.1 libXdamage.so.1 libXext.so.6 libXfixes.so.3 libXrandr.so.2 libxcb.so.1 libxkbcommon.so.0" + add_unirequires "libasound.so.2 libatk-1.0.so.0 libatk-bridge-2.0.so.0 libatspi.so.0" + add_unirequires "libcairo.so.2 libcups.so.2 libdbus-1.so.3" + add_unirequires "libdrm.so.2 libexpat.so.1 libfontconfig.so.1 libgbm.so.1" + add_unirequires "libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgtk-3.so.0 libpango-1.0.so.0" + add_unirequires "libnspr4.so libnss3.so libnssutil3.so libsmime3.so" + } -add_deps() +add_chromium_deps() { - [ "$(epm print info -s)" = "alt" ] || return - add_requires at-spi2-atk file GConf glib2 grep libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango - add_requires libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst sed which xdg-utils xprop libsecret + add_unirequires "file grep sed which xdg-utils xprop" + add_unirequires "libpthread.so.0 libstdc++.so.6" + add_unirequires "libatk-bridge-2.0.so.0 libglib-2.0.so.0 libgmodule-2.0.so.0 libgobject-2.0.so.0 libgthread-2.0.so.0 libatk-1.0.so.0 libatspi.so.0" + add_unirequires "libasound.so.2 libatopology.so.2 libcairo.so.2 libcups.so.2 libdbus-1.so.3 libdrm.so.2 libexpat.so.1 libgbm.so.1 libgdk_pixbuf-2.0.so.0" + add_unirequires "libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libpangoxft-1.0.so.0" + add_unirequires "libgio-2.0.so.0 libgdk-3.so.0 libgtk-3.so.0 libnspr4.so libplc4.so libplds4.so libfreebl3.so libfreeblpriv3.so libnss3.so" + add_unirequires "libsmime3.so libsoftokn3.so libssl3.so libsecret-1.so.0" + add_unirequires "libX11.so.6 libxcb.so.1 libXcomposite.so.1 libXcursor.so.1 libXdamage.so.1 libXext.so.6 libXfixes.so.3 libXi.so.6 libXrandr.so.2 libXrender.so.1 libXtst.so.6" + + #[ "$(epm print info -s)" = "alt" ] || return + #add_requires at-spi2-atk file GConf glib2 grep libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango + #add_requires libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst sed which xdg-utils xprop libsecret } diff --git a/repack.d/discord.sh b/repack.d/discord.sh index 2408af7c81a0b5b5c9f896260cec3b461763656b..65e4be5c4452d3527b18400e70f1624fa6f63528 100755 --- a/repack.d/discord.sh +++ b/repack.d/discord.sh @@ -14,7 +14,7 @@ move_to_opt fix_chrome_sandbox -add_deps +add_electron_deps rm usr/bin/$PRODUCT add_bin_link_command $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR diff --git a/repack.d/domination-client.sh b/repack.d/domination-client.sh index 07c62bffafc28713a3bc72b63df60acd2ffab8fe..c29b796ef6675d973c7d844ff9efdbf6fc46befa 100755 --- a/repack.d/domination-client.sh +++ b/repack.d/domination-client.sh @@ -16,9 +16,6 @@ pack_dir $PRODUCTDIR add_bin_link_command -install_deps +add_electron_deps fix_chrome_sandbox - -set_autoreq 'yes' - diff --git a/repack.d/express.sh b/repack.d/express.sh index d3342ee949ae2015509f406c5a1e9fd471d90f2f..60b67ec70fb5ce20ce9b87252d6fce63ce39e10e 100755 --- a/repack.d/express.sh +++ b/repack.d/express.sh @@ -12,9 +12,6 @@ add_bin_link_command fix_desktop_file -install_deps -#add_deps +add_electron_deps fix_chrome_sandbox - -set_autoreq 'yes' diff --git a/repack.d/generic-appimage.sh b/repack.d/generic-appimage.sh index 28a8dfde130d2b139427eb9e0f465f1a622b1c39..15df13dba4a96cdc3b35af483eccf0f847c858ac 100755 --- a/repack.d/generic-appimage.sh +++ b/repack.d/generic-appimage.sh @@ -93,7 +93,7 @@ if [ -f v8_context_snapshot.bin ] ; then echo "electron based application detected, adding requires ..." . $(dirname $0)/common-chromium-browser.sh # don't use install: we disabled AutoReq before - add_deps + add_electron_deps fi # ignore embedded libs diff --git a/repack.d/geogebra-classic.sh b/repack.d/geogebra-classic.sh index a18728c53a9a8d8247bef53dd72cee892f3e57bd..fd36920b2b76f9d3cd7de7a1c7a5a49e46a02d9c 100755 --- a/repack.d/geogebra-classic.sh +++ b/repack.d/geogebra-classic.sh @@ -11,8 +11,6 @@ PREINSTALL_PACKAGES="python3 rpm-build-python3" . $(dirname $0)/common-chromium-browser.sh -set_autoreq 'yes,noshell,nomonolib,nomono,nopython' - subst '1iBuildRequires:rpm-build-python3' $SPEC subst "1i%add_python3_path $PRODUCTDIR" $SPEC @@ -23,4 +21,4 @@ cleanup fix_chrome_sandbox -install_deps +add_electron_deps diff --git a/repack.d/gitkraken.sh b/repack.d/gitkraken.sh index 2df4efb33fa60fceafbd75380603abbdcc2a7a3c..afa2f7d44f3c12958b65c3f5376bf83ac3e18448 100755 --- a/repack.d/gitkraken.sh +++ b/repack.d/gitkraken.sh @@ -11,7 +11,7 @@ PRODUCT=gitkraken rm -v ./usr/bin/gitkraken add_bin_link_command -install_deps +add_electron_deps move_to_opt @@ -26,4 +26,4 @@ add_findreq_skiplist "$PRODUCTDIR/resources/app.asar.unpacked/node_modules/@msgp add_requires libXScrnSaver # TODO: replace gitkraken/resources/app.asar.unpacked/git with system's one optionally? -set_autoreq 'yes,noperl' +#set_autoreq 'yes,noperl' diff --git a/repack.d/google-chrome-stable.sh b/repack.d/google-chrome-stable.sh index 43264362158076eadaf3617e160ce96a3db6c231..3695ec44fc1b719711ea3d6120da68e84fe3ed2e 100755 --- a/repack.d/google-chrome-stable.sh +++ b/repack.d/google-chrome-stable.sh @@ -27,6 +27,4 @@ subst 's|GenericName\[ru\]=Веб-браузер|GenericName[ru]=Веб-брау fix_desktop_file /usr/bin/google-chrome-stable -install_deps - -set_autoreq 'yes' +add_chromium_deps diff --git a/repack.d/iptvnator.sh b/repack.d/iptvnator.sh index fa208abb4a3f9a8f5d9d80890aeebe3864b67e91..0fb6035e93c3973096915b1a02af93cabb70454d 100755 --- a/repack.d/iptvnator.sh +++ b/repack.d/iptvnator.sh @@ -11,8 +11,6 @@ PRODUCTDIR=/opt/IPTVnator cleanup fix_chrome_sandbox -install_deps +add_electron_deps add_bin_link_command - -set_autoreq 'yes' diff --git a/repack.d/lycheeslicer.sh b/repack.d/lycheeslicer.sh index c60dbee5e2e8936e556cdc9d09f0267c8a5584e1..1f917c6066b50f20ccc8cc9fa0a8b926172a8818 100755 --- a/repack.d/lycheeslicer.sh +++ b/repack.d/lycheeslicer.sh @@ -6,14 +6,12 @@ SPEC="$2" PRODUCT=lycheeslicer PRODUCTDIR=/opt/LycheeSlicer -PREINSTALL_PACKAGES="at-spi2-atk coreutils glib2 libalsa libatk libat-spi2-core libcairo libcups libdbus libdrm libexpat libgbm libgio libGL libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXdamage libXext libXfixes libxkbcommon libXrandr zlib" - . $(dirname $0)/common-chromium-browser.sh add_bin_link_command #add_bin_link_command $PRODUCTCUR $PRODUCT -install_deps +add_electron_deps fix_chrome_sandbox @@ -21,6 +19,3 @@ fix_desktop_file # ignore embedded libs filter_from_requires libQt5 node seamonkey thunderbird - -set_autoreq 'yes' - diff --git a/repack.d/microsoft-edge-stable.sh b/repack.d/microsoft-edge-stable.sh index 70fd593a72b3de87cd2ffefac14742c78bc75d1d..c061901f63f00babec0bcf27773a8133f88d63c6 100755 --- a/repack.d/microsoft-edge-stable.sh +++ b/repack.d/microsoft-edge-stable.sh @@ -27,7 +27,7 @@ add_bin_commands use_system_xdg -install_deps +add_chromium_deps fix_desktop_file /usr/bin/$PRODUCTCUR @@ -40,5 +40,3 @@ epm assure patchelf || exit for i in $BUILDROOT$PRODUCTDIR/libmip_*.so ; do [ "$(a= patchelf --print-interpreter $i)" = "/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2" ] && a= patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 $i done - -set_autoreq 'yes' diff --git a/repack.d/mobirise.sh b/repack.d/mobirise.sh index 3c007fed3e8f3434c580c6950f189097d9b2ec46..56fd963efd099f44d4fd266e328cd0ca862491a6 100755 --- a/repack.d/mobirise.sh +++ b/repack.d/mobirise.sh @@ -17,6 +17,4 @@ fix_desktop_file fix_chrome_sandbox -install_deps - -set_autoreq 'yes' +add_electron_deps diff --git a/repack.d/obsidian.sh b/repack.d/obsidian.sh index 624edc8e6fbda53f392c18374f7e0efde2e4bd8e..0fcfb9c01feaaa26ddf5887b151e34b6e757b562 100755 --- a/repack.d/obsidian.sh +++ b/repack.d/obsidian.sh @@ -12,21 +12,12 @@ PRODUCTDIR=/opt/Obsidian cleanup -#add_bin_commands - if [ ! -f "$BUILDROOT/usr/bin/$PRODUCT" ] ; then add_bin_exec_command fi -install_deps +add_chromium_deps fix_chrome_sandbox fix_desktop_file - -#epm assure patchelf || exit -#for i in $BUILDROOT$PRODUCTDIR/$PRODUCT ; do -# a= patchelf --set-rpath "$PRODUCTDIR" $i -#done - -set_autoreq 'yes' diff --git a/repack.d/opera-stable.sh b/repack.d/opera-stable.sh index b4b1bbfbfd445d53316575afea7de361da2a823f..0cc832f3c6dda34d28c4c36ea7ec417ee59f1bac 100755 --- a/repack.d/opera-stable.sh +++ b/repack.d/opera-stable.sh @@ -55,17 +55,6 @@ add_bin_commands fix_chrome_sandbox $PRODUCTDIR/opera_sandbox -# TODO: it is possible we will not require this if link bin->/opt/dir/name is relative -# fix to support pack links in /usr/bin (may be this is a bug?) -if epm assure patchelf ; then -for i in $BUILDROOT$PRODUCTDIR/$PRODUCTCUR ; do - a= patchelf --set-rpath "$PRODUCTDIR/lib_extra:$PRODUCTDIR" $i -done -fi - #subst '1iRequires: chromium-codecs-ffmpeg-extra >= 103' $SPEC -install_deps - - -set_autoreq 'yes' +add_chromium_deps diff --git a/repack.d/portmaster.sh b/repack.d/portmaster.sh index eed082a8d9d4db902912f3099e5dffcfab855909..2661952773e9bf931477c7f8439ac3e7a374047d 100755 --- a/repack.d/portmaster.sh +++ b/repack.d/portmaster.sh @@ -31,6 +31,4 @@ fix_chrome_sandbox $PRODUCTDIR/updates/linux_amd64/app/$p/chrome-sandbox pack_file $PRODUCTDIR/updates -install_deps - -set_autoreq 'yes' +add_electron_deps diff --git a/repack.d/rocketchat.sh b/repack.d/rocketchat.sh index 3e475c36c486bd29d352acc1a5988faad3a110ec..1c1f9361ecae68e785a18c51b00b09276b0f110a 100755 --- a/repack.d/rocketchat.sh +++ b/repack.d/rocketchat.sh @@ -12,15 +12,9 @@ PRODUCTDIR=/opt/Rocket.Chat add_bin_link_command add_bin_link_command $PRODUCTCUR $PRODUCT -install_deps +add_electron_deps fix_chrome_sandbox -subst "s|$PRODUCTDIR/||" $BUILDROOT/usr/share/applications/rocketchat-desktop.desktop +fix_desktop_file -#epm assure patchelf || exit -#for i in $BUILDROOT$PRODUCTDIR/$PRODUCT ; do -# a= patchelf --set-rpath "$PRODUCTDIR" $i -#done - -set_autoreq 'yes' diff --git a/repack.d/signal-desktop.sh b/repack.d/signal-desktop.sh index 037897964933609770712bb4fc27936d89374e09..8fc51862cf63f7d701f912ba2f52f2bdd71205c9 100755 --- a/repack.d/signal-desktop.sh +++ b/repack.d/signal-desktop.sh @@ -10,9 +10,7 @@ PRODUCTDIR=/opt/$PRODUCTCUR . $(dirname $0)/common-chromium-browser.sh -install_deps - -set_autoreq 'yes' +add_electron_deps subst "s|.*/etc/apt.*||" $SPEC subst '/linux-arm64/d' $SPEC diff --git a/repack.d/slack.sh b/repack.d/slack.sh index 3c4d81eb1bf1df935d0c6b42264d3216b38aa21e..c847ecd696a31f140f8330e6b1db25f2ac83cca5 100755 --- a/repack.d/slack.sh +++ b/repack.d/slack.sh @@ -13,10 +13,8 @@ PRODUCTDIR=/usr/lib/slack fix_chrome_sandbox -install_deps +add_electron_deps cleanup add_bin_exec_command - -set_autoreq 'yes' diff --git a/repack.d/sputnik-browser-stable.sh b/repack.d/sputnik-browser-stable.sh index 770d88af5b9a1472103b967b12e473190540a85d..50d415c01b26343e973522c9c62202947806e8b9 100755 --- a/repack.d/sputnik-browser-stable.sh +++ b/repack.d/sputnik-browser-stable.sh @@ -23,6 +23,4 @@ add_bin_commands use_system_xdg -install_deps - -set_autoreq 'yes' +add_chromium_deps diff --git a/repack.d/ungoogled-chromium.sh b/repack.d/ungoogled-chromium.sh index 473c1952bdf8e11b90b9e3f5a163d67064340967..ac0cd78d50dfc120b3275a96b5a0ce73bd250b74 100755 --- a/repack.d/ungoogled-chromium.sh +++ b/repack.d/ungoogled-chromium.sh @@ -46,6 +46,4 @@ set_alt_alternatives 65 [ -f .$PRODUCTDIR/chrome_sandbox ] && move_file $PRODUCTDIR/chrome_sandbox $PRODUCTDIR/chrome-sandbox fix_chrome_sandbox -install_deps - -set_autoreq 'yes' +add_chromium_deps diff --git a/repack.d/vinteo.desktop.sh b/repack.d/vinteo.desktop.sh index 7cb8f25359e1d7213b6474f5c2fba7c9b8dbac8a..984be5ba2965e735899e4cdc1895e68be3730ec6 100755 --- a/repack.d/vinteo.desktop.sh +++ b/repack.d/vinteo.desktop.sh @@ -15,7 +15,7 @@ fix_desktop_file fix_chrome_sandbox -install_deps +add_electron_deps add_findreq_skiplist "/opt/VinteoDesktop/resources/app.asar.unpacked/node_modules/@serialport/bindings-cpp/prebuilds/*/*.node" @@ -29,4 +29,3 @@ case "$(epm print info -e)" in ;; esac -set_autoreq 'yes' diff --git a/repack.d/vivaldi-snapshot.sh b/repack.d/vivaldi-snapshot.sh index 5dd06f3446057ad2916c57d75f300b0c2d0e6590..1466d999a3922b2cc68cf6ad0d136b029737a8e4 100755 --- a/repack.d/vivaldi-snapshot.sh +++ b/repack.d/vivaldi-snapshot.sh @@ -23,13 +23,11 @@ use_system_xdg fix_desktop_file /usr/bin/$PRODUCTCUR -install_deps +add_chromium_deps add_findreq_skiplist $PRODUCTDIR/update-ffmpeg filter_from_requires '\\/opt\\/google\\/chrome\\/WidevineCdm' -set_autoreq 'yes' - echo "You also can install chrome via epm play chrome to use WidevineCdm" diff --git a/repack.d/vivaldi-stable.sh b/repack.d/vivaldi-stable.sh index ae032c4f708433d5c353db81ed97583d4d5d2c81..46299158cf25822642b688536332963e79d68277 100755 --- a/repack.d/vivaldi-stable.sh +++ b/repack.d/vivaldi-stable.sh @@ -23,12 +23,10 @@ use_system_xdg fix_desktop_file /usr/bin/$PRODUCTCUR -install_deps +add_chromium_deps add_findreq_skiplist $PRODUCTDIR/update-ffmpeg filter_from_requires '\\/opt\\/google\\/chrome\\/WidevineCdm' -set_autoreq 'yes' - echo "You also can install chrome via epm play chrome to use WidevineCdm" diff --git a/repack.d/vk.sh b/repack.d/vk.sh index 7a8beda3c483174e2cacc0e9798d0c79aa68a833..bf9e40e85bf2ac609bbb3dc9b64ba7b3b070c2eb 100755 --- a/repack.d/vk.sh +++ b/repack.d/vk.sh @@ -13,9 +13,7 @@ move_to_opt fix_chrome_sandbox -install_deps - -set_autoreq 'yes' +add_electron_deps remove_dir /etc diff --git a/repack.d/yandex-browser-beta.sh b/repack.d/yandex-browser-beta.sh index d63264b4513d4f93bd440f413c096f45b4ba7a02..b8563233a96192f4e16b299cbbcb8c6845cdfa8c 100755 --- a/repack.d/yandex-browser-beta.sh +++ b/repack.d/yandex-browser-beta.sh @@ -28,8 +28,6 @@ add_bin_commands use_system_xdg -install_deps +add_chromium_deps fix_desktop_file /usr/bin/$PRODUCTCUR - -set_autoreq 'yes' diff --git a/repack.d/yandex-browser-stable.sh b/repack.d/yandex-browser-stable.sh index c61bceb166dcfd51a9e21591911166dfcb3e4c18..84d3e7217ddd78c308e8221a246cc3ced903d92c 100755 --- a/repack.d/yandex-browser-stable.sh +++ b/repack.d/yandex-browser-stable.sh @@ -28,8 +28,6 @@ add_bin_commands use_system_xdg -install_deps +add_chromium_deps fix_desktop_file /usr/bin/$PRODUCTCUR - -set_autoreq 'yes' diff --git a/repack.d/yaradio-yamusic.sh b/repack.d/yaradio-yamusic.sh index 5fcc620247fc528907985cf30f19ed76a2ba3ad7..a04f086a578dfef3008b3c21b5f04fd0e81ea2a0 100755 --- a/repack.d/yaradio-yamusic.sh +++ b/repack.d/yaradio-yamusic.sh @@ -11,7 +11,7 @@ PRODUCTDIR=/opt/YaMusic.app add_bin_link_command #add_bin_link_command $PRODUCTCUR $PRODUCT -install_deps +add_electron_deps fix_chrome_sandbox @@ -21,5 +21,3 @@ if [ -f usr/share/icons/hicolor/0x0/apps/yaradio-yamusic.png ] ; then install_file /usr/share/icons/hicolor/0x0/apps/yaradio-yamusic.png /usr/share/icons/hicolor/256x256/apps/yaradio-yamusic.png remove_dir /usr/share/icons/hicolor/0x0/ fi - -set_autoreq 'yes'