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
890af942
Commit
890af942
authored
Sep 11, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restarting PP when you press cancel when creating shortcuts
parent
6d750ef8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
functions_helper
data_from_portwine/scripts/functions_helper
+10
-1
start.sh
data_from_portwine/scripts/start.sh
+2
-2
No files found.
data_from_portwine/scripts/functions_helper
View file @
890af942
...
...
@@ -4942,10 +4942,19 @@ portwine_create_shortcut () {
if
[[
"
$PW_NO_RESTART_PPDB
"
!=
"1"
]]
;
then
print_info
"Restarting PP..."
unset
PW_YAD_FORM_TAB
if
[[
"
${
PW_GUI_START
}
"
==
"NOTEBOOK"
]]
;
then
unset
PW_YAD_FORM_TAB
fi
/usr/bin/env bash
-c
${
pw_full_command_line
[*]
}
&
exit
0
fi
elif
[[
"
$PW_YAD_OUT
"
==
"2"
]]
;
then
print_info
"Restarting PP..."
if
[[
"
${
PW_GUI_START
}
"
==
"NOTEBOOK"
]]
;
then
unset
PW_YAD_FORM_TAB
fi
/usr/bin/env bash
-c
${
pw_full_command_line
[*]
}
&
exit
0
fi
}
...
...
data_from_portwine/scripts/start.sh
View file @
890af942
...
...
@@ -601,7 +601,7 @@ if [[ -f "${portwine_exe}" ]] ; then
2>/dev/null &
if
[[
"
${
PW_YAD_FORM_TAB
}
"
==
"1"
]]
\
&&
[[
!
-z
"
${
TAB_START
}
"
]]
&&
[[
-n
"
${
TAB_START
}
"
]]
then
export
TAB_START
=
"2"
unset
PW_YAD_FORM_TAB
...
...
@@ -655,7 +655,7 @@ if [[ -f "${portwine_exe}" ]] ; then
--button
=
"
$(
gettext
"LAUNCH"
)
"
!
"
$PW_GUI_ICON_PATH
/
$BUTTON_SIZE
.png"
!
"
$(
gettext
"Run file ..."
)
"
:106 2>/dev/null
PW_YAD_SET
=
"
$?
"
fi
[[
!
-z
"
$PW_YAD_SET
"
]]
&&
case
"
$PW_YAD_SET
"
in
[[
-n
"
$PW_YAD_SET
"
]]
&&
case
"
$PW_YAD_SET
"
in
128
)
if
[[
"
${
PW_GUI_START
}
"
==
"NOTEBOOK"
]]
;
then
unset
PW_YAD_FORM_TAB
...
...
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