chore: add ruby and solidus packages for windows
This commit is contained in:
parent
379344ac26
commit
c2aff5bc18
10 changed files with 25 additions and 2 deletions
6
groups/solidus
Normal file
6
groups/solidus
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
git
|
||||||
|
fossil
|
||||||
|
ruby
|
||||||
|
imagemagick
|
||||||
|
sass
|
||||||
|
shared-mime-info
|
|
@ -1,2 +1,3 @@
|
||||||
chocolatey
|
chocolatey
|
||||||
powershell.ps1
|
powershell.ps1
|
||||||
|
windows
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
if [[ $(sfc 2>&1 | tr -d '\0') =~ SCANNOW ]]
|
if [[ $(sfc 2>&1 | tr -d '\0') =~ SCANNOW ]]
|
||||||
then choco install --limit-output "$@"
|
then choco install --limit-output "$@"
|
||||||
else exec powershell -Command "Start-Process 'choco' -Verb runAs -ArgumentList 'install $*'"
|
else exec powershell -Command "Start-Process 'choco' -Verb runAs -ArgumentList 'install $*'"
|
||||||
fi
|
fi
|
||||||
|
|
1
packages/conda/chocolatey
Normal file
1
packages/conda/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
miniconda3 --params="/AddToPath:1"
|
1
packages/fossil/chocolatey
Normal file
1
packages/fossil/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
packages/git/chocolatey
Normal file
1
packages/git/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
packages/imagemagick/chocolatey
Normal file
1
packages/imagemagick/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
2
packages/ruby/chocolatey
Normal file
2
packages/ruby/chocolatey
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ruby
|
||||||
|
msys2
|
1
packages/sass/chocolatey
Normal file
1
packages/sass/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
9
packages/shared-mime-info/windows
Normal file
9
packages/shared-mime-info/windows
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
test -f "$FREEDESKTOP_MIME_TYPES_PATH" && exit 0
|
||||||
|
cd "C:\\ProgramData\\"
|
||||||
|
version=2.2
|
||||||
|
name="shared-mime-info-$version"
|
||||||
|
curl https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$version/$name.zip >"$name.zip"
|
||||||
|
7z x -y "$name.zip" || unzip "$name.zip"
|
||||||
|
setx FREEDESKTOP_MIME_TYPES_PATH "C:\\ProgramData\\$name\\data\\freedesktop.org.xml.in"
|
||||||
|
rm -v "$name.zip"
|
Loading…
Add table
Reference in a new issue