Skip to content

Commit

Permalink
[NUI] Fix argument issue when launch application on ubuntu (Samsung#2827
Browse files Browse the repository at this point in the history
)

args[0] value is this.
 ->Tizen.NUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=eba370b203a2e242

So can't set using argument value.
 ex) dotnet run --width 100 --height --100

Signed-off-by: huiyu.eun <[email protected]>
  • Loading branch information
huiyueun committed Apr 20, 2021
1 parent 6b8fcdb commit c6ada5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tizen.NUI/src/internal/Application/NUICoreBackend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void Run(string[] args)
args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath;
if (string.IsNullOrEmpty(args[0]))
{
args[0] = this.GetType().Assembly.FullName;
args[0] = this.GetType().Assembly.FullName.Replace(" ", "");
}

if (windowRectangle != null)
Expand Down

0 comments on commit c6ada5a

Please sign in to comment.