mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix (helium-browser-bin): .desktop file (#8966)
* fox (helium-browser-bin): .desktop file For some reason the .desktop file doesn't exec the correct binary anymore? ``` [Desktop Entry] Version=1.0 Name=Helium Browser GenericName=Web Browser Comment=Access the Internet Exec=helium %U StartupNotify=true StartupWMClass=helium Terminal=false Icon=net.imput.helium Type=Application Categories=Network;WebBrowser; MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https; Actions=new-window;new-private-window; [Desktop Action new-window] Name=New Window Exec=helium [Desktop Action new-private-window] Name=New Incognito Window Exec=helium --incognito ``` This should fix that Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * use desktop-file-install Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * oh. my. god. Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * move to right spot and remove stuff Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * back to this Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --------- Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
Name: helium-browser-bin
|
||||
Version: 0.7.9.1
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Private, fast, and honest web browser based on Chromium
|
||||
|
||||
URL: https://helium.computer
|
||||
@@ -39,11 +39,7 @@ Based on ungoogled-chromium with additional privacy and usability improvements.
|
||||
%autosetup -n helium-%{version}-%{arch}_linux
|
||||
tar --strip-components=1 -zxvf %{SOURCE1}
|
||||
|
||||
sed -i \
|
||||
-e 's/Exec=chromium/Exec=%{name}/' \
|
||||
-e 's/Name=Helium$/Name=Helium Browser/' \
|
||||
-e 's/Icon=helium/Icon=%{appid}/' \
|
||||
helium.desktop
|
||||
sed -i 's/Exec=helium\b/Exec=helium-browser-bin/g' helium.desktop
|
||||
|
||||
%build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user