Skip to content

Commit

Permalink
Why not work around it? :) closes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
lickx committed Aug 14, 2024
1 parent bb9b48b commit bf82bac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions bin/robust
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,10 @@ do_start() {

if [ -n "${WSL_DISTRO_NAME}" ]; then
# Warn issue #7 on WSL - https://github.com/lickx/isthmus/issues/7
VAR_SCREEN="/var/run/screen"
if [ ! -w ${VAR_SCREEN} ]; then
echo "${VAR_SCREEN} should exist and have rwx perms. Try:"
echo " sudo mkdir ${VAR_SCREEN}"
echo " sudo chmod 777 ${VAR_SCREEN}"
echo "Exiting."
exit
if [ ! -w /var/run/screen ]; then
mkdir -p ~/.screen
chmod 700 ~/.screen
export SCREENDIR="$HOME/.screen"
fi
fi

Expand Down
11 changes: 4 additions & 7 deletions bin/simctl
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,10 @@ do_start() {

if [ -n "${WSL_DISTRO_NAME}" ]; then
# Warn issue #7 on WSL - https://github.com/lickx/isthmus/issues/7
VAR_SCREEN="/var/run/screen"
if [ ! -w ${VAR_SCREEN} ]; then
echo "${VAR_SCREEN} should exist and have rwx perms. Try:"
echo " sudo mkdir ${VAR_SCREEN}"
echo " sudo chmod 777 ${VAR_SCREEN}"
echo "Exiting."
exit
if [ ! -w /var/run/screen ]; then
mkdir -p ~/.screen
chmod 700 ~/.screen
export SCREENDIR="$HOME/.screen"
fi
fi

Expand Down

0 comments on commit bf82bac

Please sign in to comment.