Commit 3e3787c 1 parent ab7b574 commit 3e3787c Copy full SHA for 3e3787c
File tree 4 files changed +10
-7
lines changed
SyncClipboard.Desktop.MacOS/Views
4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 19
19
<key >NSHighResolutionCapable </key >
20
20
<true />
21
21
<key >CFBundleVersion </key >
22
- <string >0.7.0 </string >
22
+ <string >0.7.0.1 </string >
23
23
<key >CFBundleShortVersionString </key >
24
- <string >0.7.0 </string >
24
+ <string >0.7.0.1 </string >
25
25
</dict >
26
26
</plist >
Original file line number Diff line number Diff line change 1
1
using AppKit ;
2
2
using Avalonia . Controls ;
3
3
using Avalonia . Controls . ApplicationLifetimes ;
4
+ using Avalonia . Platform ;
4
5
using System ;
5
6
using System . Linq ;
6
7
@@ -10,10 +11,8 @@ public class MainWindow : Desktop.Views.MainWindow
10
11
{
11
12
public MainWindow ( )
12
13
{
13
- if ( App . Current . ApplicationLifetime is not IActivatableApplicationLifetime lifetime )
14
- {
15
- throw new NotSupportedException ( "Mac AppLifetime wrong." ) ;
16
- }
14
+ var lifetime = App . Current . TryGetFeature < IActivatableLifetime > ( )
15
+ ?? throw new NotSupportedException ( "Mac AppLifetime wrong." ) ;
17
16
lifetime . Activated += Lifitime_Activated ;
18
17
}
19
18
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ internal class AppConfig : IAppConfig
6
6
{
7
7
public string AppId => Env . AppId ;
8
8
public string AppStringId => "SyncClipboard.Desktop" ;
9
- public string AppVersion => "0.7.0" ;
9
+ public string AppVersion => "0.7.0.1 " ;
10
10
public string UpdateApiUrl => "https://api.github.com/repos/Jeric-X/SyncClipboard.Desktop/releases/latest" ;
11
11
public string UpdateUrl => "https://github.com/Jeric-X/SyncClipboard.Desktop/releases/latest" ;
12
12
}
Original file line number Diff line number Diff line change
1
+ 0.7.0.1
2
+ - 修复:macOS menu bar图标无法自动自适应(https://github.com/Jeric-X/SyncClipboard/issues/73 )
3
+ - 修复:无发自动删除本地临时文件
4
+
1
5
0.7.0
2
6
- 功能:支持同步多个文件、文件夹,移动端体现为zip压缩文件,安卓端` HTTP Shortcuts ` 配置也需要更新以支持此功能
3
7
- 修复:最大上传文件大小设置项在混合模式无法设置(https://github.com/Jeric-X/SyncClipboard/issues/68 )
You can’t perform that action at this time.
0 commit comments