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
89e63624
Commit
89e63624
authored
Jul 22, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix create icons for systems with SELinux
parent
66b7813e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelog_ru
data_from_portwine/changelog_ru
+1
-0
functions_helper
data_from_portwine/scripts/functions_helper
+6
-1
No files found.
data_from_portwine/changelog_ru
View file @
89e63624
...
...
@@ -7,6 +7,7 @@
* исправлено добавление иконок при создании ярлыка в библиотеку steam (спасибо Boria138)
* обновлено окно настроек gamescope (спасибо Htylol)
* обновлена функция выбора языка (спасибо Htylol)
* исправление создания иконок в системах использующих SELinux (спасибо Boria138)
###Scripts version 2324### / Дата: 18.07.2024 / Размер скачиваемого обновления: 4 мегабайта
* доработана русская локализация (спасибо Eljeyna)
...
...
data_from_portwine/scripts/functions_helper
View file @
89e63624
...
...
@@ -1615,7 +1615,12 @@ pw_create_gui_png () {
try_remove_file
"
${
PORT_WINE_PATH
}
/data/img/launcher.png"
try_remove_file
"
${
PORT_WINE_PATH
}
/data/img/Launcher.png"
if
[[
!
-f
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME
}
.png"
]]
;
then
if
command
-v
exe-thumbnailer &>/dev/null
&&
[[
!
$(
sestatus |
grep
"Current mode: *enforcing"
)
]]
;
then
if
command
-v
sestatus &>/dev/null
&&
sestatus |
grep
"Current mode: *enforcing"
;
then
SESTATUS
=
"1"
else
SESTATUS
=
"0"
fi
if
command
-v
exe-thumbnailer &>/dev/null
&&
[[
"
${
SESTATUS
}
"
==
"0"
]]
;
then
exe-thumbnailer
-s
"
${
PW_RESIZE_TO
}
"
"
$(
readlink
-f
"
${
portwine_exe
}
"
)
"
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME
}
.png"
else
env
PYTHONPATH
=
"
${
PW_PLUGINS_PATH
}
/portable/lib/python3.9/site-packages/"
\
...
...
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