install: add Makefile and systemd unit #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "leohearts/typesim:patch-underwear"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +4,4 @@cargo build --releaseinstall: build-releasecp -rf . ~/.local/share/typesiminstall -Dm644 ./systemd/typesim.service ~/.local/share/systemd/user/typesim.servicenot all distro use systemd (i am not using it for example), so the installation should be copying binary and audio files only?
anyway you could get I'm totally making fun for ... you know, see my branch name.
@leohearts wrote in #2 (comment):
weired, i think something like
install -Dm 664 audio/* $HOME/.local/share/typesim/audio/should work...So then we'll need something like a wrapper script to
cdbefore executing the real binary ...@ -0,0 +15,4 @@#ProtectKernelLogs=trueProtectControlGroups=trueRestrictRealtime=trueExecStart=sh -c "cd ~/.local/share/typesim; ~/.local/share/typesim/target/release/typesim"use
workDirinstead ofcding it ? and maybe i should not hardcode path of audio files in the program.Workdir must be an absolute path and doesn't support ~/
see the newest change which implements Makefile and installation and configfile
Pull request closed