From ffb6d1910ab2074aa03868a989d83c75ad3e4154 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Sat, 10 Aug 2024 13:40:36 -0500 Subject: [PATCH] Deb setup --- Tesses.CMS.Cli/Program.cs | 8 ++++---- package.sh | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Tesses.CMS.Cli/Program.cs b/Tesses.CMS.Cli/Program.cs index 4bb1a34..ff05f4d 100644 --- a/Tesses.CMS.Cli/Program.cs +++ b/Tesses.CMS.Cli/Program.cs @@ -82,8 +82,8 @@ async Task UsersCallback(UsersOptions options) { if(!string.IsNullOrWhiteSpace(prefs.Session)) { - await clt.Users.SetCookieAsync(prefs.Session); - await clt.Users.LogoutAsync(); + // await clt.Users.SetCookieAsync(prefs.Session); + //await clt.Users.LogoutAsync(); } prefs.Session = cookie.Cookie; prefs.Save(); @@ -99,8 +99,8 @@ async Task UsersCallback(UsersOptions options) } using(var clt = new TessesCMSClient(prefs.Url)) { - await clt.Users.SetCookieAsync(prefs.Session); - await clt.Users.LogoutAsync(); + // await clt.Users.SetCookieAsync(prefs.Session); + // await clt.Users.LogoutAsync(); prefs.Session=""; prefs.Save(); } diff --git a/package.sh b/package.sh index aa06d1d..5dc7a9f 100644 --- a/package.sh +++ b/package.sh @@ -1,4 +1,5 @@ #!/bin/bash +export PATH=/root/.dotnet/tools:$PATH dotnet tool install --global dotnet-deb . /deploy_dir/setpath.sh ln -s "$DEPLOY_DIR" publish