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
e02863f0
Unverified
Commit
e02863f0
authored
Mar 17, 2026
by
Boris Yumankulov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: hide recommended libraries question on START_FROM_STEAM
Signed-off-by:
Boris Yumankulov
<
boria138@altlinux.org
>
parent
52bdd46d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
functions_helper
data_from_portwine/scripts/functions_helper
+12
-4
No files found.
data_from_portwine/scripts/functions_helper
View file @
e02863f0
...
@@ -2390,8 +2390,8 @@ pw_init_db () {
...
@@ -2390,8 +2390,8 @@ pw_init_db () {
# shellcheck source=/dev/null
# shellcheck source=/dev/null
source
"
${
PORTWINE_DB_FILE
}
"
source
"
${
PORTWINE_DB_FILE
}
"
if echo
"
${
portwine_exe
}
"
| grep
"/prefixes/"
&>/dev/null ; then
if echo
"
${
portwine_exe
}
"
| grep
"/prefixes/"
&>/dev/null ; then
if [[
-z
$(
lsbash
"
${
PORT_WINE_PATH
}
/prefixes/"
--grep
^
"
${
PW_PREFIX_NAME
}
"
$)
]]
\
if [[
(
"
${
PW_CLI
}
"
!=
"1"
&& -z
$(
lsbash
"
${
PORT_WINE_PATH
}
/prefixes/"
--grep
^
"
${
PW_PREFIX_NAME
}
"
$)
)
\
||
[[
-z
$(
grep
-e
^
"export PW_PREFIX_NAME="
"
${
PORTWINE_DB_FILE
}
"
2>/dev/null
)
]]
|| -z
$(
grep
-e
^
"export PW_PREFIX_NAME="
"
${
PORTWINE_DB_FILE
}
"
2>/dev/null
)
]]
then
then
PW_PREFIX_NAME=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
PW_PREFIX_NAME=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
edit_db_from_gui PW_PREFIX_NAME
edit_db_from_gui PW_PREFIX_NAME
...
@@ -2430,8 +2430,8 @@ pw_init_db () {
...
@@ -2430,8 +2430,8 @@ pw_init_db () {
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
if echo
"
${
portwine_exe
}
"
| grep
"/prefixes/"
&>/dev/null ; then
if echo
"
${
portwine_exe
}
"
| grep
"/prefixes/"
&>/dev/null ; then
if
[[
-z
$(
lsbash
"
${
PORT_WINE_PATH
}
/prefixes/"
--grep
^
"
${
PW_PREFIX_NAME
}
"
$)
]]
\
if [[
(
"
${
PW_CLI
}
"
!=
"1"
&& -z
$(
lsbash
"
${
PORT_WINE_PATH
}
/prefixes/"
--grep
^
"
${
PW_PREFIX_NAME
}
"
$)
)
\
||
[[
-z
$(
grep
-e
^
"export PW_PREFIX_NAME="
"
${
PORTWINE_DB_FILE
}
"
2>/dev/null
)
]]
|| -z
$(
grep
-e
^
"export PW_PREFIX_NAME="
"
${
PORTWINE_DB_FILE
}
"
2>/dev/null
)
]]
then
then
PW_PREFIX_NAME=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
PW_PREFIX_NAME=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
edit_db_from_gui PW_PREFIX_NAME
edit_db_from_gui PW_PREFIX_NAME
...
@@ -3491,6 +3491,14 @@ start_portwine () {
...
@@ -3491,6 +3491,14 @@ start_portwine () {
&&
[[
"
${
DISABLE_CP_DEFPFX
}
"
==
1
]]
;
then
&&
[[
"
${
DISABLE_CP_DEFPFX
}
"
==
1
]]
;
then
pw_update_pfx_cover_gui
pw_update_pfx_cover_gui
pw_wineboot
-i
pw_wineboot
-i
elif
[[
"
${
PW_CLI
}
"
==
"1"
]]
;
then
if
[[
"
${
DISABLE_CP_DEFPFX
}
"
==
"1"
]]
;
then
pw_wineboot
-i
else
unpack
"
${
PW_PLUGINS_PATH
}
/default_pfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/"
silent
pw_wineboot
-r
echo
"based_on_default"
>>
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/winetricks.log"
fi
elif
yad_question
"
${
translations
[Do you want to installing recommended libraries in the new prefix
:]
}
${
PW_PREFIX_NAME
}
"
;
then
elif
yad_question
"
${
translations
[Do you want to installing recommended libraries in the new prefix
:]
}
${
PW_PREFIX_NAME
}
"
;
then
pw_update_pfx_cover_gui
pw_update_pfx_cover_gui
unpack
"
${
PW_PLUGINS_PATH
}
/default_pfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/"
silent
unpack
"
${
PW_PLUGINS_PATH
}
/default_pfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/"
silent
...
...
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