Compare commits

...

3 Commits
v1.2 ... v1.4

Author SHA1 Message Date
PatrickSt1991
68095c6041 fixing #3 2025-05-15 22:30:51 +02:00
PatrickSt1991
b9eeb71fc3 packageUrl fix 2025-05-15 22:30:05 +02:00
PatrickSt1991
4aa659a9a9 Use %LocalAppData%\Programs\TizenStudioCli for non elevated tooling 2025-05-13 22:05:21 +02:00

View File

@@ -16,8 +16,8 @@ namespace Samsung_Jellyfin_Installer.Services
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "Tizen Studio"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "TizenStudio"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "TizenStudio"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Programs", "TizenStudioCli"),
"C:\\tizen-studio",
"C:\\TizenStudioCli",
Environment.GetEnvironmentVariable("TIZEN_STUDIO_HOME") ?? string.Empty
];
@@ -72,7 +72,6 @@ namespace Samsung_Jellyfin_Installer.Services
updateStatus("Connecting to device...");
await RunCommandAsync(sdbPath, $"connect {tvIpAddress}");
updateStatus("Retrieving device adress...");
string tvName = await GetTvNameAsync(sdbPath);
@@ -84,7 +83,7 @@ namespace Samsung_Jellyfin_Installer.Services
updateStatus("Packaging the wgt file with certificate...");
await RunCommandAsync(TizenCliPath, $"package -t wgt -s custom -- {packageUrl}");
await RunCommandAsync(TizenCliPath, $"package -t wgt -s custom -- \"{packageUrl}\"");
updateStatus("Installing package on device...");
@@ -212,7 +211,11 @@ namespace Samsung_Jellyfin_Installer.Services
{
const string installerUrl = "https://download.tizen.org/sdk/Installer/tizen-studio_5.5/web-cli_Tizen_Studio_5.5_windows-64.exe";
installerPath = await DownloadPackageAsync(installerUrl);
string installPath = Path.Combine("C:", "TizenStudioCli");
string installPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
"Programs",
"TizenStudioCli"
);
var startInfo = new ProcessStartInfo
{