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
Vladislav
PortWINE
Commits
55b72ef8
Commit
55b72ef8
authored
Nov 02, 2021
by
aldiserg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
installed tab has been added
parent
07aee4d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
+13
-14
functions_helper
data_from_portwine/scripts/functions_helper
+13
-14
No files found.
data_from_portwine/scripts/functions_helper
View file @
55b72ef8
...
...
@@ -855,22 +855,21 @@ gui_proton_downloader () {
print_info
"Download and install
${
VERSION_WINE_GIT
}
..."
if
try_download_to_path
"
${
URL_VERSION_PROTON_GIT
}
"
"
${
PORT_WINE_PATH
}
/data/tmp/"
;
then
for
archive_type
in
"gz"
"xz"
;
do
if
[
-f
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
]
;
then
if
unpack_tar_
${
archive_type
}
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
"
${
PORT_WINE_PATH
}
/data/dist/"
;
then
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
else
for
archive_type
in
"gz"
"xz"
;
do
if
[
-f
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
]
;
then
if
unpack_tar_
${
archive_type
}
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
"
${
PORT_WINE_PATH
}
/data/dist/"
;
then
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
try_remove_dir
"
${
PORT_WINE_PATH
}
/data/dist/
${
VERSION_WINE_GIT
}
"
zenity_error_download
&&
gui_proton_downloader
fi
fi
else
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_GIT
}
.tar.
${
archive_type
}
"
try_remove_dir
"
${
PORT_WINE_PATH
}
/data/dist/
${
VERSION_WINE_GIT
}
"
zenity_error_download
&&
gui_proton_downloader
fi
fi
done
else
zenity_error_download
&&
gui_proton_downloader
fi
/bin/bash
-c
${
pw_full_command_line
[*]
}
&
else
zenity_error_download
&&
gui_proton_downloader
fi
/bin/bash
-c
${
pw_full_command_line
[*]
}
&
exit
0
}
export
-f
gui_proton_downloader
...
...
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