Skip to content

Commit 32c9787

Browse files
committed
Major update to v3.2
1 parent 0f735e2 commit 32c9787

7 files changed

Lines changed: 18 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Lain Changelog
2-
3-
All notable changes to this project will be documented in this file.
1+
## [3.1] - 2023-01-08
2+
- New: Lain properly supports DPI scaling now
3+
- Security: Newtonsoft.JSON updated to latest version
44

55
## [3.1] - 2022-02-21
66
- Hotfix: Changed some shortcuts, avoiding conflicts

Lain/Lain.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@
3838
<ApplicationIcon>lain.ico</ApplicationIcon>
3939
</PropertyGroup>
4040
<ItemGroup>
41-
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
42-
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
43-
<Private>True</Private>
41+
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
42+
<HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
4443
</Reference>
4544
<Reference Include="System" />
4645
<Reference Include="System.Core" />
@@ -160,11 +159,9 @@
160159
<ItemGroup>
161160
<None Include="App.config" />
162161
</ItemGroup>
163-
<ItemGroup>
164-
<EmbeddedResource Include="Newtonsoft.Json.dll" />
165-
</ItemGroup>
166162
<ItemGroup>
167163
<Content Include="lain.ico" />
164+
<EmbeddedResource Include="Newtonsoft.Json.dll" />
168165
</ItemGroup>
169166
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
170167
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

Lain/Newtonsoft.Json.dll

181 KB
Binary file not shown.

Lain/Program.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static class Program
1616

1717
// Enter current version here
1818
internal readonly static float Major = 3;
19-
internal readonly static float Minor = 1;
19+
internal readonly static float Minor = 2;
2020

2121
/* END OF VERSION PROPERTIES */
2222

@@ -38,9 +38,14 @@ internal static float GetCurrentVersion()
3838
internal static Mutex MUTEX;
3939
static bool _notRunning;
4040

41+
[System.Runtime.InteropServices.DllImport("user32.dll")]
42+
private static extern bool SetProcessDPIAware();
43+
4144
[STAThread]
4245
static void Main(string[] switches)
4346
{
47+
if (Environment.OSVersion.Version.Major >= 6) SetProcessDPIAware();
48+
4449
Application.EnableVisualStyles();
4550
Application.SetCompatibleTextRenderingDefault(false);
4651

Lain/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
3+
<package id="Newtonsoft.Json" version="13.0.2" targetFramework="net452" />
44
</packages>

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Minimal, secure and portable password manager
88
<p align="center">
9-
<a href="https://github.com/hellzerg/lain/releases/download/3.1/Lain-3.1.exe" target="_blank">
9+
<a href="https://github.com/hellzerg/lain/releases/download/3.2/Lain-3.2.exe" target="_blank">
1010
<img src="download-button.png">
1111
</a>
1212
</p>
@@ -39,6 +39,6 @@ https://github.com/hellzerg/lain/blob/master/IMAGES.md
3939

4040
## Details: ##
4141

42-
* Latest version: 3.1
43-
* Released: February 21, 2022
44-
* SHA256: D1331110DB5B676B73BD1DDD825AA62B3CB17164A0811DEE2E4A24D545F673FF
42+
* Latest version: 3.2
43+
* Released: January 8, 2023
44+
* SHA256: 9BE8B1E14107A0A69D221764CD5EC9070B94DE169FD02207A4E342328CC4170D

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1
1+
3.2

0 commit comments

Comments
 (0)