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
c4af1d37
Commit
c4af1d37
authored
Oct 19, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'new-fixes-spellcheck-1' of github.com:Htylol/PortWINE into…
Merge branch 'new-fixes-spellcheck-1' of github.com:Htylol/PortWINE into Htylol-new-fixes-spellcheck-1
parents
8bd08116
dc943a81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
functions_helper
data_from_portwine/scripts/functions_helper
+8
-11
No files found.
data_from_portwine/scripts/functions_helper
View file @
c4af1d37
...
...
@@ -2296,10 +2296,12 @@ pw_create_gui_png () {
PW_PRODUCTNAME=$(env PERL5LIB="${PW_PLUGINS_PATH}/portable/lib/perl5" "${PW_PLUGINS_PATH}/portable/bin/exiftool" -ProductName "${portwine_exe}" | sed -n '
s/^Product Name
\s
*
:
\s
*
//p
')
fi
if [[ "$PW_PRODUCTNAME" =~ "Launcher" ]] \
|| [[ "$PW_PRODUCTNAME" =~ "RU" ]]
if [[ "$PW_PRODUCTNAME" =~ (Launcher|RU) ]]
then
PW_PRODUCTNAME="$(echo "$PW_PRODUCTNAME" | sed '
s/Launcher
\|
RU//g
')"
echo $PW_PRODUCTNAME
PW_PRODUCTNAME="${PW_PRODUCTNAME//(Launcher|RU)/}"
echo $PW_PRODUCTNAME
fi
if [[ -n "$PW_PRODUCTNAME" ]] \
...
...
@@ -3889,13 +3891,10 @@ pw_update_pfx_cover_gui () {
PW_GIF_SIZE_X
=
$(
file
"
${
PW_GIF_FILE
}
"
|
awk
'{print $7 + 20}'
)
PW_GIF_SIZE_Y
=
$(
file
"
${
PW_GIF_FILE
}
"
|
awk
'{print $9 + 65}'
)
echo
"UPDATE PREFIX..."
>
"
${
PW_TMPFS_PATH
}
/update_pfx_log"
export
PW_TIMER
=
0
local
PW_TIMER
=
0
while
read
-r
line
||
[[
-n
$(
pgrep
-a
yad |
grep
"yad_gui_pp --notebook --key=
$PW_KEY_PROGRESS_BAR_UP
"
|
awk
'{print $1}'
)
]]
;
do
sleep
0.005
if
[[
-n
"
${
line
}
"
]]
&&
[[
-z
"
$(
echo
"
${
line
}
"
|
grep
-i
"gstreamer"
)
"
]]
\
&&
[[
-z
"
$(
echo
"
${
line
}
"
|
grep
-i
"kerberos"
)
"
]]
\
&&
[[
-z
"
$(
echo
"
${
line
}
"
|
grep
-i
"ntlm"
)
"
]]
then
if
[[
-n
"
${
line
}
"
]]
&&
!
echo
"
${
line
}
"
|
grep
-qi
"gstreamer
\|
kerberos
\|
ntlm"
;
then
echo
"#
${
line
}
"
fi
if
[[
"
${
PW_TIMER
}
"
!=
1
]]
;
then
...
...
@@ -5922,12 +5921,10 @@ portwine_start_debug () {
portwine_launch &
sleep
3
pw_stop_progress_bar_cover
unset
PW_TIMER
local
PW_TIMER
=
0
while
read
-r
line
||
[[
-n
$(
pgrep
-a
yad |
grep
"yad_gui_pp --text-info --tail --button="
STOP
"!"
$PW_GUI_ICON_PATH
/
$BUTTON_SIZE
.png
":0 --title="
DEBUG
""
|
awk
'{print $1}'
)
]]
;
do
sleep
0.005
if
[[
-n
"
${
line
}
"
]]
&&
[[
-z
"
$(
echo
"
${
line
}
"
|
grep
-i
"kerberos"
)
"
]]
\
&&
[[
-z
"
$(
echo
"
${
line
}
"
|
grep
-i
"ntlm"
)
"
]]
then
if
[[
-n
"
${
line
}
"
]]
&&
!
echo
"
${
line
}
"
|
grep
-qi
"kerberos
\|
ntlm"
;
then
echo
"#
${
line
}
"
fi
if
[[
"
${
PW_TIMER
}
"
!=
1
]]
;
then
...
...
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