nixpkgs/pkgs/by-name/st/stremio-linux-shell/better-server-path.patch
Tom Hunze 8a0debedb2
stremio-linux-shell: init at 1.0.0-beta.13
Co-authored-by: Fazzi <faaris.ansari@proton.me>
2026-02-20 21:28:55 +01:00

13 lines
368 B
Diff

diff --git a/src/config.rs b/src/config.rs
index 4eda395..679699f 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -70,7 +70,7 @@ pub struct ServerConfig {
impl ServerConfig {
pub fn new(current_dir: &Path) -> Self {
- let file = current_dir.join(SERVER_FILE);
+ let file = Path::new("@serverjs@").to_path_buf();
Self { file }
}