mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
Documentation
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@
|
||||
- (Change) Some icons
|
||||
- (Change) Move log tab to clipboard tab
|
||||
- (Change) Tooltip overlay default color
|
||||
- (Improvement) Windows position for tool windows, sometimes framework can return negative values affecting positions, now limits to 0 (#387)
|
||||
- (Improvement) Windows position for tool windows, sometimes framework can return negative values affecting positions, now limits to 0 (#426)
|
||||
- (Fix) Center image icon for layer action button
|
||||
- (Fix) Center image icon for save layer image button
|
||||
- **Tools:**
|
||||
|
||||
@@ -277,7 +277,7 @@ To run UVtools open it folder on a terminal and call one of:
|
||||
|
||||
* Double-click UVtools file
|
||||
* `./UVtools`
|
||||
* `sh UVtools.sh`
|
||||
* `bash UVtools.sh`
|
||||
* `dotnet UVtools.dll` [For universal package only, requires dotnet-runtime]
|
||||
* As a pratical alternative you can create a shortcut on Desktop
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Attempts to create symbolic for libdl.so
|
||||
# And to solve the OpenCV "unable to load shared library 'cvextern' or one of its dependencies" error
|
||||
# Note: Run with sudo bash not sh!
|
||||
#
|
||||
# Author: Tiago Conceição
|
||||
# Version: 1
|
||||
#
|
||||
|
||||
#####################
|
||||
## CONFIGURATION ##
|
||||
#####################
|
||||
libdlso="libdl.so"
|
||||
libdlso2="libdl.so.2"
|
||||
|
||||
directories="/lib"
|
||||
directories="${directories} /usr/lib64"
|
||||
directories="${directories} /lib/x86_64-linux-gnu"
|
||||
|
||||
#####################
|
||||
## DON'T TOUCH ##
|
||||
#####################
|
||||
checks=0
|
||||
links=0
|
||||
echo "Attempting to create symbolic from $libdlso2 to $libdlso on known path's"
|
||||
for directory in $directories; do
|
||||
let "checks++"
|
||||
echo "Checking for $directory/$libdlso2"
|
||||
if [[ -f "$directory/$libdlso2" && ! -f "$directory/$libdlso" ]]; then
|
||||
echo "Match: Creating symbolic link to $libdlso"
|
||||
ln -s "$directory/$libdlso2" "$directory/$libdlso"
|
||||
let "links++"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "######## Results #########"
|
||||
echo "File checks: $checks"
|
||||
echo "Created links: $links"
|
||||
echo "Finished!"
|
||||
echo "##########################"
|
||||
Reference in New Issue
Block a user