cargo-tauri.hook: fix installation when $out already exists

This commit is contained in:
TomaSajt 2025-05-17 04:21:47 +02:00
parent c76ede329c
commit eb6d1a086e
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -42,7 +42,8 @@ makeSetupHook {
''; '';
linux = '' linux = ''
mv "$targetDir"/bundle/deb/*/data/usr $out mkdir -p $out
mv "$targetDir"/bundle/deb/*/data/usr/* $out/
''; '';
} }
.${kernelName} or (throw "${kernelName} is not supported by cargo-tauri.hook"); .${kernelName} or (throw "${kernelName} is not supported by cargo-tauri.hook");