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
8defcff2
Commit
8defcff2
authored
Sep 13, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update restart_pp function
parent
4d8841fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
functions_helper
data_from_portwine/scripts/functions_helper
+4
-7
start.sh
data_from_portwine/scripts/start.sh
+6
-3
No files found.
data_from_portwine/scripts/functions_helper
View file @
8defcff2
...
...
@@ -625,16 +625,13 @@ combobox_fix () {
restart_pp
()
{
if
[[
-n
"
$1
"
]]
;
then
if
[[
"
$1
"
==
"--userconf"
]]
;
then
/usr/bin/env bash
-c
"
${
pw_full_command_line
[0]
}
--gui_userconf"
&
exit
0
export
RESTART_PP_USED
=
"userconf"
elif
[[
"
$1
"
==
"--edit_db"
]]
;
then
/usr/bin/env bash
-c
"
${
pw_full_command_line
[0]
}
--gui_edit_db"
&
exit
0
export
RESTART_PP_USED
=
"edit_db"
fi
else
/usr/bin/env bash
-c
${
pw_full_command_line
[@]
}
&
exit
0
fi
/usr/bin/env bash
-c
${
pw_full_command_line
[@]
}
&
exit
0
}
pw_clear_pfx
()
{
...
...
data_from_portwine/scripts/start.sh
View file @
8defcff2
...
...
@@ -566,9 +566,11 @@ fi
if
[[
-f
"
${
portwine_exe
}
"
]]
;
then
unset
TAB_MAIN_MENU
if
[[
"
$1
"
==
"--gui_edit_db"
]]
;
then
if
[[
"
$RESTART_PP_USED
"
==
"edit_db"
]]
;
then
unset
RESTART_PP_USED
gui_edit_db
elif
[[
"
$1
"
==
"--gui_userconf"
]]
;
then
elif
[[
"
$RESTART_PP_USED
"
==
"userconf"
]]
;
then
unset
RESTART_PP_USED
gui_userconf
fi
if
[[
"
${
PW_GUI_DISABLED_CS
}
"
!=
1
]]
;
then
...
...
@@ -681,7 +683,8 @@ else
then
export
PW_GUI_SORT_TABS
=(
1 2 3 4 5
)
else
export
PW_GUI_SORT_TABS
=(
2 3 4 5 1
)
fi
if
[[
"
$1
"
==
"--gui_userconf"
]]
;
then
if
[[
"
$RESTART_PP_USED
"
==
"userconf"
]]
;
then
unset
RESTART_PP_USED
gui_userconf
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