Documentation

This commit is contained in:
Tiago Conceição
2022-03-13 17:24:54 +00:00
parent 4600e81b08
commit e734a03892
3 changed files with 43 additions and 2 deletions
+1 -1
View File
@@ -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:**
+1 -1
View File
@@ -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
+41
View File
@@ -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 "##########################"