Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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-old
Commits
4e09b41f
Commit
4e09b41f
authored
Jul 22, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'find_exe' of github.com:Htylol/PortWINE into Htylol-find_exe
parents
ae633a2c
9ffaf72a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
functions_helper
data_from_portwine/scripts/functions_helper
+5
-3
No files found.
data_from_portwine/scripts/functions_helper
View file @
4e09b41f
...
...
@@ -50,8 +50,7 @@ change_locale () {
echo
"en"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
fi
if
[[
!
-z
"
${
LANGUAGE
}
"
]]
\
&&
[[
!
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
if
[[
!
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
then
[[
!
-f
"
${
pw_yad
}
"
]]
&&
pw_yad
=
"yad"
SET_LANG
=(
...
...
@@ -472,7 +471,7 @@ unpack () {
if
[[
"
$silent
"
!=
"true"
]]
;
then
set
-o
pipefail
pw_start_progress_bar_cover_block
"
${
COVERS_PATH
}
/unpacking_
${
LANGUAGE_GIF
}
.gif"
$command
"
$1
"
-C
"
$2
"
$command
"
$1
"
-C
"
$2
"
2>/dev/null
pw_stop_progress_bar_cover_block
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"File
$1
unpacking error."
&&
return
1
||
return
0
else
...
...
@@ -1650,6 +1649,7 @@ pw_find_exe () {
pw_start_progress_bar_block
"
$(
gettext
"Searching for .exe files... Please wait."
)
"
find
"
${
PW_PATH_FOR_FIND
}
"
-type
f
-name
'*.exe'
${
PW_FIND_TIME
}
|
grep
-viE
${
PW_EXCLUDE_EXE_FIND
}
|
\
awk
-F
"/prefixes/"
'{print $2}'
>
"
${
PW_TMPFS_PATH
}
/tmp_yad_find_exe"
sleep
0.001
pw_stop_progress_bar
unset
FIND_TO_GUI
...
...
@@ -3176,6 +3176,8 @@ pw_stop_progress_bar () {
do
kill
-s
SIGUSR1
"
$PW_KILL_YAD_PID
"
&>/dev/null
done
unset
PW_YAD_PID_PROGRESS_BAR_BLOCK PW_YAD_PID_PROGRESS_BAR_CS
\
PW_YAD_PID_PFX_COVER_UI PW_YAD_PID_PROGRESS_BAR_COVER
return
0
}
export
-f
pw_stop_progress_bar
...
...
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