Commit graph

7 commits

Author SHA1 Message Date
Clément DOUIN
10de8e9fb4
release v1.0.0-beta.4 2024-04-16 22:26:10 +02:00
Jalil David Salamé Messina
da49352d4e
add himalaya-watch@.service
As discussed in
<https://github.com/nix-community/home-manager/issues/5069>.

I set `ExecStart=%install_dir%/himalaya` so when packaging himalaya
people nee to explicitly set the path to himalaya (i.e. `sed
's:%install_dir%:/usr/bin:' assets/himalaya-watch@.service`). This is
done automatically in `install.sh` if `$PREFIX` is `/usr`, Otherwise
the packager should handle it themselves

For `nix` it would be (`sed 's:%install_dir%:$out/bin:'
assets/himalaya-watch@.service`). I don't know where it should be placed
(probably `$out/share/systemd/user` as nix will add that to
`$XDG_DATA_DIRS` which is searched by `systemctl --user`.

I swear I checked the address like 4 times before sending the email, I
have no idea how I managed to mess it up T-T. I was wondering why the
formatting was so messed up in sr.ht.
2024-03-09 13:49:44 +01:00
Clément DOUIN
5d352ae094
fix install.sh bin name 2021-05-08 22:52:43 +02:00
Clément DOUIN
2a8f576d45
remove .exe from release (#144) 2021-05-08 22:32:50 +02:00
Gregory Chamberlain
82ce67f572
improve portability of install.sh (#107)
* Replace echo with printf

The echo(1) command varies among sh implementations.  Some interpret
hyphen command-line options.

It would be unusual, but in theory if $PREFIX began with a hyphen or
two then this usage of echo might cause an error or unknown behaviour
in such implementations.

The printf(1) command is consistent across shell implementations.

* Leave privilege elevation to the user

* Add die function

* Break long line
2021-04-18 11:00:06 +02:00
Dario Vladović
dd45b4bbc2
make install script posix compliant (#53)
* Make install script POSIX compliant

* Update installation docs

* make script more compact

Co-authored-by: Clément DOUIN <soywod@users.noreply.github.com>
2021-04-16 10:14:15 +02:00
Clément DOUIN
308b74284f
improve readme 2021-01-17 17:07:23 +01:00