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
d70031de
Commit
d70031de
authored
Sep 04, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Boria138-alphine' into devel
parents
c7a92eb0
af1d4a62
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
23 deletions
+40
-23
changelog_en
data_from_portwine/changelog_en
+9
-0
changelog_ru
data_from_portwine/changelog_ru
+4
-0
functions_helper
data_from_portwine/scripts/functions_helper
+26
-22
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog_en
View file @
d70031de
...
...
@@ -2,6 +2,15 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2343### / Date: 04.09.2024 / Download update size: 190 megabytes
* updated PROTON_LG to version "9-12"
* updated versions:
* DXVK_GIT "2.4-37"
* VKD3D_GIT "1.1-4167"
* improved support for flatpak version of PortProton for Alpine Linux (thanks to Boria138)
* fixed tray for WM: BSPWM (thanks to Htylol)
* fixed launch of some bat files (thanks to Htylol)
###Scripts version 2342### / stable / Date: 30.08.2024 / Download update size: 385 megabytes
* cumulative update to the stable version of PortProton scripts
...
...
data_from_portwine/changelog_ru
View file @
d70031de
...
...
@@ -2,10 +2,14 @@
-----------------------------------------
История изменений:
###Scripts version 2343### / Дата: 04.09.2024 / Размер скачиваемого обновления: 190 мегабайт
* обновлен PROTON_LG до версии "9-12"
* обновлены версии:
* DXVK_GIT "2.4-37"
* VKD3D_GIT "1.1-4167"
* улучшена поддержка flatpak версии PortProton для Alpine Linux (спасибо Boria138)
* исправлен трей для WM: BSPWM (спасибо Htylol)
* исправлен запуск некоторых bat файлов (спасибо Htylol)
###Scripts version 2342### / stable / Дата: 30.08.2024 / Размер скачиваемого обновления: 385 мегабайт
* кумулятивное обновление стабильной версии скриптов PortProton
...
...
data_from_portwine/scripts/functions_helper
View file @
d70031de
...
...
@@ -519,6 +519,9 @@ check_flatpak () {
fi
if
grep
-i
"flatpak"
/etc/os-release &>/dev/null
;
then
export
FLATPAK_IN_USE
=
1
if
grep
-i
"Alpine Linux"
"/run/host/etc/os-release"
&>/dev/null
;
then
export
ALPINE_FP
=
1
fi
return
0
else
export
FLATPAK_IN_USE
=
0
...
...
@@ -981,7 +984,7 @@ regdlloverrides () {
}
wait_wineserver
()
{
while
ls
-l
/proc/
*
/exe
2>/dev/null
|
grep
-ie
PortProton |
grep
-E
'wine(64)?-preloader|wineserver'
while
ls
-l
/proc/
*
/exe
>
/dev/null 2>&1
|
grep
-ie
PortProton |
grep
-E
'wine(64)?-preloader|wineserver'
do
sleep
1
done
...
...
@@ -992,27 +995,25 @@ export -f wait_wineserver
kill_portwine
()
{
if
[[
"
${
PW_WINE_USE
}
"
!=
"USE_SYSTEM_WINE"
]]
;
then
wine_pids
=
"
$(
ls
-l
/proc/
*
/exe 2>/dev/null |
grep
-ie
PortProton |
grep
-E
'wine(64)?-preloader|wineserver'
|
awk
-F
/
'{print $3}'
)
"
for
pw_kill_pids
in
${
wine_pids
}
;
do
if
ps cax |
grep
"
${
pw_kill_pids
}
"
;
then
kill
-n
9
"
${
pw_kill_pids
}
"
&>/dev/null
fi
done
bwrap_pids
=
"
$(
pgrep
-a
wrap |
grep
PortProton |
head
-n
1 |
awk
'{print $1}'
)
"
for
pw_kill_pids
in
${
bwrap_pids
}
;
do
if
ps cax |
grep
"
${
pw_kill_pids
}
"
;
then
kill
-n
9
"
${
pw_kill_pids
}
"
&>/dev/null
fi
done
check_flatpak
if
[[
"
$ALPINE_FP
"
==
"1"
]]
;
then
wine_pids
=
$(
ls
-l
/proc/
*
/exe
>
/dev/null 2>&1 |
grep
-ie
PortProton |
grep
-E
'wine(64)?-preloader|wineserver'
|
awk
-F
/
'{print $3}'
)
bwrap_pids
=
$(
pgrep
-f
wrap |
grep
PortProton |
head
-n
1
)
else
wine_pids
=
$(
ls
-l
/proc/
*
/exe 2>/dev/null |
grep
-ie
PortProton |
grep
-E
'wine(64)?-preloader|wineserver'
|
awk
-F
/
'{print $3}'
)
bwrap_pids
=
"
$(
pgrep
-a
wrap |
grep
PortProton |
head
-n
1 |
awk
'{print $1}'
)
"
fi
else
wine_pids
=
"
$(
ls
-l
/proc/
*
/exe 2>/dev/null |
grep
-E
'wine(64)?-preloader|wineserver'
|
awk
-F
/
'{print $3}'
)
"
for
pw_kill_pids
in
${
wine_pids
}
;
do
if
ps cax |
grep
"
${
pw_kill_pids
}
"
;
then
kill
-n
9
"
${
pw_kill_pids
}
"
&>/dev/null
fi
done
wine_pids
=
$(
ls
-l
/proc/
*
/exe 2>/dev/null |
grep
-E
'wine(64)?-preloader|wineserver'
|
awk
-F
/
'{print $3}'
)
unset
bwrap_pids
fi
for
pw_kill_pids
in
${
bwrap_pids
}
${
wine_pids
}
;
do
if
ps cax |
grep
"
${
pw_kill_pids
}
"
;
then
kill
-n
9
"
${
pw_kill_pids
}
"
&>/dev/null
fi
done
return
0
}
export
-f
kill_portwine
...
...
@@ -2184,7 +2185,9 @@ start_portwine () {
if
check_gamescope_session
;
then
export
PW_GAMEMODERUN_SLR
=
""
elif
[[
"
$PW_USE_GAMEMODE
"
=
"1"
]]
;
then
elif
[[
"
$PW_USE_GAMEMODE
"
=
"1"
]]
\
&&
[[
!
-z
"
$DBUS_SESSION_BUS_ADDRESS
"
]]
then
if
command
-v
gamemoded &>/dev/null
;
then
export
GAMEMODERUN
=
1
PW_GAMEMODERUN_SLR
=
"gamemoderun"
...
...
@@ -4736,7 +4739,8 @@ resize_png () {
if
check_flatpak
;
then
if
!
timeout
3
\
exe-thumbnailer
--force-resize
-s
"
$RESIZE_TO
"
"
$(
readlink
-f
"
${
RESIZE_FILE
}
"
)
"
"
${
PORT_WINE_PATH
}
/data/img/
${
RESIZE_NAME_PNG
}
.png"
2>/dev/null
exe-thumbnailer
--force-resize
-s
"
$RESIZE_TO
"
"
$(
readlink
-f
"
${
RESIZE_FILE
}
"
)
"
"
${
PORT_WINE_PATH
}
/data/img/
${
RESIZE_NAME_PNG
}
.png"
\
&&
[[
"
$ALPINE_FP
"
!=
"1"
]]
then
print_error
"exe-thumbnailer - broken!"
if
[[
!
-z
$PW_DEBUG
]]
;
then
...
...
data_from_portwine/scripts/var
View file @
d70031de
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=234
2
#SCRIPTS_NEXT_VERSION=234
3
#SCRIPTS_STABLE_VERSION=2342
########################################################################
# export PROTON_USE_XALIA="1"
...
...
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