Update 3 files

- /home/dot_local/bin/executable_install-program
- /home/.chezmoidata.yaml
- /software.yml
This commit is contained in:
Brian Zalewski 2023-04-19 23:53:21 +00:00
parent 6b057e87e0
commit 30470ee51f
3 changed files with 39 additions and 1 deletions

View file

@ -854,6 +854,8 @@ softwareGroups:
- mjml
- mockoon
- mqttx
- pieces
- pieces-cli
- postman
- responsively
- runjs
@ -1178,6 +1180,10 @@ softwarePlugins:
docker:
plugins:
- sapk/plugin-rclone
# TODO Add Intellij missing plugins and fix install
intellij:
plugins:
- https://plugins.jetbrains.com/plugin/17328-pieces--save-search-share--reuse-code-snippets
vim:
plugins:
- https://github.com/dense-analysis/ale.git

View file

@ -1390,7 +1390,16 @@ async function installPackageList(packageManager, packages) {
console.error(e)
}
}
} else if (packageManager === 'pkg') {
} else if (packageManager === 'pkg-darwin') {
for (let pkg of packages) {
try {
runCommand(`Installing ${pkg} via ${packageManager}`, `TMP="$(mktemp)" && curl -sSL "${pkg}" > "$TMP" && sudo installer -pkg "$TMP" -target /`)
log('success', 'Install', `${pkg} successfully installed via ${packageManager}`)
} catch (e) {
log('error', 'Install', `There was an error installing ${pkg} with the system installer`)
console.error(e)
}
}
} else if (packageManager === 'port') {
const port = which.sync('port', { nothrow: true })
if (port) {

View file

@ -53,6 +53,7 @@
# npm: altair
# pacman: altair
# pipx: altair
# pkg-darwin: https://google.com/macos-pkgfile.pkg
# pkg-freebsd: altair
# pkg-termux: altair
# port: altair
@ -107,6 +108,7 @@ installerPreference:
- npm
- pipx
- gem
- pkg-darwin
- script
- ansible
- binary
@ -311,6 +313,27 @@ softwarePackages:
scoop: act
yay: act
_type: cli
pieces:
_bin:snap: pieces-os
_desc: Pieces is a first-in-kind productivity suite that optimizes developer tools and eliminates the chaos of context switching.
_docs: https://docs.pieces.app/
_github: false
_home: https://pieces.app/
_name: Pieces
_post:snap: sudo snap connect pieces-os:dotnet-runtime-aspnetcore
_when:pkg-darwin: '! test -d /Applications/Pieces.app'
# TODO - Figure out how to deal with appinstaller
appinstaller: https://builds.pieces.app/stages/production/pieces_suite_windows/appinstaller/download
pkg-darwin: https://builds.pieces.app/stages/production/macos_packaging/pkg/download
snap: pieces-os
pieces-cli:
_bin: pieces
_desc: Pieces is a first-in-kind productivity suite that optimizes developer tools and eliminates the chaos of context switching.
_docs: https://docs.pieces.app/
_github: false
_home: https://pieces.app/
_name: Pieces CLI
cask: pieces-cli
allure:
_bin: allure
_desc: '[Allure Report](https://docs.qameta.io/allure-testops/) is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process.'