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
Vladislav
PortWINE
Commits
fdf7ab46
Commit
fdf7ab46
authored
Nov 10, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 2045###
parent
0191ea26
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
12 deletions
+29
-12
changelog
data_from_portwine/changelog
+10
-2
port_winefile.png
data_from_portwine/img/gui/port_winefile.png
+0
-0
functions_helper
data_from_portwine/scripts/functions_helper
+10
-7
lang
data_from_portwine/scripts/lang
+0
-0
runlib
data_from_portwine/scripts/runlib
+4
-2
start.sh
data_from_portwine/scripts/start.sh
+4
-0
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
fdf7ab46
История изменений и дальнейшие планы:
-----------------------------------------
В планах:
* добавить содерживое user.conf в лог
* добавить inxi в runtime и его вывод с аргументом -G в log
* обновить контейнер до актуального состояния
* обновить поддержку DLSS
* добавить проверку количества db файлов на один exe
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2045###
* добавлена возможность запуска нескольких приложений с помощью WINEFILE из трея.
* добавлен вывод user.conf в лог-файл
* небольшие улучшения локализации
* на github в архивы PROTON_STEAM и PROTON_GE добавлены mono и gecko (для уменьшения возможных проблем со скачиванием)
* PROTON_STEAM скачивается автоматически перед первым запуском PortProton
###Scripts version 2044###
* добавлена проверка для nvidia с нестандартными путями до nvidia_icd.json
...
...
@@ -13,7 +21,7 @@
* улучшена работа функции использования гибридной графики intel + nvidia
###Scripts version 2042###
* из
-
за проблемы на стороне githab перезалиты libs_v17.2
* из
за проблемы на стороне githab перезалиты libs_v17.2
* добавлена возможность удаления wine из графического интерфейса - Cпасибо Aldiserg (Dmitry)
###Scripts version 2041###
...
...
data_from_portwine/img/gui/port_winefile.png
0 → 100644
View file @
fdf7ab46
7.79 KB
data_from_portwine/scripts/functions_helper
View file @
fdf7ab46
...
...
@@ -17,6 +17,7 @@ print_info () {
print_var
()
{
for
vp
in
$@
;
do
echo
"
${
vp
}
=
${
!vp
}
"
;
done
}
export
-f
print_var
try_copy_file
()
{
if
[
!
-f
"
$1
"
]
;
then
print_info
"file
$1
not found for copy"
&&
return
1
...
...
@@ -186,6 +187,7 @@ pw_mangohud_check () {
export
DISABLE_MANGOHUD
=
1
fi
}
export
-f
pw_mangohud_check
pw_vkbasalt_check
()
{
if
[[
!
-z
"
${
ENABLE_VKBASALT
}
"
&&
"
${
ENABLE_VKBASALT
}
"
==
1
]]
;
then
...
...
@@ -437,13 +439,13 @@ update_winetricks () {
print_info
"Version winetricks on server:
${
W_TRX_EXT_VER
}
"
W_TRX_INT_VER
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
|
grep
-i
'WINETRICKS_VERSION='
|
sed
's/WINETRICKS_VERSION=//'
)
"
print_info
"Version winetricks in port:
${
W_TRX_INT_VER
}
"
#
if [[ ! -f "${PORT_WINE_TMP_PATH}/winetricks" && ! -z "$W_TRX_EXT_VER" ]] || [[ "$W_TRX_INT_VER" != "$W_TRX_EXT_VER" && ! -z "$W_TRX_EXT_VER" ]]; then
if
[[
!
-f
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
&&
!
-z
"
$W_TRX_EXT_VER
"
]]
||
[[
"
$W_TRX_INT_VER
"
!=
"
$W_TRX_EXT_VER
"
&&
!
-z
"
$W_TRX_EXT_VER
"
]]
;
then
if
try_download
"
${
W_TRX_URL
}
"
"
${
PORT_WINE_TMP_PATH
}
/winetricks_new"
;
then
mv
-f
"
${
PORT_WINE_TMP_PATH
}
/winetricks_new"
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
W_TRX_INT_VER
=
"
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
|
grep
-i
'WINETRICKS_VERSION='
|
sed
's/WINETRICKS_VERSION=//'
)
"
&&
print_info
"Winetricks version in port has been updated (
${
W_TRX_INT_VER
}
)"
chmod
u+x
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
fi
#
fi
fi
if
[
-f
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
]
;
then
sed
-i
's/w_metadata vcrun2015 dlls \\/w_metadata !dont_use_2015! dlls \\/'
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
sed
-i
's/w_metadata vcrun2017 dlls \\/w_metadata !dont_use_2017! dlls \\/'
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
...
...
@@ -518,6 +520,10 @@ pw_tray_icon () {
echo
""
}
export
-f
tray_icon_click
pw_tray_winefile
()
{
pw_run explorer
}
export
-f
pw_tray_winefile
tray_icon_click_exit
()
{
kill_portwine
&&
if
[
!
-z
"
`
pgrep
-a
yad_new |
grep
"
\-\-
notification"
|
awk
'{print $1}'
`
"
]
...
...
@@ -534,6 +540,7 @@ pw_tray_icon () {
--command
=
"bash -c tray_icon_click"
\
--tooltip
=
"PortProton"
\
--menu
=
"|
\
<<< WINEFILE >>>!bash -c pw_tray_winefile!"
$PW_GUI_ICON_PATH
/port_winefile.png
"|
\
<<< CHANGE LOG >>>!bash -c open_changelog!"
$PW_GUI_ICON_PATH
/port_changelog.png
"|
\
<<< FORCE EXIT >>>!bash -c tray_icon_click_exit!"
$PW_GUI_ICON_PATH
/port_exit.png
"|"
&
}
...
...
@@ -700,11 +707,7 @@ pw_gui_for_edit_db () {
--text
"Change settings in database file for
${
PORTWINE_DB
}
\n
"
--separator
=
" "
--borders
=
10
--center
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
--button
=
"CANCEL"
:1
--button
=
"OPEN DB FILE"
:150
--button
=
"SAVE CHANGES"
:0
YAD_STATUS
=
"
$?
"
if
[[
"
$YAD_STATUS
"
==
"1"
]]
;
then
/bin/bash
-c
${
pw_full_command_line
[*]
}
&
exit
0
elif
[[
"
$YAD_STATUS
"
==
"252"
]]
;
then
exit
0
if
[[
"
$YAD_STATUS
"
==
"1"
||
"
$YAD_STATUS
"
==
"252"
]]
;
then
exit
0
elif
[
"
$YAD_STATUS
"
==
"150"
]
;
then
xdg-open
"
${
PORTWINE_DB_FILE
}
"
&
exit
0
...
...
data_from_portwine/scripts/lang
View file @
fdf7ab46
data_from_portwine/scripts/runlib
View file @
fdf7ab46
...
...
@@ -36,7 +36,6 @@ start_portwine () {
cp
-f
"
${
PORT_SCRIPTS_PATH
}
/.Xresources"
"
${
HOME
}
"
xrdb
-merge
"
${
HOME
}
/.Xresources"
fi
pw_tray_icon
pw_start_progress_bar_block
"Update prefix for
${
PW_WINE_USE
}
... Please wait..."
if
[[
!
-z
"
${
LD_LIBRARY_PATH
}
"
]]
;
then
...
...
@@ -308,7 +307,7 @@ start_portwine () {
if
[
!
-d
"
${
WINEPREFIX
}
/drive_c/users/steamuser/My Documents"
]
then
try_force_link_dir
"
${
WINEPREFIX
}
/drive_c/users/steamuser/Documents"
"
${
WINEPREFIX
}
/drive_c/users/steamuser/My Documents"
fi
var_winedlloverride_update
"
beclient,beclient_x64=b,n;
steam_api,steam_api64,steamclient,steamclient64=n;lsteamclient,GameOverlayRenderer,GameOverlayRenderer64,winemenubuilder.exe="
var_winedlloverride_update
"steam_api,steam_api64,steamclient,steamclient64=n;lsteamclient,GameOverlayRenderer,GameOverlayRenderer64,winemenubuilder.exe="
# export TOTAL_VRAM=`"${PW_WINELIB}/runtime/bin/glxinfo" -B | grep Total | awk -F: '{print $2}' | awk '{print $1}'`
# echo "TOTAL_VRAM=${TOTAL_VRAM}"
...
...
@@ -434,6 +433,7 @@ start_portwine () {
echo
"Set to win
${
PW_WINDOWS_VER
}
"
fi
pw_stop_progress_bar
&&
pw_tray_icon
pw_start_progress_bar_cs
"Start
${
portname
}
... Please wait..."
add_in_start_portwine
}
...
...
@@ -469,6 +469,7 @@ pw_run () {
fi
fi
}
export
-f
pw_run
###MAIN###
if
[
$(
id
-u
)
-eq
0
]
;
then
...
...
@@ -522,6 +523,7 @@ if [ -z "${INSTALLING_PORT}" ] ; then
.
"
${
USER_CONF
}
"
pw_port_update
pw_download_libs
pw_check_and_download_wine PROTON_STEAM
pw_init_db
.
"
${
USER_CONF
}
"
fi
data_from_portwine/scripts/start.sh
View file @
fdf7ab46
...
...
@@ -154,6 +154,10 @@ portwine_start_debug () {
cat
"
${
PORT_SCRIPTS_PATH
}
/portwine_db/default"
|
sed
'/##/d'
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
fi
echo
"-----------------------------------------"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
if
[
-f
"
${
USER_CONF
}
"
]
;
then
cat
"
${
USER_CONF
}
"
|
sed
'/bash/d'
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
fi
echo
"----------------------------------------"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
echo
"Log WINE:"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
export
DXVK_HUD
=
"full"
...
...
data_from_portwine/scripts/var
View file @
fdf7ab46
#!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=204
4
#SCRIPTS_NEXT_VERSION=204
5
#PORT_NEXT_VERSION=97
########################################################################
export
PW_MANGOHUD
=
0
...
...
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