Add win4lin

This commit is contained in:
Mario Fetka
2022-11-19 21:49:12 +01:00
parent 1bf994041f
commit dcd0ea6843
77 changed files with 3687 additions and 50 deletions

View File

@@ -34,8 +34,9 @@ src_unpack() {
src_install() {
mv * "${D}" || die
sed -i "s/Utility/System/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop
sed -i "s/Icon\=balena\-etcher\-electron/Icon\=etcher\-electron/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop
sed -i "s/Utility/System/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop
sed -i "s/Icon\=balena\-etcher\-electron/Icon\=etcher\-electron/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop
sed -i "s/\/balena\-etcher\-electron/\/balena\-etcher\-electron \-\-disable\-gpu\-sandbox/g" "${D}"usr/share/applications/balena-"${PN}"-electron.desktop
rm -rf "${D}"usr/share/doc
fperms 0755 /opt/balenaEtcher/balena-"${PN}"-electron || die
}