mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-01 18:20:12 +12:00
Template theme now exports correctly
This commit is contained in:
parent
8ea83222dd
commit
79e434f508
|
@ -156,7 +156,7 @@ namespace ModAssistant
|
|||
* Using XAMLWriter would compress it into an unorganized mess.
|
||||
*/
|
||||
using (Stream s = Assembly.GetExecutingAssembly().GetManifestResourceStream($"ModAssistant.Themes.{themeName}.xaml"))
|
||||
using (FileStream writer = new FileStream($@"{ThemeDirectory}\\{themeName}.xaml", FileMode.Create))
|
||||
using (FileStream writer = new FileStream($@"{ThemeDirectory}\\{themeName}\\{themeName}.xaml", FileMode.Create))
|
||||
{
|
||||
byte[] buffer = new byte[s.Length];
|
||||
int read = s.Read(buffer, 0, (int)s.Length);
|
||||
|
|
Loading…
Reference in a new issue