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
f0379dfd
Commit
f0379dfd
authored
Aug 14, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Htylol-drop-center-gnome' into devel
parents
e7e48de9
b7611651
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
25 deletions
+24
-25
add_in_steam.sh
data_from_portwine/scripts/add_in_steam.sh
+1
-1
functions_helper
data_from_portwine/scripts/functions_helper
+18
-18
start.sh
data_from_portwine/scripts/start.sh
+5
-6
No files found.
data_from_portwine/scripts/add_in_steam.sh
View file @
f0379dfd
...
...
@@ -208,7 +208,7 @@ function downloadArtFromSteamGridDB {
curl -f -# -A
'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)'
-H
'Cache-Control: no-cache, no-store'
-H
'Pragma: no-cache'
-L
"
$DLSRC
"
-o
"
$DLDST
"
2>&1 | \
tr
'\r'
'\n'
| sed -ur
's|[# ]+||g;s|.*=.*||g;s|.*|#Downloading at &\n&|g'
| \
"
$pw_yad
"
--progress --text=
"
$(
gettext
"Downloading"
)
$filename
"
--auto-close --no-escape \
--auto-kill --
center --
text-align=
"center"
--fixed --no-buttons --title
"PortProton"
--width=500 --height=90 \
--auto-kill --text-align=
"center"
--fixed --no-buttons --title
"PortProton"
--width=500 --height=90 \
--window-icon=
"
$PW_GUI_ICON_PATH
/portproton.svg"
--borders=
"
$PROGRESS_BAR_BORDERS_SIZE
"
fi
else
...
...
data_from_portwine/scripts/functions_helper
View file @
f0379dfd
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/start.sh
View file @
f0379dfd
...
...
@@ -184,10 +184,9 @@ else
source
"
$PW_GUI_THEMES_PATH
/default.pptheme"
echo
'export GUI_THEME="default"'
>>
"
$USER_CONF
"
fi
if
[[
"
$XDG_SESSION_DESKTOP
"
=
~
"KDE"
]]
\
||
[[
"
$XDG_CURRENT_DESKTOP
"
==
"XFCE"
]]
then
export
YAD_OPTIONS+
=
"--center"
if
[[
"
${
DESKTOP_SESSION
}
"
=
~
"gnome"
]]
then
:
else
export
YAD_OPTIONS+
=
"--center"
fi
# choose branch
...
...
@@ -603,7 +602,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
\
--width
=
"
${
PW_START_SIZE_W
}
"
--tab-pos
=
"
${
PW_TAB_POSITON
}
"
\
--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"
!
""
\
...
...
@@ -635,7 +634,7 @@ if [[ -f "${portwine_exe}" ]] ; then
--field
=
" GameScope"
!
"
$PW_GUI_ICON_PATH
/
$BUTTON_SIZE
.png"
!
"
$(
gettext
"Enable GameScope by default (Wayland micro compositor)"
)
"
:
"FBTN"
'@bash -c "button_click_start 126"'
\
2>/dev/null &
"
${
pw_yad
}
"
--key
=
$KEY_START
--paned
--center
\
"
${
pw_yad
}
"
--key
=
$KEY_START
--paned
\
--gui-type
=
"settings-paned"
\
--width
=
"
${
PW_START_SIZE_W
}
"
--tab-pos
=
"
${
PW_TAB_POSITON
}
"
\
--title
"PortProton-
${
install_ver
}
(
${
scripts_install_ver
}${
BRANCH_VERSION
}
)"
\
...
...
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