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
c94025da
Commit
c94025da
authored
Mar 26, 2026
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'recommended-libraries' of github.com:Boria138/PortWINE into…
Merge branch 'recommended-libraries' of github.com:Boria138/PortWINE into Boria138-recommended-libraries
parents
9913ae55
e02863f0
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 @
c94025da
...
...
@@ -2390,8 +2390,8 @@ pw_init_db () {
# shellcheck source=/dev/null
source
"
${
PORTWINE_DB_FILE
}
"
if echo
"
${
portwine_exe
}
"
| grep
"/prefixes/"
&>/dev/null ; then
if [[
-z
$(
lsbash
"
${
PORT_WINE_PATH
}
/prefixes/"
--grep
^
"
${
PW_PREFIX_NAME
}
"
$)
]]
\
||
[[
-z
$(
grep
-e
^
"export PW_PREFIX_NAME="
"
${
PORTWINE_DB_FILE
}
"
2>/dev/null
)
]]
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
)
]]
then
PW_PREFIX_NAME=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
edit_db_from_gui PW_PREFIX_NAME
...
...
@@ -2430,8 +2430,8 @@ pw_init_db () {
try_copy_file
"
${
PW_FIND_DB_FILE
}
"
"
${
portwine_exe
}
"
.ppdb
PORTWINE_DB_FILE=
"
${
portwine_exe
}
"
.ppdb
if echo
"
${
portwine_exe
}
"
| grep
"/prefixes/"
&>/dev/null ; then
if
[[
-z
$(
lsbash
"
${
PORT_WINE_PATH
}
/prefixes/"
--grep
^
"
${
PW_PREFIX_NAME
}
"
$)
]]
\
||
[[
-z
$(
grep
-e
^
"export PW_PREFIX_NAME="
"
${
PORTWINE_DB_FILE
}
"
2>/dev/null
)
]]
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
)
]]
then
PW_PREFIX_NAME=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
edit_db_from_gui PW_PREFIX_NAME
...
...
@@ -3491,6 +3491,14 @@ start_portwine () {
&&
[[
"
${
DISABLE_CP_DEFPFX
}
"
==
1
]]
;
then
pw_update_pfx_cover_gui
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
pw_update_pfx_cover_gui
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