Skip to content

Commit 33d32d6

Browse files
committed
v1.0.8 release
- Resolved: #115 - Resolved: #10
1 parent 63aec5b commit 33d32d6

File tree

8 files changed

+71
-108
lines changed

8 files changed

+71
-108
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lively - Animated Wallpaper System
1+
# Lively Wallpaper
22
[![GitHub release](https://img.shields.io/github/release/rocksdanister/lively/all.svg)](https://github.com/rocksdanister/lively/releases)
33
[![Github all releases](https://img.shields.io/github/downloads/rocksdanister/lively/total.svg)](https://github.com/rocksdanister/lively/releases)
44

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

8989
**_I'm not officially affiliated with Unity technologies, godot, shadertoy;_**
9090
## Download
91-
##### 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)
91+
##### 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)
9292
- [`Download Lively Wallpaper`][direct-full-win32]
9393

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

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

src/livelywpf/UserControls/livelysettings/SettingsPage.xaml

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

201-
<ToggleSwitch IsOn="{Binding IsDebugMenuVisible, Mode=TwoWay}" Header="Debug"/>
201+
<ToggleSwitch Margin="0,10,0,0" IsOn="{Binding IsDebugMenuVisible, Mode=TwoWay}" Header="Debug"/>
202202
<TextBlock Margin="0, 10, 0, 0" FontSize="12" TextWrapping="Wrap" Foreground="{ThemeResource SystemControlPageTextBaseMediumBrush}" Text="Show developer menu, lively will restart to apply new setting."/>
203203
</StackPanel>
204204
</ScrollViewer>

src/livelywpf/livelywpf/App.xaml.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,16 @@ protected override void OnStartup(StartupEventArgs e)
3333
Directory.CreateDirectory(Program.AppDataDir);
3434
Directory.CreateDirectory(Path.Combine(Program.AppDataDir, "logs"));
3535
Directory.CreateDirectory(Path.Combine(Program.AppDataDir, "temp"));
36+
Directory.CreateDirectory(Path.Combine(Program.AppDataDir, "Cef"));
3637
//clear temp files if any.
37-
FileOperations.EmptyDirectory(Path.Combine(Program.AppDataDir, "temp"));
3838
}
3939
catch (Exception ex)
4040
{
4141
Logger.Error("Temp Directory creation fail:" + ex.ToString());
4242
MessageBox.Show(ex.Message, "Error: Failed to create data folder", MessageBoxButton.OK, MessageBoxImage.Error);
4343
Program.ExitApplication();
4444
}
45+
FileOperations.EmptyDirectory(Path.Combine(Program.AppDataDir, "temp"));
4546

4647
#region vm init
4748

src/livelywpf/livelywpf/Cef/LivelyProperties/Page/LivelyPropertiesView.xaml.cs

+2
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ private void GenerateUIElements()
128128
{
129129
Name = item.Key,
130130
Fill = (SolidColorBrush)new BrushConverter().ConvertFromString(item.Value["value"].ToString()),
131+
Stroke = new SolidColorBrush(Color.FromRgb(200, 200 ,200)),
132+
StrokeThickness = 0.5,
131133
MinWidth = maxWidth,
132134
MaxWidth = maxWidth,
133135
MaxHeight = 15,

src/livelywpf/livelywpf/Cef/LivelyProperties/Views/LivelyPropertiesTrayWidget.xaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
xmlns:xaml="clr-namespace:Microsoft.Toolkit.Wpf.UI.XamlHost;assembly=Microsoft.Toolkit.Wpf.UI.XamlHost"
1111
xmlns:local="clr-namespace:livelywpf.Cef"
1212
mc:Ignorable="d"
13-
Title="Properties" Height="450" Width="250"
14-
MinWidth="250"
15-
MinHeight="300"
16-
AllowsTransparency="True"
13+
Title="Properties"
14+
Width="250" Height="450"
15+
MinWidth="250" MinHeight="300"
16+
MaxWidth="250"
1717
WindowStyle="None"
18-
ResizeMode="NoResize"
19-
Loaded="Window_Loaded">
18+
ResizeMode="CanResize"
19+
AllowsTransparency="True"
20+
Loaded="Window_Loaded"
21+
BorderBrush="{DynamicResource SystemControlHighlightAltListAccentHighBrush}">
2022

2123
<Grid>
2224
<ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" Margin="0, 15, 0, 0">

src/livelywpf/livelywpf/Docs/license.rtf

+53-90
Large diffs are not rendered by default.

src/livelywpf/livelywpf/Helpers/Registry/WindowsStartup.cs

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public static string GetStartupRegistry()
6565
{
6666
key.Close();
6767
}
68-
6968
return result;
7069
}
7170

src/livelywpf/livelywpf/ViewModel/SettingsViewModel.cs

+2-6
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,8 @@ public SettingsViewModel()
5454
SelectedLanguageItem = SearchSupportedLanguage(Settings.Language);
5555

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

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

0 commit comments

Comments
 (0)