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
Vladislav
PortWINE
Commits
30ac7a6e
Commit
30ac7a6e
authored
Jan 26, 2024
by
Boria138
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed steam shortcuts
parent
8835cdd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+3
-3
No files found.
data_from_portwine/scripts/zen_yad_gui
View file @
30ac7a6e
...
...
@@ -656,7 +656,7 @@ portwine_create_shortcut () {
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Name=
${
name_desktop
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
if
[[
$(
cat
/etc/os-release |
grep
-i
"flatpak"
)
]]
then
echo
"Exec=
"
flatpak run com.castrofidel.portproton
\"
${
portwine_exe
}
\"
"
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
then
echo
"Exec=
flatpak run com.castrofidel.portproton
\"
${
portwine_exe
}
\"
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
else
echo
"Exec=env "
\"
${
PORT_SCRIPTS_PATH
}
/start.sh
\"
\"
${
portwine_exe
}
\"
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
fi
echo
"Type=Application"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
...
...
@@ -683,8 +683,8 @@ portwine_create_shortcut () {
echo
"export START_FROM_STEAM=1"
>>
"
${
STEAM_SCRIPTS
}
/
${
name_desktop
}
.sh"
echo
"export LD_PRELOAD="
>>
"
${
STEAM_SCRIPTS
}
/
${
name_desktop
}
.sh"
if
[[
$(
cat
/etc/os-release |
grep
-i
"flatpak"
)
]]
then
echo
"
Exec="
flatpak run com.castrofidel.portproton
\"
${
portwine_exe
}
\"
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop
"
else
echo
"
Exec=env "
\"
${
PORT_SCRIPTS_PATH
}
/start.sh
\"
\"
${
portwine_exe
}
\"
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop
"
then
echo
"
flatpak run com.castrofidel.portproton
\"
${
portwine_exe
}
\"
"
>>
"
${
STEAM_SCRIPTS
}
/
${
name_desktop
}
.sh
"
else
echo
"
\"
${
PORT_SCRIPTS_PATH
}
/start.sh
\"
\"
${
portwine_exe
}
\"
"
>>
"
${
STEAM_SCRIPTS
}
/
${
name_desktop
}
.sh
"
fi
chmod
u+x
"
${
STEAM_SCRIPTS
}
/
${
name_desktop
}
.sh"
"
${
PORT_SCRIPTS_PATH
}
/add_in_steam.sh"
...
...
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