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
4f544f3f
Commit
4f544f3f
authored
Nov 15, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New fixes for portwine_search_shortcut
parent
82e7f1cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
functions_helper
data_from_portwine/scripts/functions_helper
+5
-5
No files found.
data_from_portwine/scripts/functions_helper
View file @
4f544f3f
...
...
@@ -6189,22 +6189,22 @@ portwine_change_shortcut () {
portwine_search_shortcut
()
{
unset
PW_DELETE_SHORTCUT_MENU PW_DELETE_SHORTCUT_DESKTOP
PW_DELETE_MENU
=
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/.local/share/applications"
/
*
.desktop 2>/dev/null
)
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_MENU
<<<
"
${
PW_DELETE_SHORTCUT_MENU
[*]
}
${
PW_DELETE_MENU
// /#@_@#
}
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_MENU
<<<
"
${
PW_DELETE_SHORTCUT_MENU
[*]
}
${
PW_DELETE_MENU
// /#@_@#
}
"
PW_DELETE_PP
=
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
PORT_WINE_PATH
}
"
/
*
.desktop 2>/dev/null
)
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_MENU
<<<
"
${
PW_DELETE_SHORTCUT_MENU
[*]
}
${
PW_DELETE_PP
// /#@_@#
}
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_MENU
<<<
"
${
PW_DELETE_SHORTCUT_MENU
[*]
}
${
PW_DELETE_PP
// /#@_@#
}
"
if
[[
-d
"
${
HOME
}
/Desktop"
]]
;
then
PW_DELETE_DESKTOP
=
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/Desktop"
/
*
.desktop 2>/dev/null
)
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_DESKTOP
<<<
"
${
PW_DELETE_SHORTCUT_DESKTOP
[*]
}
${
PW_DELETE_DESKTOP
// /#@_@#
}
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_DESKTOP
<<<
"
${
PW_DELETE_SHORTCUT_DESKTOP
[*]
}
${
PW_DELETE_DESKTOP
// /#@_@#
}
"
fi
if
[[
-d
"
${
HOME
}
/Рабочий стол"
]]
;
then
PW_DELETE_DESKTOP
=
"
$(
grep
-il
"
${
portwine_exe
}
"
"
${
HOME
}
/Рабочий стол"
/
*
.desktop 2>/dev/null
)
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_DESKTOP
<<<
"
${
PW_DELETE_SHORTCUT_DESKTOP
[*]
}
${
PW_DELETE_DESKTOP
// /#@_@#
}
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_DESKTOP
<<<
"
${
PW_DELETE_SHORTCUT_DESKTOP
[*]
}
${
PW_DELETE_DESKTOP
// /#@_@#
}
"
fi
if
[[
$(
xdg-user-dir DESKTOP
)
]]
;
then
PW_DELETE_DESKTOP
=
"
$(
grep
-il
"
${
portwine_exe
}
"
"
$(
xdg-user-dir DESKTOP
)
"
/
*
.desktop 2>/dev/null
)
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_DESKTOP
<<<
"
${
PW_DELETE_SHORTCUT_DESKTOP
[*]
}
${
PW_DELETE_DESKTOP
// /#@_@#
}
"
read
-r
-d
''
-a
PW_DELETE_SHORTCUT_DESKTOP
<<<
"
${
PW_DELETE_SHORTCUT_DESKTOP
[*]
}
${
PW_DELETE_DESKTOP
// /#@_@#
}
"
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