Hacker News new | ask | show | jobs
by DiggyJohnson 869 days ago
Is there a way to create a binary to use this browser in a normal-ish way. Looks like the docks recommend using a script to run it, but I’d like to be able to package it for my personal package repository.
2 comments

There is AUR package: https://aur.archlinux.org/packages/ladybird-git to use with one of many AUR helpers.
I just made a wrapper script that calls the script in the serenity repo (which I cloned into my home directory) and put the script in PATH e.g. in /usr/bin/ladybird. The content my script.

> #!/usr/bin/env bash

> cd ${HOME}/serenity && ./Meta/serenity.sh run lagom ladybird

I guess you could create a .desktop file that invokes the script, or just the "serenity.sh" script directly.

Aha thanks very much for the validation. My solution is nearly identical. Much appreciated.