According to .Net Spec, the args[0] isn't the app path.
We should consider to parse the bundle from the args.
Change-Id: I5800f28313435add9871c3a524a2dc0ebe43901b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
_backend.AddEventHandler<LocaleChangedEventArgs>(EventType.LocaleChanged, OnLocaleChanged);
_backend.AddEventHandler<RegionFormatChangedEventArgs>(EventType.RegionFormatChanged, OnRegionFormatChanged);
- _backend.Run(args);
+ string[] argsClone = new string[args.Length + 1];
+ argsClone[0] = string.Empty;
+ args.CopyTo(argsClone, 1);
+ _backend.Run(argsClone);
}
/// <summary>