mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
build(homebrew): fix service install on linux (#5223)
This commit is contained in:
@@ -174,6 +174,7 @@ class Sunshine < Formula
|
||||
-DSUNSHINE_PUBLISHER_WEBSITE='https://app.lizardbyte.dev'
|
||||
-DSUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'
|
||||
]
|
||||
args << "-DSUNSHINE_EXECUTABLE_PATH=#{opt_bin}/sunshine" if OS.linux?
|
||||
# Point cmake at the venv Python that has jinja2 installed (set up in setup_build_environment)
|
||||
args << "-DPython_EXECUTABLE=#{@glad_python}" if @glad_python
|
||||
args
|
||||
@@ -281,7 +282,8 @@ class Sunshine < Formula
|
||||
end
|
||||
|
||||
service do
|
||||
run [opt_bin/"sunshine", "~/.config/sunshine/sunshine.conf"]
|
||||
run [opt_bin/"sunshine", "~/.config/sunshine/sunshine.conf"] if OS.mac?
|
||||
name linux: "app-@PROJECT_FQDN@" if OS.linux?
|
||||
end
|
||||
|
||||
def post_install
|
||||
|
||||
Reference in New Issue
Block a user