Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
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
Mikhail Tergoev
PortWINE
Commits
c278df4e
Commit
c278df4e
authored
Jan 18, 2025
by
Alex Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FLATPAK_IN_USE => START_FROM_FLATPAK
parent
4c0904a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
add_in_steam.sh
data_from_portwine/scripts/add_in_steam.sh
+3
-3
No files found.
data_from_portwine/scripts/add_in_steam.sh
View file @
c278df4e
...
...
@@ -480,7 +480,8 @@ addNonSteamGame() {
create_new_dir
"
${
STEAM_SCRIPTS
}
"
cat
<<-
EOF
> "
${
NOSTSHPATH
}
"
#!/usr/bin/env bash
export FLATPAK_IN_USE=
$(
check_flatpak
&&
echo
1
||
echo
0
)
export START_FROM_STEAM=1
export START_FROM_FLATPAK=
$(
check_flatpak
&&
echo
1
||
echo
0
)
source "
${
PORT_SCRIPTS_PATH
}
/add_in_steam.sh"
rungame "
${
portwine_exe
}
" "\
$@
"
EOF
...
...
@@ -506,7 +507,6 @@ addNonSteamGame() {
}
rungame
()
{
export
START_FROM_STEAM
=
1
export
portwine_exe
=
"
${
1
:-}
"
if
[[
-
n
"
${
portwine_exe
:-}
"
]]
;
then
if
[[
-
n
"
${
STEAM_COMPAT_DATA_PATH
:-}
"
]]
;
then
...
...
@@ -536,7 +536,7 @@ rungame() {
fi
else
export
LD_PRELOAD
=
if
[[
"
${
FLATPAK_IN_USE
:-
0
}
"
==
1
]]
&&
command
-
v
"flatpak"
&>/
dev/null
;
then
if
[[
"
${
START_FROM_FLATPAK
:-
0
}
"
==
1
]]
&&
command
-
v
"flatpak"
&>/
dev/null
;
then
flatpak run ru.linux_gaming.PortProton
"
${
portwine_exe
}
"
else
"
${
PORT_SCRIPTS_PATH
}
/start.sh"
"
${
portwine_exe
}
"
...
...
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