内置lib以解决20和23使用同一包导致的兼容性问题
This commit is contained in:
Executable
+8
@@ -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
|
||||||
|
|||||||
@@ -50,9 +50,17 @@ 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
|
||||||
|
|
||||||
|
targetrunner.path = /opt/apps/gxde-kernel-manager/
|
||||||
|
targetrunner.files = $$PWD/gxde-kernel-manager-runner.sh
|
||||||
|
|
||||||
|
libinclude.path = /opt/apps/gxde-kernel-manager/
|
||||||
|
libinclude.files = $$PWD/lib
|
||||||
|
|
||||||
target.path = /opt/apps/gxde-kernel-manager/
|
target.path = /opt/apps/gxde-kernel-manager/
|
||||||
|
|
||||||
INSTALLS+= aptsourcegpg aptsource target debiandesktop uosdesktop icon
|
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user