内置lib以解决20和23使用同一包导致的兼容性问题

This commit is contained in:
2024-05-02 20:49:30 +08:00
parent 06dac3e8fc
commit d214329625
3 changed files with 29 additions and 13 deletions

8
gxde-kernel-manager-runner.sh Executable file
View 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