discord 0.0.31-2: correctly pack all files, move resources to a subdirectory

Resources are moved to a "resources" subdirectory to allow automated asar
installers to work with this package.

Reported-by: irisnk (https://aur.archlinux.org/packages/discord_arch_electron#comment-937014)
This commit is contained in:
Zoddo 2023-10-06 20:25:07 +02:00
parent 9b2c0746b7
commit 5505d9db4a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 43E8D68722C7D376
3 changed files with 9 additions and 9 deletions

View file

@ -18,4 +18,4 @@ for line in "${MAPFILE[@]}"; do
fi
done
exec /usr/bin/${electron} /usr/lib/${name}/app.asar "${flags[@]}" "$@"
exec /usr/bin/${electron} /usr/lib/${name}/resources/app.asar "${flags[@]}" "$@"