Update file executable_install-program
This commit is contained in:
parent
34088e3b32
commit
35c1736fe1
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue