Skip to content

Commit

Permalink
v1.0.8 release
Browse files Browse the repository at this point in the history
- Resolved: #115
- Resolved: #10
  • Loading branch information
rocksdanister committed Sep 21, 2020
1 parent 63aec5b commit 33d32d6
Show file tree
Hide file tree
Showing 8 changed files with 71 additions and 108 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lively - Animated Wallpaper System
# Lively Wallpaper
[![GitHub release](https://img.shields.io/github/release/rocksdanister/lively/all.svg)](https://github.com/rocksdanister/lively/releases)
[![Github all releases](https://img.shields.io/github/downloads/rocksdanister/lively/total.svg)](https://github.com/rocksdanister/lively/releases)

Expand Down Expand Up @@ -88,10 +88,10 @@ Help translate lively to other languages: <a href="https://github.com/rocksdanis

**_I'm not officially affiliated with Unity technologies, godot, shadertoy;_**
## Download
##### Latest version: v1.0.7.0 (Windows 10 1903 or above)[What's new?](https://github.com/rocksdanister/lively/releases/tag/v1.0.7.0)
##### Latest version: v1.0.8.0 (Windows 10 1903 or above)[What's new?](https://github.com/rocksdanister/lively/releases/tag/v1.0.8.0)
- [`Download Lively Wallpaper`][direct-full-win32]

[direct-full-win32]: https://github.com/rocksdanister/lively/releases/download/v1.0.7.0/lively_setup_x86_full_v1070.exe
[direct-full-win32]: https://github.com/rocksdanister/lively/releases/download/v1.0.8.0/lively_setup_x86_full_v1080.exe

**Installer will give Smartscreen warning, [discussion.](https://github.com/rocksdanister/lively/issues/9)**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
<ToggleSwitch IsOn="{Binding IsSysTrayIconVisible, Mode=TwoWay}" Header="{x:Bind UIText.TitleSysTrayIconHide}"/>
<TextBlock Margin="0, 10, 0, 0" FontSize="12" TextWrapping="Wrap" Foreground="{ThemeResource SystemControlPageTextBaseMediumBrush}" Text="{x:Bind UIText.TipSysTrayIconHide}"/>

<ToggleSwitch IsOn="{Binding IsDebugMenuVisible, Mode=TwoWay}" Header="Debug"/>
<ToggleSwitch Margin="0,10,0,0" IsOn="{Binding IsDebugMenuVisible, Mode=TwoWay}" Header="Debug"/>
<TextBlock Margin="0, 10, 0, 0" FontSize="12" TextWrapping="Wrap" Foreground="{ThemeResource SystemControlPageTextBaseMediumBrush}" Text="Show developer menu, lively will restart to apply new setting."/>
</StackPanel>
</ScrollViewer>
Expand Down
3 changes: 2 additions & 1 deletion src/livelywpf/livelywpf/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ protected override void OnStartup(StartupEventArgs e)
Directory.CreateDirectory(Program.AppDataDir);
Directory.CreateDirectory(Path.Combine(Program.AppDataDir, "logs"));
Directory.CreateDirectory(Path.Combine(Program.AppDataDir, "temp"));
Directory.CreateDirectory(Path.Combine(Program.AppDataDir, "Cef"));
//clear temp files if any.
FileOperations.EmptyDirectory(Path.Combine(Program.AppDataDir, "temp"));
}
catch (Exception ex)
{
Logger.Error("Temp Directory creation fail:" + ex.ToString());
MessageBox.Show(ex.Message, "Error: Failed to create data folder", MessageBoxButton.OK, MessageBoxImage.Error);
Program.ExitApplication();
}
FileOperations.EmptyDirectory(Path.Combine(Program.AppDataDir, "temp"));

#region vm init

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ private void GenerateUIElements()
{
Name = item.Key,
Fill = (SolidColorBrush)new BrushConverter().ConvertFromString(item.Value["value"].ToString()),
Stroke = new SolidColorBrush(Color.FromRgb(200, 200 ,200)),
StrokeThickness = 0.5,
MinWidth = maxWidth,
MaxWidth = maxWidth,
MaxHeight = 15,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
xmlns:xaml="clr-namespace:Microsoft.Toolkit.Wpf.UI.XamlHost;assembly=Microsoft.Toolkit.Wpf.UI.XamlHost"
xmlns:local="clr-namespace:livelywpf.Cef"
mc:Ignorable="d"
Title="Properties" Height="450" Width="250"
MinWidth="250"
MinHeight="300"
AllowsTransparency="True"
Title="Properties"
Width="250" Height="450"
MinWidth="250" MinHeight="300"
MaxWidth="250"
WindowStyle="None"
ResizeMode="NoResize"
Loaded="Window_Loaded">
ResizeMode="CanResize"
AllowsTransparency="True"
Loaded="Window_Loaded"
BorderBrush="{DynamicResource SystemControlHighlightAltListAccentHighBrush}">

<Grid>
<ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" Margin="0, 15, 0, 0">
Expand Down
143 changes: 53 additions & 90 deletions src/livelywpf/livelywpf/Docs/license.rtf

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/livelywpf/livelywpf/Helpers/Registry/WindowsStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public static string GetStartupRegistry()
{
key.Close();
}

return result;
}

Expand Down
8 changes: 2 additions & 6 deletions src/livelywpf/livelywpf/ViewModel/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@ public SettingsViewModel()
SelectedLanguageItem = SearchSupportedLanguage(Settings.Language);

//Ignoring the Settings.json savefile value, only checking the windows registry and user action on the ui.
IsStartup = WindowsStartup.CheckStartupRegistry() == 1;
if (!IsStartup)
{
//Delete the wrong key(filepath, name etc.)
WindowsStartup.SetStartupRegistry(false);
}
//todo: Use https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.startuptask?view=winrt-19041
IsStartup = WindowsStartup.CheckStartupRegistry() == 1 || WindowsStartup.CheckStartupRegistry() == -1;

if(ScreenHelper.GetScreen().FindIndex(x => ScreenHelper.ScreenCompare(x, Settings.SelectedDisplay, DisplayIdentificationMode.screenLayout)) == -1)
{
Expand Down

0 comments on commit 33d32d6

Please sign in to comment.