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
eca02d91
Commit
eca02d91
authored
Jul 23, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added TAB_MAIN_MENU
parent
7561746f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
38 deletions
+63
-38
functions_helper
data_from_portwine/scripts/functions_helper
+54
-33
start.sh
data_from_portwine/scripts/start.sh
+9
-5
No files found.
data_from_portwine/scripts/functions_helper
View file @
eca02d91
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/start.sh
View file @
eca02d91
...
...
@@ -551,7 +551,7 @@ if [[ -f "${portwine_exe}" ]] ; then
export
TAB_START
=
"1"
fi
"
${
pw_yad
}
"
--key
=
$KEY_START
--notebook
--active-tab
=
${
TAB_START
}
\
"
${
pw_yad
}
"
--key
=
$KEY_START
--notebook
--active-tab
=
"
${
TAB_START
}
"
\
--gui-type
=
"settings-notebook"
\
--width
=
"
${
PW_START_SIZE_W
}
"
--tab-pos
=
"
${
PW_TAB_POSITON
}
"
--center
\
--title
"PortProton-
${
install_ver
}
(
${
scripts_install_ver
}${
BRANCH_VERSION
}
)"
--expand
\
...
...
@@ -742,11 +742,14 @@ else
# --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PW_BETHESDA"'
# --field=" League of Legends"!"$PW_GUI_ICON_PATH/lol.png"!"":"FBTN" '@bash -c "button_click PW_LOL"'
export
START_FROM_PP_GUI
=
1
export
START_FROM_PP_GUI
=
"1"
if
[[
-z
${
TAB_MAIN_MENU
}
]]
;
then
export
TAB_MAIN_MENU
=
"1"
fi
if
[[
-z
"
${
PW_ALL_DF
}
"
]]
;
then
"
${
pw_yad
}
"
--key
=
$KEY
--notebook
--expand
\
--gui-type
=
"settings-notebook"
\
--gui-type
=
"settings-notebook"
--active-tab
=
"
${
TAB_MAIN_MENU
}
"
\
--width
=
"
${
PW_MAIN_SIZE_W
}
"
--height
=
"
${
PW_MAIN_SIZE_H
}
"
--no-buttons
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/portproton.svg"
\
--title
"PortProton-
${
install_ver
}
(
${
scripts_install_ver
}${
BRANCH_VERSION
}
)"
\
...
...
@@ -759,7 +762,7 @@ else
YAD_STATUS
=
"
$?
"
else
"
${
pw_yad
}
"
--key
=
$KEY
--notebook
--expand
\
--gui-type
=
"settings-notebook"
\
--gui-type
=
"settings-notebook"
--active-tab
=
"
${
TAB_MAIN_MENU
}
"
\
--width
=
"
${
PW_MAIN_SIZE_W
}
"
--height
=
"
${
PW_MAIN_SIZE_H
}
"
--no-buttons
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/portproton.svg"
\
--title
"PortProton-
${
install_ver
}
(
${
scripts_install_ver
}${
BRANCH_VERSION
}
)"
\
...
...
@@ -771,6 +774,7 @@ else
--tab
=
"
$(
gettext
"PORTPROTON SETTINGS"
)
"
!
"
$PW_GUI_ICON_PATH
/
$TAB_SIZE
.png"
!
""
2>/dev/null
YAD_STATUS
=
"
$?
"
fi
unset
TAB_MAIN_MENU
if
[[
"
$YAD_STATUS
"
==
"1"
||
"
$YAD_STATUS
"
==
"252"
]]
;
then
exit
0
;
fi
pw_yad_set_form
...
...
@@ -787,7 +791,7 @@ else
fi
export
PW_PREFIX_NAME PW_WINE_VER VULKAN_MOD
fi
export
PW_DISABLED_CREATE_DB
=
1
export
PW_DISABLED_CREATE_DB
=
"1"
fi
case
"
${
VULKAN_MOD
}
"
in
...
...
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