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
d9e8b7c5
Commit
d9e8b7c5
authored
Jul 15, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '¬-not-working' of github.com:Htylol/PortWINE into Htylol-¬-not-working
parents
32ef84ca
51492503
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
functions_helper
data_from_portwine/scripts/functions_helper
+2
-2
start.sh
data_from_portwine/scripts/start.sh
+2
-1
No files found.
data_from_portwine/scripts/functions_helper
View file @
d9e8b7c5
...
...
@@ -4963,8 +4963,8 @@ run_desktop_b_click () {
fi
if
check_flatpak
then
PW_EXEC_FROM_DESKTOP
=
"
$(
grep
Exec
"
${
PORT_WINE_PATH
}
/
${
PW_YAD_SET
//
¬/
" "
}
"
|
head
-n
1 |
sed
's|flatpak run ru.linux_gaming.PortProton|\"${PORT_SCRIPTS_PATH}/start.sh\"|'
|
awk
-F
'='
'{print $2}'
)
"
else
PW_EXEC_FROM_DESKTOP
=
"
$(
grep
Exec
"
${
PORT_WINE_PATH
}
/
${
PW_YAD_SET
//
¬/
" "
}
"
|
head
-n
1 |
awk
-F
"=env "
'{print $2}'
)
"
then
PW_EXEC_FROM_DESKTOP
=
"
$(
grep
Exec
"
${
PORT_WINE_PATH
}
/
${
PW_YAD_SET
//
@_@/
}
"
|
head
-n
1 |
sed
's|flatpak run ru.linux_gaming.PortProton|\"${PORT_SCRIPTS_PATH}/start.sh\"|'
|
awk
-F
'='
'{print $2}'
)
"
else
PW_EXEC_FROM_DESKTOP
=
"
$(
grep
Exec
"
${
PORT_WINE_PATH
}
/
${
PW_YAD_SET
//
@_@/
}
"
|
head
-n
1 |
awk
-F
"=env "
'{print $2}'
)
"
fi
print_info
"Restarting PP after choose desktop file..."
...
...
data_from_portwine/scripts/start.sh
View file @
d9e8b7c5
...
...
@@ -593,7 +593,8 @@ else
then
convert
"
${
PW_NAME_D_ICON
}
"
-resize
48x48
"
${
PW_NAME_D_ICON_48
}
"
fi
PW_GENERATE_BUTTONS+
=
"--field=
${
PW_DESKTOP_FILES
//
".desktop"
/
""
}
!
${
PW_NAME_D_ICON_48
}
!:FBTN%@bash -c
\"
run_desktop_b_click "
${
PW_DESKTOP_FILES
//
" "
/¬
}
"
\"
%"
PW_DESKTOP_HELPER
=
"
${
PW_DESKTOP_FILES
// /@_@
}
"
PW_GENERATE_BUTTONS+
=
"--field=
${
PW_DESKTOP_FILES
//
".desktop"
/
""
}
!
${
PW_NAME_D_ICON_48
}
!:FBTN%@bash -c
\"
run_desktop_b_click "
${
PW_DESKTOP_HELPER
}
"
\"
%"
done
IFS
=
"
$orig_IFS
"
...
...
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