mirror of
https://github.com/Maks1mS/devcontainers-features.git
synced 2025-10-19 09:28:37 +03:00
Compare commits
8 Commits
feature_wi
...
feature_wi
Author | SHA1 | Date | |
---|---|---|---|
540057550e | |||
15390cb411 | |||
ae8a182675 | |||
fa2004146c | |||
aca0c1e295 | |||
90cbac1ff7 | |||
3c793d0e3d | |||
f73c58a243 |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Wine",
|
||||
"id": "wine",
|
||||
"version": "0.0.2",
|
||||
"version": "0.0.3",
|
||||
"description": "Installs Wine.",
|
||||
"options": {
|
||||
"version": {
|
||||
|
@@ -43,7 +43,7 @@ install_debian() {
|
||||
fi
|
||||
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends winehq-staging
|
||||
apt-get install -y --install-recommends winehq-staging
|
||||
|
||||
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O /usr/bin/winetricks
|
||||
chmod +rx /usr/bin/winetricks
|
||||
@@ -58,6 +58,9 @@ export WINEDEBUG=-all"
|
||||
update_rc_file "$_REMOTE_USER_HOME/.bashrc" "${snippet}"
|
||||
|
||||
su -l "$_REMOTE_USER" -c "mkdir -p $WINEPREFIX && wine wineboot --init"
|
||||
su -l "$_REMOTE_USER" -c "echo \"check-certificate = off\" >> ~/.wgetrc"
|
||||
su -l "$_REMOTE_USER" -c "echo \"check_certificate = off\" >> ~/.wgetrc"
|
||||
su -l "$_REMOTE_USER" -c "winetricks corefonts"
|
||||
|
||||
# Cleanup
|
||||
apt purge --auto-remove -y
|
||||
|
Reference in New Issue
Block a user