fix(openwork): use renamed com.differentai.openwork.desktop from AppImage
Upstream renamed the desktop file from openwork.desktop to com.differentai.openwork.desktop (reverse-DNS), causing the build to fail with "cannot stat '.../openwork.desktop'". Source the new name while keeping the install destination as openwork.desktop so icon and Exec substitution stay unchanged.
This commit is contained in:
@@ -25,7 +25,7 @@ in
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/openwork.desktop \
|
||||
install -m 444 -D ${appimageContents}/com.differentai.openwork.desktop \
|
||||
$out/share/applications/openwork.desktop
|
||||
substituteInPlace $out/share/applications/openwork.desktop \
|
||||
--replace-fail 'Exec=AppRun %U' 'Exec=${pname} %U'
|
||||
|
||||
Reference in New Issue
Block a user