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
fabbc18d
Commit
fabbc18d
authored
Sep 12, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mini edition
parent
9ba5662d
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 @
fabbc18d
...
...
@@ -5455,9 +5455,8 @@ pw_autoinstall_from_db () {
}
button_click
()
{
if
[[
!
-z
$(
pidof
-s
yad
)
]]
||
[[
!
-z
$(
pidof
-s
yad_gui_pp
)
]]
;
then
[[
!
-z
"
$2
"
]]
&&
echo
"
$2
"
>
"
${
PW_TMPFS_PATH
}
/tmp_yad_form"
case
"
$1
"
in
if
[[
-n
$(
pidof
-s
yad
)
]]
||
[[
-n
$(
pidof
-s
yad_gui_pp
)
]]
;
then
[[
-n
"
$1
"
]]
&&
case
"
$1
"
in
--normal
)
kill
-s
SIGUSR1
$(
pgrep
-a
yad |
grep
"
\-
-key=
${
KEY
}
\-
-notebook"
|
awk
'{print $1}'
)
>
/dev/null 2>&1
;;
...
...
@@ -5469,14 +5468,15 @@ button_click () {
kill
-s
SIGUSR1
$(
pgrep
-a
yad |
grep
"
\-
-key=
${
KEY_USERCONF_GUI
}
"
|
awk
'{print $1}'
)
>
/dev/null 2>&1
;;
esac
[[
-n
"
$2
"
]]
&&
echo
"
$2
"
>
"
${
PW_TMPFS_PATH
}
/tmp_yad_form"
fi
}
export
-f
button_click
run_desktop_b_click
()
{
[[
!
-z
"
$1
"
]]
&&
echo
"
$1
"
>
"
${
PW_TMPFS_PATH
}
/tmp_yad_form"
[[
-n
"
$1
"
]]
&&
echo
"
$1
"
>
"
${
PW_TMPFS_PATH
}
/tmp_yad_form"
if
[[
!
-z
$(
pidof
-s
yad
)
]]
||
[[
!
-z
$(
pidof
-s
yad_gui_pp
)
]]
;
then
if
[[
-n
$(
pidof
-s
yad
)
]]
||
[[
-n
$(
pidof
-s
yad_gui_pp
)
]]
;
then
kill
-s
SIGUSR1
$(
pgrep
-a
yad |
grep
"
\-
-key=
${
KEY
}
\-
-notebook"
|
awk
'{print $1}'
)
>
/dev/null 2>&1
fi
if
check_flatpak
...
...
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