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
Mikhail Tergoev
PortWINE
Commits
ecb4dc99
Commit
ecb4dc99
authored
Jul 12, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2315
parent
daec9295
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
9 deletions
+22
-9
changelog_en
data_from_portwine/changelog_en
+6
-0
changelog_ru
data_from_portwine/changelog_ru
+3
-1
functions_helper
data_from_portwine/scripts/functions_helper
+4
-5
start.sh
data_from_portwine/scripts/start.sh
+8
-2
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog_en
View file @
ecb4dc99
...
@@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux-
...
@@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
----------------------------------------
Changelog:
Changelog:
###Scripts version 2315### Date: 12.07.2024 / Download update size: 4 megabytes
* fixed the display of the PROTON_LG and WINE_LG versions in the absence of a settings file (thanks Htylol)
* added the ability to run debugging scripts from the terminal: portproton --debug (thanks to Boria138 and Htylol)
* fixed saving settings when launching shortcuts from the main menu
* fixed creation of shortcuts after installing the game/app from setup.exe
###Scripts version 2314### Date: 11.07.2024 / Download update size: 4 megabytes
###Scripts version 2314### Date: 11.07.2024 / Download update size: 4 megabytes
* HOTFIX - create multiple shortcuts when unpacking a prefix backup
* HOTFIX - create multiple shortcuts when unpacking a prefix backup
* fixed the disable of CAS in the vkBasalt menu (0 in the menu is -1 in the variable)
* fixed the disable of CAS in the vkBasalt menu (0 in the menu is -1 in the variable)
...
...
data_from_portwine/changelog_ru
View file @
ecb4dc99
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
-----------------------------------------
-----------------------------------------
История изменений:
История изменений:
###Scripts version 2315### Дата: 12.07.2024 / Размер скачиваемого обновления: 4 мегабайта
* исправлено отображение версии PROTON_LG и WINE_LG при отсутствии файла настроек (спасибо Htylol)
* исправлено отображение версии PROTON_LG и WINE_LG при отсутствии файла настроек (спасибо Htylol)
* добавлена возможность запуска из терминала: portproton --debug (спасибо Boria138 и Htylol)
* добавлена возможность запуска
отладки скриптов
из терминала: portproton --debug (спасибо Boria138 и Htylol)
* исправлено сохранение настроек при запуске ярлыков из основного меню
* исправлено сохранение настроек при запуске ярлыков из основного меню
* исправлено создание ярлыков после установки игры/приложения из setup.exe
###Scripts version 2314### Дата: 11.07.2024 / Размер скачиваемого обновления: 4 мегабайта
###Scripts version 2314### Дата: 11.07.2024 / Размер скачиваемого обновления: 4 мегабайта
* HOTFIX - создание нескольких ярлыков при распаковке резервной копии префикса
* HOTFIX - создание нескольких ярлыков при распаковке резервной копии префикса
...
...
data_from_portwine/scripts/functions_helper
View file @
ecb4dc99
...
@@ -1278,9 +1278,10 @@ pw_init_db () {
...
@@ -1278,9 +1278,10 @@ pw_init_db () {
fi
fi
IFS
=
"
$orig_IFS
"
IFS
=
"
$orig_IFS
"
# shellcheck source=/dev/null
source
"
${
PORTWINE_DB_FILE
}
"
if
[[
-f
"
${
PW_FIND_DB_FILE
}
"
]]
\
if
[[
-f
"
${
PW_FIND_DB_FILE
}
"
]]
\
&&
[[
"
${
PW_DISABLED_CREATE_DB
}
"
!=
1
]]
\
&&
[[
"
${
PW_DISABLED_CREATE_DB
}
"
!=
1
]]
\
&&
grep
"^export PW_DISABLED_CREATE_DB=1"
"
${
PW_FIND_DB_FILE
}
"
&>/dev/null
then
then
try_copy_file
"
${
PW_FIND_DB_FILE
}
"
"
${
portwine_exe
}
"
.ppdb
try_copy_file
"
${
PW_FIND_DB_FILE
}
"
"
${
portwine_exe
}
"
.ppdb
PORTWINE_DB_FILE
=
"
${
portwine_exe
}
"
.ppdb
PORTWINE_DB_FILE
=
"
${
portwine_exe
}
"
.ppdb
...
@@ -1469,7 +1470,7 @@ update_winetricks () {
...
@@ -1469,7 +1470,7 @@ update_winetricks () {
}
}
edit_db_from_gui
()
{
edit_db_from_gui
()
{
if
[[
"
${
PW_DISABLED_CREATE_DB
}
"
==
1
]]
;
then
if
[[
"
${
PW_DISABLED_CREATE_DB
}
"
==
"1"
]]
;
then
print_warning
"Skipped edit_db_from_gui"
print_warning
"Skipped edit_db_from_gui"
return
0
return
0
fi
fi
...
@@ -4411,11 +4412,9 @@ portwine_create_shortcut () {
...
@@ -4411,11 +4412,9 @@ portwine_create_shortcut () {
export
GDK_BACKEND
=
"x11"
export
GDK_BACKEND
=
"x11"
pw_stop_progress_bar
pw_stop_progress_bar
[[
!
-e
${
portwine_exe
}
]]
&&
return
1
[[
!
-e
${
portwine_exe
}
]]
&&
return
1
unset
PORTPROTON_NAME
pw_create_gui_png
pw_create_gui_png
print_error
"portwine_exe:
$portwine_exe
"
print_error
"PORTPROTON_NAME:
${
PORTPROTON_NAME
}
"
if
[[
"
$1
"
==
"block_name"
]]
;
then
if
[[
"
$1
"
==
"block_name"
]]
;
then
export
name_desktop
=
"
${
PORTPROTON_NAME
}
"
export
name_desktop
=
"
${
PORTPROTON_NAME
}
"
OUTPUT
=
$(
"
${
pw_yad
}
"
--title
=
"
$(
gettext
"Choices"
)
"
--form
\
OUTPUT
=
$(
"
${
pw_yad
}
"
--title
=
"
$(
gettext
"Choices"
)
"
--form
\
...
...
data_from_portwine/scripts/start.sh
View file @
ecb4dc99
...
@@ -374,8 +374,9 @@ use: [--reinstall] [--autoinstall]
...
@@ -374,8 +374,9 @@ use: [--reinstall] [--autoinstall]
exit
0
;;
exit
0
;;
'--debug'
)
'--debug'
)
clear
export
PW_DEBUG
=
"set -x"
export
PW_DEBUG
=
"set -x"
/usr/bin/env bash
-c
"
${
PORT_WINE_PATH
}
/data/scripts/start.sh"
/usr/bin/env bash
-c
${
pw_full_command_line
[*]
}
2>&1 |
tee
"
$PORT_WINE_PATH
/scripts.log"
&
exit
0
;;
exit
0
;;
esac
esac
...
@@ -431,7 +432,12 @@ case "${PW_VULKAN_USE}" in
...
@@ -431,7 +432,12 @@ case "${PW_VULKAN_USE}" in
*
)
PW_DEFAULT_VULKAN_USE
=
"
$SORT_NEWEST
!
$SORT_STABLE
!
$SORT_LEGACY
!
$SORT_G_ZINK
!
$SORT_G_NINE
!
$SORT_OPENGL
!
$SORT_VULKAN
"
;;
*
)
PW_DEFAULT_VULKAN_USE
=
"
$SORT_NEWEST
!
$SORT_STABLE
!
$SORT_LEGACY
!
$SORT_G_ZINK
!
$SORT_G_NINE
!
$SORT_OPENGL
!
$SORT_VULKAN
"
;;
esac
esac
[[
-z
"
${
PW_COMMENT_DB
}
"
]]
&&
PW_COMMENT_DB
=
"
$(
gettext
"Launching"
)
<b>
${
PORTWINE_DB
}
</b>."
if
[[
!
-z
"
${
PW_COMMENT_DB
}
"
]]
;
then
:
elif
[[
!
-z
"
${
PORTPROTON_NAME
}
"
]]
;
then
PW_COMMENT_DB
=
"
$(
gettext
"Launching"
)
<b>
${
PORTPROTON_NAME
}
</b>"
else
PW_COMMENT_DB
=
"
$(
gettext
"Launching"
)
<b>
${
PORTWINE_DB
}
</b>"
fi
if
[[
$PW_WINE_USE
==
PROTON_LG
]]
;
then
if
[[
$PW_WINE_USE
==
PROTON_LG
]]
;
then
PW_WINE_USE
=
"
${
PW_PROTON_LG_VER
}
"
PW_WINE_USE
=
"
${
PW_PROTON_LG_VER
}
"
...
...
data_from_portwine/scripts/var
View file @
ecb4dc99
#!/usr/bin/env bash
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=231
4
#SCRIPTS_NEXT_VERSION=231
5
########################################################################
########################################################################
export
LANGUAGES_LIST
=
"ru es"
export
LANGUAGES_LIST
=
"ru es"
export
PW_VKBASALT
=
"0"
export
PW_VKBASALT
=
"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