Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
55dedfe5
Unverified
Commit
55dedfe5
authored
Jul 11, 2023
by
Mikhail Tergoev
Committed by
GitHub
Jul 11, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #48 from Boria138/symlink-fix
added a check for the existence of a symbolic link
parents
078efd59
f6b5eee0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
setup.sh
data_from_portwine/scripts/setup.sh
+7
-4
No files found.
data_from_portwine/scripts/setup.sh
View file @
55dedfe5
...
@@ -53,7 +53,11 @@ if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
...
@@ -53,7 +53,11 @@ if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
ln
-s
"
${
PW_OLD_PATH
}
/PortProton"
"
${
XDG_DATA_HOME
}
/PortWINE"
ln
-s
"
${
PW_OLD_PATH
}
/PortProton"
"
${
XDG_DATA_HOME
}
/PortWINE"
fi
fi
fi
fi
ln
-s
"
${
XDG_DATA_HOME
}
/PortWINE"
"
${
HOME
}
/"
if
[
!
-L
"
${
HOME
}
/PortWINE"
]
;
then
ln
-s
"
${
XDG_DATA_HOME
}
/PortWINE"
"
${
HOME
}
/"
else
echo
"Symbolic link already exists."
fi
echo
"Restarting PP after installing..."
echo
"Restarting PP after installing..."
/usr/bin/env bash
-c
"
${
XDG_DATA_HOME
}
/PortWINE/PortProton/data/scripts/start.sh"
$@
&
/usr/bin/env bash
-c
"
${
XDG_DATA_HOME
}
/PortWINE/PortProton/data/scripts/start.sh"
$@
&
exit
0
exit
0
...
@@ -62,6 +66,6 @@ if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
...
@@ -62,6 +66,6 @@ if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
fi
fi
else
else
`
zenity
--info
--title
"
${
inst_set_top
}
"
--text
"
${
inst_succ
}
"
--no-wrap
`
>
/dev/null 2>&1
`
zenity
--info
--title
"
${
inst_set_top
}
"
--text
"
${
inst_succ
}
"
--no-wrap
`
>
/dev/null 2>&1
xdg-open
"https://linux-gaming.ru/portproton/"
>
/dev/null 2>&1 &
exit
0
xdg-open
"https://linux-gaming.ru/portproton/"
>
/dev/null 2>&1 &
exit
0
fi
fi
unset
INSTALLING_PORT
unset
INSTALLING_PORT
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment