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
086b0775
Commit
086b0775
authored
Aug 05, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Arta48-devel' into devel
parents
2bc63121
47447439
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
functions_helper
data_from_portwine/scripts/functions_helper
+5
-5
No files found.
data_from_portwine/scripts/functions_helper
View file @
086b0775
...
...
@@ -1661,10 +1661,10 @@ pw_create_gui_png () {
resize_png
"
$portwine_exe
"
"
${
PORTPROTON_NAME
}
"
"128"
PORTPROTON_NAME_PNG
=
"
${
PORTPROTON_NAME
// /_
}
.png
"
PORTPROTON_NAME_PNG
=
"
${
PORTPROTON_NAME
// /_
}
"
if
[[
-z
"
${
PW_ICON_FOR_YAD
}
"
]]
;
then
if
[[
!
-z
"
$(
file
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME_PNG
}
"
|
grep
"
${
PW_RESIZE_TO
}
x
${
PW_RESIZE_TO
}
"
)
"
]]
;
then
export
PW_ICON_FOR_YAD
=
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME_PNG
}
"
if
[[
!
-z
"
$(
file
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME_PNG
}
.png
"
|
grep
"
${
PW_RESIZE_TO
}
x
${
PW_RESIZE_TO
}
"
)
"
]]
;
then
export
PW_ICON_FOR_YAD
=
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME_PNG
}
.png
"
else
export
PW_ICON_FOR_YAD
=
"
${
PW_GUI_ICON_PATH
}
/port_proton.png"
fi
...
...
@@ -4645,8 +4645,8 @@ portwine_create_shortcut () {
try_remove_file
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
if
[[
"
${
PORTPROTON_NAME
}
"
!=
"
${
name_desktop_png
}
"
]]
then
mv
-f
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME
}
.png"
"
${
PORT_WINE_PATH
}
/data/img/
${
name_desktop_png
}
.png"
if
[[
"
${
PORTPROTON_NAME
_PNG
}
"
!=
"
${
name_desktop_png
}
"
]]
then
mv
-f
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME
_PNG
}
.png"
"
${
PORT_WINE_PATH
}
/data/img/
${
name_desktop_png
}
.png"
fi
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
...
...
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