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
9718f831
Commit
9718f831
authored
Sep 29, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fixes for gamescope session
parent
3100f20f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
functions_helper
data_from_portwine/scripts/functions_helper
+4
-6
No files found.
data_from_portwine/scripts/functions_helper
View file @
9718f831
...
...
@@ -473,9 +473,9 @@ try_download () {
# If gamescope session is active, use PW_TERM for downloading
if check_gamescope_session ; then
$PW_TERM
"
echo
"Download
$filename
from
${
FIRST_URL
[0]
}
. Please wait!
"
\
$PW_TERM
"
echo
; echo ; echo \
"Download
$filename
from
${
FIRST_URL
[0]
}
. Please wait...
\
"
\
; curl -f -# -A 'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)' -H 'Cache-Control: no-cache, no-store'
\
-H
'Pragma: no-cache'
-L
${
FIRST_URL
[@]
}
-o
$dest
"
-H 'Pragma: no-cache' -L
${
FIRST_URL
[@]
}
-o
\"
$dest
\"
"
[[
"
$?
"
!= 0 ]] && return 1 || return 0
fi
...
...
@@ -721,11 +721,9 @@ unpack () {
# If gamescope session is active, use PW_TERM for unpack
if check_gamescope_session ; then
$PW_TERM
"
echo
"Unpacking file:
$1
. Please wait!"
;
$command
"
$1
"
-C
"
$2
""
$PW_TERM
"
echo
; echo ; echo \
"Unpacking file:
$1
. Please wait...
\"
;
$command
-v
\"
$1
\"
-C
\"
$2
\
"
"
[[
"
$?
"
!= 0 ]] && return 1 || return 0
fi
if [[ "
$silent
" != "
true
" ]] ; then
elif [[
"
$silent
"
!=
"true"
]] ; then
set -o pipefail
pw_start_progress_bar_cover_block
"
${
COVERS_PATH
}
/unpacking_
${
LANGUAGE_GIF
}
.gif"
$command
"
$1
"
-C
"
$2
"
2>/dev/null
...
...
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