Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-24 21:26:45 +00:00
parent 34088e3b32
commit 35c1736fe1

View file

@ -1634,7 +1634,7 @@ async function linkBin(installOrdersBinLink) {
const wildcardParams = '$*' const wildcardParams = '$*'
runCommand( runCommand(
`Adding bin link for ${pkg} (${binLink.bin})`, `Adding bin link for ${pkg} (${binLink.bin})`,
`bash -c 'test -d ${flatpakDir}/app/${pkg} && mkdir -p "${process.env.HOME}/.local/bin/flatpak" && echo "flatpak run ${pkg} ${wildcardParams}" > "${process.env.HOME}/.local/bin/flatpak/${binLink.bin}" && chmod +x "${process.env.HOME}/.local/bin/flatpak/${binLink.bin}"'` `bash -c 'test -d ${flatpakDir}/app/${pkg} && mkdir -p "${process.env.HOME}/.local/bin/flatpak" && echo "flatpak run ${pkg} ` + wildcardParams + ` > "${process.env.HOME}/.local/bin/flatpak/${binLink.bin}" && chmod +x "${process.env.HOME}/.local/bin/flatpak/${binLink.bin}"'`
) )
log('success', 'Bin', `Linked ~/.local/bin/flatpak/${binLink.bin} to the ${pkg} Flatpak`) log('success', 'Bin', `Linked ~/.local/bin/flatpak/${binLink.bin} to the ${pkg} Flatpak`)
} catch (e) { } catch (e) {