From 5b1605ef73f3f05e890be6faae50373976890fcb Mon Sep 17 00:00:00 2001 From: Richard Markiewicz Date: Tue, 18 Jun 2024 11:39:34 -0400 Subject: [PATCH] fix:(installer): package web player on Windows and Linux --- ci/tlk.ps1 | 1 + package/Linux/gateway/template/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/tlk.ps1 b/ci/tlk.ps1 index 9d9335e53..3f3e7d899 100644 --- a/ci/tlk.ps1 +++ b/ci/tlk.ps1 @@ -771,6 +771,7 @@ class TlkRecipe switch ($this.Product) { "gateway" { Merge-Tokens -TemplateFile $RulesTemplate -Tokens @{ + root_path = $this.SourcePath dgateway_executable = $DGatewayExecutable dgateway_webclient = $DGatewayWebClient platform_dir = $InputPackagePath diff --git a/package/Linux/gateway/template/rules b/package/Linux/gateway/template/rules index 65057b507..5e47acbcb 100644 --- a/package/Linux/gateway/template/rules +++ b/package/Linux/gateway/template/rules @@ -12,6 +12,6 @@ override_dh_install: dh_install mkdir -p $$(pwd)/debian/devolutions-gateway/usr/share/devolutions-gateway/webapp cp -r {{ dgateway_webclient }} $$(pwd)/debian/devolutions-gateway/usr/share/devolutions-gateway/webapp - cp -r ../../../../webapp/player $$(pwd)/debian/devolutions-gateway/usr/share/devolutions-gateway/webapp + cp -r {{ root_path }}/webapp/player $$(pwd)/debian/devolutions-gateway/usr/share/devolutions-gateway/webapp override_dh_shlibdeps: {{ dh_shlibdeps }} \ No newline at end of file