forked from CastroFidel/PortWINE
Added information about branch version in title
This commit is contained in:
@ -176,9 +176,12 @@ if [[ -z "$BRANCH" ]] ; then
|
||||
echo 'export BRANCH="master"' >> "$USER_CONF"
|
||||
export BRANCH="master"
|
||||
fi
|
||||
if [[ "$BRANCH" == "master" ]]
|
||||
then print_info "Branch in used: STABLE\n"
|
||||
else print_warning "Branch in used: DEVEL\n"
|
||||
if [[ "$BRANCH" == "master" ]] ; then
|
||||
print_info "Branch in used: STABLE\n"
|
||||
export BRANCH_VERSION="$(gettext 'stable')"
|
||||
else
|
||||
print_warning "Branch in used: DEVEL\n"
|
||||
export BRANCH_VERSION="devel"
|
||||
fi
|
||||
|
||||
# choose mirror
|
||||
@ -509,7 +512,7 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
"${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})" --expand \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}-${BRANCH_VERSION})" --expand \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--tab="$(gettext "GENERAL")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
@ -549,7 +552,7 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
"${pw_yad}" --key=$KEY_START --paned --center \
|
||||
--gui-type=settings-paned \
|
||||
--width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver})" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}-${BRANCH_VERSION})" \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--button="${PW_SHORTCUT}" \
|
||||
--button="$(gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Launch with the creation of a .log file at the root PortProton")":102 \
|
||||
@ -703,7 +706,7 @@ else
|
||||
--gui-type=settings-notebook \
|
||||
--width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \
|
||||
--auto-close --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver})" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}-${BRANCH_VERSION})" \
|
||||
--tab-pos=bottom \
|
||||
--tab="$(gettext "AUTOINSTALLS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "EMULATORS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
@ -716,7 +719,7 @@ else
|
||||
--gui-type=settings-notebook \
|
||||
--width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \
|
||||
--auto-close --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver})" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}-${BRANCH_VERSION})" \
|
||||
--tab-pos=bottom \
|
||||
--tab="$(gettext "INSTALLED")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "AUTOINSTALLS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
|
Reference in New Issue
Block a user