first commit
This commit is contained in:
commit
1c83446cee
4105 changed files with 1000134 additions and 0 deletions
28
dist/AppRun
vendored
Normal file
28
dist/AppRun
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh -e
|
||||
# SPDX-FileCopyrightText: 2022 <djcj@gmx.de>
|
||||
# SPDX-License-Identifier: MIT
|
||||
# From: https://github.com/darealshinji/AppImageKit-checkrt
|
||||
|
||||
# add your command to execute here
|
||||
exec=sudachi
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
if [ "x$exec" = "x" ]; then
|
||||
exec="$(sed -n 's|^Exec=||p' *.desktop | head -1)"
|
||||
fi
|
||||
if [ -x "./usr/optional/checkrt" ]; then
|
||||
extra_libs="$(./usr/optional/checkrt)"
|
||||
fi
|
||||
if [ -n "$extra_libs" ]; then
|
||||
export LD_LIBRARY_PATH="${extra_libs}${LD_LIBRARY_PATH}"
|
||||
if [ -e "$PWD/usr/optional/exec.so" ]; then
|
||||
export LD_PRELOAD="$PWD/usr/optional/exec.so:${LD_PRELOAD}"
|
||||
fi
|
||||
fi
|
||||
|
||||
export SSL_CERT_FILE="$PWD/ca-certificates.pem"
|
||||
#echo ">>>>> LD_LIBRARY_PATH $LD_LIBRARY_PATH"
|
||||
#echo ">>>>> LD_PRELOAD $LD_PRELOAD"
|
||||
|
||||
exec ./usr/bin/sudachi "$@"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue