Update 2 files
- /home/dot_local/bin/executable_install-program - /software.yml
This commit is contained in:
parent
3e16fabb7c
commit
473fc3019e
2 changed files with 5 additions and 5 deletions
|
@ -1531,7 +1531,7 @@ async function linkBin(installOrdersBinLink) {
|
||||||
if(!which.sync(binLink.bin, { nothrow: true })) {
|
if(!which.sync(binLink.bin, { nothrow: true })) {
|
||||||
if (binLink.preference === 'flatpak' && flatpak) {
|
if (binLink.preference === 'flatpak' && flatpak) {
|
||||||
try {
|
try {
|
||||||
runCommand(`Adding bin link for ${pkg} (${binLink.bin})`, `test -d ${flatpakDir}/app/${pkg} && mkdir -p "${process.env.HOME}/.local/bin/flatpak" && echo "flatpak run ${pkg}" > "${process.env.HOME}/.local/bin/flatpak/${binLink.bin}"`)
|
runCommand(`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}" > "${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) {
|
||||||
log('warn', 'Bin', `Expected flatpak directory not available - ${flatpakDir}/app/${pkg}`)
|
log('warn', 'Bin', `Expected flatpak directory not available - ${flatpakDir}/app/${pkg}`)
|
||||||
|
@ -1541,7 +1541,7 @@ async function linkBin(installOrdersBinLink) {
|
||||||
const caskWhen = softwarePackages[binLink.package]["_when:cask"]
|
const caskWhen = softwarePackages[binLink.package]["_when:cask"]
|
||||||
const caskDir = caskWhen.replace('test -d ', '').replace(/"/g, '')
|
const caskDir = caskWhen.replace('test -d ', '').replace(/"/g, '')
|
||||||
if (fileExists(caskDir)) {
|
if (fileExists(caskDir)) {
|
||||||
runCommand(`Adding shortcut bin link for ${binLink.package}`, `mkdir -p "${process.env.HOME}/.local/bin/cask" && echo "open ${caskDir}" > "${process.env.HOME}/.local/bin/cask/${binLink.bin}"`)
|
runCommand(`Adding shortcut bin link for ${binLink.package}`, `bash -c 'mkdir -p "${process.env.HOME}/.local/bin/cask" && echo "open ${caskDir}" > "${process.env.HOME}/.local/bin/cask/${binLink.bin}"'`)
|
||||||
} else {
|
} else {
|
||||||
log('warn', 'Bin', `Expected Homebrew cask directory not found - ${pkg}`)
|
log('warn', 'Bin', `Expected Homebrew cask directory not found - ${pkg}`)
|
||||||
}
|
}
|
||||||
|
|
|
@ -7464,7 +7464,7 @@ softwarePlugins:
|
||||||
plugins:
|
plugins:
|
||||||
- Microsoft.CST.AttackSurfaceAnalyzer.CLI
|
- Microsoft.CST.AttackSurfaceAnalyzer.CLI
|
||||||
gh:
|
gh:
|
||||||
cmd: if [ -n "$GITHUB_TOKEN" ] && ! gh extension list | grep {PLUGIN}; then gh extension install {PLUGIN}; fi
|
cmd: bash -c 'if [ -n "$GITHUB_TOKEN" ] && ! gh extension list | grep {PLUGIN}; then gh extension install {PLUGIN}; fi'
|
||||||
plugins:
|
plugins:
|
||||||
- dlvhdr/gh-dash
|
- dlvhdr/gh-dash
|
||||||
- github/gh-net
|
- github/gh-net
|
||||||
|
@ -7491,7 +7491,7 @@ softwarePlugins:
|
||||||
- view-allocations
|
- view-allocations
|
||||||
- who-can
|
- who-can
|
||||||
vagrant:
|
vagrant:
|
||||||
cmd: if ! vagrant plugin list | grep {PLUGIN}; then vagrant plugin install {PLUGIN}; fi
|
cmd: bash -c 'if ! vagrant plugin list | grep {PLUGIN}; then vagrant plugin install {PLUGIN}; fi'
|
||||||
plugins:
|
plugins:
|
||||||
- vagrant-bindfs
|
- vagrant-bindfs
|
||||||
- vagrant-digitalocean
|
- vagrant-digitalocean
|
||||||
|
@ -7502,7 +7502,7 @@ softwarePlugins:
|
||||||
- vagrant-vbguest
|
- vagrant-vbguest
|
||||||
- vagrant-vmware-desktop
|
- vagrant-vmware-desktop
|
||||||
vscodium:
|
vscodium:
|
||||||
cmd: if test -n "$(find ~/.vscode/extensions -mindepth 1 -maxdepth 1 -type d -name "$(echo {PLUGIN} | tr "[:upper:]" "[:lower:]")*" -print -quit)"; then codium --install-extension "$(echo {PLUGIN} | tr "[:upper:]" "[:lower:]")"; fi
|
cmd: bash -c 'if test -n "$(find ~/.vscode/extensions -mindepth 1 -maxdepth 1 -type d -name "$(echo {PLUGIN} | tr "[:upper:]" "[:lower:]")*" -print -quit)"; then codium --install-extension "$(echo {PLUGIN} | tr "[:upper:]" "[:lower:]")"; fi'
|
||||||
plugins:
|
plugins:
|
||||||
- Angular.ng-template
|
- Angular.ng-template
|
||||||
- attilabuti.vscode-mjml
|
- attilabuti.vscode-mjml
|
||||||
|
|
Loading…
Reference in a new issue