mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-19 02:25:33 -05:00
fix tauri missing libwinpthread-1.dll
This commit is contained in:
parent
36c1c3a28b
commit
4c4335a50e
2 changed files with 7 additions and 2 deletions
|
|
@ -293,6 +293,7 @@ build_winpthreads() {
|
||||||
copy_dlls() {
|
copy_dlls() {
|
||||||
echo "Copying dll's to src-tauri/"
|
echo "Copying dll's to src-tauri/"
|
||||||
cp -f $PREFIX/x86_64-w64-mingw32/lib/{libstdc++-6,libgcc_s_seh-1}.dll $SRC_TAURI_DIR/
|
cp -f $PREFIX/x86_64-w64-mingw32/lib/{libstdc++-6,libgcc_s_seh-1}.dll $SRC_TAURI_DIR/
|
||||||
|
cp -f $PREFIX/x86_64-w64-mingw32/bin/libwinpthread-1.dll $SRC_TAURI_DIR/
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_path() {
|
setup_path() {
|
||||||
|
|
@ -349,7 +350,7 @@ verify_installation() {
|
||||||
|
|
||||||
# Check DLLs in src-tauri directory
|
# Check DLLs in src-tauri directory
|
||||||
local missing_dlls=()
|
local missing_dlls=()
|
||||||
for dll in libstdc++-6.dll libgcc_s_seh-1.dll; do
|
for dll in libstdc++-6.dll libgcc_s_seh-1.dll libwinpthread-1.dll; do
|
||||||
if [ ! -f "$SRC_TAURI_DIR/$dll" ]; then
|
if [ ! -f "$SRC_TAURI_DIR/$dll" ]; then
|
||||||
missing_dlls+=("$dll")
|
missing_dlls+=("$dll")
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
{
|
{
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"resources": ["libstdc++-6.dll", "libgcc_s_seh-1.dll"]
|
"resources": [
|
||||||
|
"libstdc++-6.dll",
|
||||||
|
"libgcc_s_seh-1.dll",
|
||||||
|
"libwinpthread-1.dll"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue