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
42feee47
Commit
42feee47
authored
Mar 21, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Boria138-fix-flatpak-wine'
parents
97645fe4
887d64fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
functions_helper
data_from_portwine/scripts/functions_helper
+15
-6
No files found.
data_from_portwine/scripts/functions_helper
View file @
42feee47
...
...
@@ -413,12 +413,21 @@ check_user_conf () {
init_wine_ver
()
{
if
[[
"
${
PW_WINE_USE
}
"
==
"USE_SYSTEM_WINE"
]]
\
&&
command
-v
wine &>/dev/null
;
then
export
WINEDIR
=
"
$RT_PREFIX
/usr"
export
WINE
=
"
$RT_PREFIX
/
$(
command
-v
wine
)
"
export
WINELOADER
=
"
$WINE
"
export
WINESERVER
=
"
$RT_PREFIX
/
$(
command
-v
wineserver
)
"
export
PW_USE_RUNTIME
=
0
export
PW_NO_FSYNC
=
1
if
!
grep
-i
"flatpak"
/etc/os-release &>/dev/null
;
then
export
WINEDIR
=
"
$RT_PREFIX
/usr"
export
WINE
=
"
$RT_PREFIX
/
$(
command
-v
wine
)
"
export
WINELOADER
=
"
$WINE
"
export
WINESERVER
=
"
$RT_PREFIX
/
$(
command
-v
wineserver
)
"
export
PW_USE_RUNTIME
=
0
export
PW_NO_FSYNC
=
1
else
export
WINEDIR
=
"
$RT_PREFIX
/app"
export
WINE
=
"
$RT_PREFIX
/app/bin/wine"
export
WINELOADER
=
"
$WINE
"
export
WINESERVER
=
"
$RT_PREFIX
/app/bin/wineserver"
export
PW_USE_RUNTIME
=
0
export
PW_NO_FSYNC
=
1
fi
else
if
[[
-d
"
${
PORT_WINE_PATH
}
/data/dist"
]]
;
then
orig_IFS
=
"
$IFS
"
...
...
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