This commit is contained in:
admin
2026-06-22 15:35:18 +08:00
commit 74e4f32cdf
6014 changed files with 589981 additions and 0 deletions
View File
@@ -0,0 +1,15 @@
#!/bin/bash
#echo -e "\e[34m $(MyScript=$(if [[ $0 != /bin/bash ]];then cd $(dirname "$(readlink -f "$0")"); fi && find $(pwd) -type f -name envsetup_EMSx86.sh -print -quit) && echo ${MyScript%/*}/../../lib/x86/lib_so/):$LD_LIBRARY_PATH \e[0m"
export LD_LIBRARY_PATH=$(if [[ $0 != /bin/bash ]];then cd $(dirname "$(readlink -f "$0")");fi && MyScript=$(find $(pwd) -type f -name envsetup_EMSx86.sh -print -quit);echo ${MyScript%/*}/../../lib/x86/lib_so/):$LD_LIBRARY_PATH
export PATH=$(MyScript=$(find $(pwd) -type f -name envsetup_EMSx86.sh);echo ${MyScript%/*}/):$PATH
echo
echo LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}
echo
echo PATH: ${PATH}
echo
Binary file not shown.
Binary file not shown.
+31
View File
@@ -0,0 +1,31 @@
#!/bin/bash
if [ -n "$DISPLAY" ]; then
echo "DISPLAY variable is set, GUI might be available."
else
echo "DISPLAY variable is not set, GUI is likely not available."
echo "Please run me in Ubuntu GUI window shell"
exit 0;
fi
cd "$(dirname "$(readlink -f "$0")")"
if [ $# -gt 0 ];then
echo -e " Help:\n\t Edit: \t double click cell\n\t Save: \t double Enter in cell"
exit 0
fi
if [ -f ../../../lib/x86/lib_so/libprpublicmemory.so ];then
export LD_LIBRARY_PATH=$(pwd)/../../../lib/x86/lib_so/:$LD_LIBRARY_PATH
chmod +x testui
./testui
if [ $? -eq 134 ];then
echo -e "\n\e[31;49m Error: Only run in Ubuntu GUI. \e[0m\n_______________\n"
fi
else
echo -e "\e[31;1m not found libprpublicmemory.so£¬ please rebuild: lib_so/build.sh all \e[0m"
fi
Binary file not shown.