内置lib以解决20和23使用同一包导致的兼容性问题
This commit is contained in:
parent
06dac3e8fc
commit
d214329625
8
gxde-kernel-manager-runner.sh
Executable file
8
gxde-kernel-manager-runner.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
programPath=$(cd $(dirname $0); pwd)
|
||||||
|
arch=$(dpkg --print-architecture)
|
||||||
|
if [[ -d "$programPath/lib/$arch" ]]; then
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$programPath/lib/$arch
|
||||||
|
fi
|
||||||
|
$programPath/gxde-kernel-manager
|
@ -5,6 +5,6 @@ Name[zh_CN]=内核管理器
|
|||||||
Comment=Kernel Manager
|
Comment=Kernel Manager
|
||||||
Comment[zh_CN]=内核管理器
|
Comment[zh_CN]=内核管理器
|
||||||
Type=Application
|
Type=Application
|
||||||
Exec=/opt/apps/gxde-kernel-manager/gxde-kernel-manager
|
Exec=bash /opt/apps/gxde-kernel-manager/gxde-kernel-manager-runner.sh
|
||||||
Icon=/opt/apps/gxde-kernel-manager/icon.svg
|
Icon=/opt/apps/gxde-kernel-manager/icon.svg
|
||||||
Categories=System
|
Categories=System
|
||||||
|
@ -35,24 +35,32 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|||||||
!isEmpty(target.path): INSTALLS += target
|
!isEmpty(target.path): INSTALLS += target
|
||||||
unix:!macx: LIBS += -lqtermwidget5
|
unix:!macx: LIBS += -lqtermwidget5
|
||||||
|
|
||||||
aptsource.path=/etc/apt/sources.list.d/
|
aptsource.path = /etc/apt/sources.list.d/
|
||||||
aptsource.files=$$PWD/AptSources/gxde-kernel-manager.list
|
aptsource.files = $$PWD/AptSources/gxde-kernel-manager.list
|
||||||
|
|
||||||
aptsourcegpg.path=/etc/apt/trusted.gpg.d/
|
aptsourcegpg.path = /etc/apt/trusted.gpg.d/
|
||||||
aptsourcegpg.files=$$PWD/AptSources/gxde-kernel-manager.gpg
|
aptsourcegpg.files = $$PWD/AptSources/gxde-kernel-manager.gpg
|
||||||
|
|
||||||
debiandesktop.path=/usr/share/applications/
|
debiandesktop.path = /usr/share/applications/
|
||||||
debiandesktop.files=$$PWD/gxde-kernel-manager.desktop
|
debiandesktop.files = $$PWD/gxde-kernel-manager.desktop
|
||||||
|
|
||||||
uosdesktop.path=/opt/apps/gxde-kernel-manager/entries/applications
|
uosdesktop.path = /opt/apps/gxde-kernel-manager/entries/applications
|
||||||
uosdesktop.files=$$PWD/gxde-kernel-manager.desktop
|
uosdesktop.files = $$PWD/gxde-kernel-manager.desktop
|
||||||
|
|
||||||
icon.path=/opt/apps/gxde-kernel-manager/
|
icon.path = /opt/apps/gxde-kernel-manager/
|
||||||
icon.files=$$PWD/icon/icon.svg
|
icon.files = $$PWD/icon/icon.svg
|
||||||
|
|
||||||
target.path=/opt/apps/gxde-kernel-manager/
|
targetrunner.path = /opt/apps/gxde-kernel-manager/
|
||||||
|
targetrunner.files = $$PWD/gxde-kernel-manager-runner.sh
|
||||||
|
|
||||||
INSTALLS+= aptsourcegpg aptsource target debiandesktop uosdesktop icon
|
libinclude.path = /opt/apps/gxde-kernel-manager/
|
||||||
|
libinclude.files = $$PWD/lib
|
||||||
|
|
||||||
|
target.path = /opt/apps/gxde-kernel-manager/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
INSTALLS += aptsourcegpg aptsource target debiandesktop uosdesktop icon targetrunner libinclude
|
||||||
|
|
||||||
TRANSLATIONS += translation/gxde-kernel-manager_zh_CN.ts
|
TRANSLATIONS += translation/gxde-kernel-manager_zh_CN.ts
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user