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
b77e0b2f
Commit
b77e0b2f
authored
Oct 26, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 2036###
parent
1e0d6fea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
changelog
data_from_portwine/changelog
+4
-0
functions_helper
data_from_portwine/scripts/functions_helper
+5
-7
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
b77e0b2f
...
...
@@ -7,6 +7,10 @@
* добавить проверку количества db файлов на один exe
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2036###
* улучшено скачивание с github
* исправлено отключение MANGOHUD из EDIT_DB
###Scripts version 2035###
* в EDIT_DB добавлена возможность ограничения FPS
* обновлеение winetricks происходит только при условии его последуещего использования (если не установлены какие-нибудь компоненты)
...
...
data_from_portwine/scripts/functions_helper
View file @
b77e0b2f
...
...
@@ -95,7 +95,7 @@ check_process () {
try_download
()
{
set
-o
pipefail
wget
-c
-t
5
-T
3
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
wget
-
-no-check-certificate
--content-disposition
-
c
-t
5
-T
3
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
tr
'\r'
'\n'
|
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
zenity
--progress
--percentage
=
0
--title
=
"Download
$(
basename
$1
)
"
--text
=
Starting...
--auto-close
--auto-kill
--width
=
500
--height
=
90
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
...
...
@@ -103,14 +103,14 @@ try_download () {
try_download_to_path
()
{
set
-o
pipefail
wget
-c
-t
5
-T
3
"
$1
"
--directory-prefix
=
"
$2
"
2>&1 |
\
wget
-
-no-check-certificate
--content-disposition
-
c
-t
5
-T
3
"
$1
"
--directory-prefix
=
"
$2
"
2>&1 |
\
tr
'\r'
'\n'
|
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
zenity
--progress
--percentage
=
0
--title
=
"Download
$(
basename
$1
)
"
--text
=
Starting...
--auto-close
--auto-kill
--width
=
500
--height
=
90
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
try_download_silent
()
{
wget
-t
2
-T
10
"
$1
"
--output-document
=
"
$2
"
wget
-
-no-check-certificate
--content-disposition
-
t
2
-T
10
"
$1
"
--output-document
=
"
$2
"
[
"
$?
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
...
...
@@ -695,16 +695,14 @@ pw_gui_for_edit_db () {
done
}
edit_db_field_read
$@
edit_db_from_gui
$@
FPS_LIMIT
=
"
`
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
`
"
if
[
"
${
FPS_LIMIT
}
"
==
0
]
;
then
export
MANGOHUD_CONFIG
=
font_size
=
24,position
=
top-left,toggle_hud
=
Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt
else
export
MANGOHUD_CONFIG
=
font_size
=
24,position
=
top-left,toggle_hud
=
Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit
=
${
FPS_LIMIT
}
export
PW_MANGOHUD
=
1
fi
edit_db_from_gui PW_MANGOHUD MANGOHUD_CONFIG
edit_db_from_gui
$@
MANGOHUD_CONFIG
# PW_DB_TMP=`cat "${PORTWINE_DB_FILE}"`
# echo "${PW_DB_TMP}" | awk '! a[$0]++' > "${PORTWINE_DB_FILE}"
# unset PW_DB_TMP
...
...
data_from_portwine/scripts/var
View file @
b77e0b2f
#!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=203
5
#SCRIPTS_NEXT_VERSION=203
6
#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