Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortProton_prefix_ManaGeR
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
Roman Alifanov
PortProton_prefix_ManaGeR
Commits
9fd89f78
Commit
9fd89f78
authored
Mar 29, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fidel's improvements
parent
fa440cef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
PPpMGR.sh
PPpMGR.sh
+6
-3
No files found.
PPpMGR.sh
View file @
9fd89f78
...
...
@@ -7,10 +7,13 @@ if ! command -v yad &> /dev/null; then
exit
1
fi
PP_default_prefixes_directory
=
"
$HOME
/PortProton/prefixes"
if
[[
-d
"
$HOME
/.var/app/ru.linux_gaming.PortProton/"
]]
;
then
PP_default_prefixes_directory
=
"
$HOME
/.var/app/ru.linux_gaming.PortProton/"
else
PP_default_prefixes_directory
=
"
$(
cat
$HOME
/.config/PortProton.conf
)
"
fi
percent_bar
()
{
local
percentage
=
$(
echo
"
$1
"
|
sed
's/%//'
)
local
total
=
$2
local
filled
=
$(
echo
"(
$percentage
*
$total
)/100"
| bc
)
...
...
@@ -47,8 +50,8 @@ pfxparce() {
fi
done
}
gui
()
{
[[
-z
"
$(
which yad
)
"
]]
&&
echo
'You need to install "yad" in your system.'
&&
exit
1
old_IFS
=
$IFS
&&
IFS
=
$'|'
local
tab_count
=
0
...
...
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