mirror of
https://github.com/Jellyfin2Samsung/Samsung-Jellyfin-Installer.git
synced 2026-03-01 11:21:12 +03:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68095c6041 | ||
|
|
b9eeb71fc3 | ||
|
|
4aa659a9a9 |
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user