Skip to content

Commit

Permalink
Updated Readme, release 0.0.4.140 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackTasty committed Dec 23, 2018
1 parent 8098d8e commit ad40f36
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 16 deletions.
Binary file modified Installer/Resources/Runtime.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion Installer/UI/Components.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void RegisterParent(MainWindow window)
{
this.window = window;
vm = (ComponentsViewModel)DataContext;
vm.Components.Add(new Component(txt_application, true, 9236.48, ComponentType.APPLICATION, false));
vm.Components.Add(new Component(txt_application, true, 10092.24, ComponentType.APPLICATION, false));
vm.Components.Add(new Component(txt_desktopIcon, false, 179, ComponentType.SHORTCUT));
vm.Components.Add(new Component(txt_startmenu, false, 0, ComponentType.STARTMENU));
CalculateSpace();
Expand Down
2 changes: 1 addition & 1 deletion Installer_Online/UI/Components.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void RegisterParent(MainWindow window)
{
this.window = window;
vm = (ComponentsViewModel)DataContext;
vm.Components.Add(new Component(txt_application, true, 11627.86719, ComponentType.APPLICATION, false));
vm.Components.Add(new Component(txt_application, true, 10092.24, ComponentType.APPLICATION, false));
vm.Components.Add(new Component(txt_desktopIcon, false, 179, ComponentType.SHORTCUT));
vm.Components.Add(new Component(txt_startmenu, false, 0, ComponentType.STARTMENU));
CalculateSpace();
Expand Down
12 changes: 12 additions & 0 deletions Osmo/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ public MainWindow()
TemplateManager.Instance.SetMasterViewModel(DataContext as OsmoViewModel);
LoadUISettings();
Logger.Instance.WriteLog("Osmo has been successfully initialized!");
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + "\\cleanup.txt"))
{
Logger.Instance.WriteLog("Cleaning up after update...");
string[] lines = File.ReadAllLines(AppDomain.CurrentDomain.BaseDirectory + "\\cleanup.txt");
foreach (string path in lines)
{
File.Delete(path);
}

File.Delete(AppDomain.CurrentDomain.BaseDirectory + "\\cleanup.txt");
Logger.Instance.WriteLog("Post cleanup successful!");
}
}

public void RequestShutdown()
Expand Down
4 changes: 2 additions & 2 deletions Osmo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.3.134")]
[assembly: AssemblyFileVersion("0.0.3.134")]
[assembly: AssemblyVersion("0.0.4.140")]
[assembly: AssemblyFileVersion("0.0.4.140")]
2 changes: 2 additions & 0 deletions Osmo/ViewModel/SBCreatorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ public void Reset()
FrameRate = 30;
mAnimation.Clear();
CurrentFrameIndex = 0;
mDummyNames.Clear();
InvokePropertyChanged("DummyNames");
}

public void GenerateAnimation()
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ Also please follow these guidelines:
![Skin Mixer](https://puu.sh/ASsBW/a04543558f.jpg "Skin Mixer")

### Animation preview
https://puu.sh/Az35a/171fdbfb7a.mp4
[Demo Video](https://puu.sh/ClNxa/80d1a829d6.mp4)
![Animation preview](https://puu.sh/ClO34/ea06a2ff03.jpg "Animation preview")

### Template Manager
![Template Manager](https://puu.sh/ASsCI/e2bebb7620.jpg "Template Manager")
Expand All @@ -78,3 +79,7 @@ https://puu.sh/Az35a/171fdbfb7a.mp4

### Resize Tool
![Resize Tool](https://puu.sh/ASsFP/fcce8783ef.jpg "Resize Tool")

### Sliderball Creator
[Demo Video](https://puu.sh/ClNLc/e49a0f0c7b.mp4)
![Sliderball Creator](https://puu.sh/ClO52/9e066ccae8.jpg "Sliderball Creator")
14 changes: 7 additions & 7 deletions Uninstaller/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ public static void Main()
{
ShutdownMode = ShutdownMode.OnMainWindowClose
};
EmbeddedAssembly.Load("Uninstaller.MaterialDesignColors.dll", "MaterialDesignColors.dll");
EmbeddedAssembly.Load("Uninstaller.MaterialDesignThemes.Wpf.dll", "MaterialDesignThemes.Wpf.dll");
//EmbeddedAssembly.Load("Uninstaller.MaterialDesignColors.dll", "MaterialDesignColors.dll");
//EmbeddedAssembly.Load("Uninstaller.MaterialDesignThemes.Wpf.dll", "MaterialDesignThemes.Wpf.dll");

AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
//AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;

appName = Helper.FindString("appName");

app.InitializeComponent();
app.Run();
}

private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
return EmbeddedAssembly.Get(args.Name);
}
//private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
//{
// return EmbeddedAssembly.Get(args.Name);
//}
}
}
8 changes: 4 additions & 4 deletions Uninstaller/Uninstaller.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
<ItemGroup>
<Reference Include="MaterialDesignColors, Version=1.1.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MaterialDesignColors.1.1.3\lib\net45\MaterialDesignColors.dll</HintPath>
<Private>False</Private>
<Private>True</Private>
</Reference>
<Reference Include="MaterialDesignThemes.Wpf, Version=2.5.0.1205, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MaterialDesignThemes.2.5.0.1205\lib\net45\MaterialDesignThemes.Wpf.dll</HintPath>
<Private>False</Private>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down Expand Up @@ -165,8 +165,8 @@
<Resource Include="Resources\icon.jpg" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="MaterialDesignColors.dll" />
<EmbeddedResource Include="MaterialDesignThemes.Wpf.dll" />
<None Include="MaterialDesignColors.dll" />
<None Include="MaterialDesignThemes.Wpf.dll" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit ad40f36

Please sign in to comment.