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
e866a1d5
Commit
e866a1d5
authored
Jul 30, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixed-remove-desktop' of github.com:Htylol/PortWINE into Htylol-fixed-remove-desktop
parents
ebe209a9
e53da92c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
functions_helper
data_from_portwine/scripts/functions_helper
+6
-6
No files found.
data_from_portwine/scripts/functions_helper
View file @
e866a1d5
...
...
@@ -4729,15 +4729,15 @@ pw_auto_create_shortcut () {
export
-f
pw_auto_create_shortcut
portwine_delete_shortcut
()
{
rm
-f
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/.local/share/applications"
/
*
.desktop
)
"
&>/dev/null
rm
-f
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
PORT_WINE_PATH
}
"
/
*
.desktop
)
"
&>/dev/null
# rm -f
"$(grep -il "${portwine_exe}" "${STEAM_SCRIPTS}"/*.sh)"
&>/dev/null
rm
-f
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/.local/share/applications"
/
*
.desktop
)
&>/dev/null
rm
-f
$(
grep
-il
"
${
portwine_exe
}
"
"
${
PORT_WINE_PATH
}
"
/
*
.desktop
)
&>/dev/null
# rm -f
$(grep -il "${portwine_exe}" "${STEAM_SCRIPTS}"/*.sh)
&>/dev/null
if
[[
-d
"
${
HOME
}
/Desktop"
]]
;
then
rm
-f
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/Desktop"
/
*
.desktop
)
"
&>/dev/null
rm
-f
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/Desktop"
/
*
.desktop
)
&>/dev/null
elif
[[
-d
"
${
HOME
}
/Рабочий стол"
]]
;
then
rm
-f
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/Рабочий стол"
/
*
.desktop
)
"
&>/dev/null
rm
-f
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/Рабочий стол"
/
*
.desktop
)
&>/dev/null
elif
[[
$(
xdg-user-dir DESKTOP
)
]]
;
then
rm
-f
"
$(
grep
-il
"
${
portwine_exe
}
"
"
$(
xdg-user-dir DESKTOP
)
"
/
*
.desktop
)
"
&>/dev/null
rm
-f
$(
grep
-il
"
${
portwine_exe
}
"
"
$(
xdg-user-dir DESKTOP
)
"
/
*
.desktop
)
&>/dev/null
fi
}
...
...
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