mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-13 03:34:55 +08:00
- 歌词原文译文分隔符现可自定义 - 音乐库新增“播放全部”按钮 - 接入 Last.fm 服务(分别为播放源配置是否开启 Last.fm 听歌记录服务) 改动: - 分别为播放源配置歌词源、设置歌词同步阈值、歌词偏移值 修复: - 在启用强制显示在全屏应用上时从停靠模式、桌面模式切回标准模式后窗口仍永远处于顶部的异常行为 - “歌词背景不透明度“选项对桌面模式、停靠模式无效的问题
27 lines
661 B
C#
27 lines
661 B
C#
// 2025/6/23 by Zhe Fang
|
|
|
|
namespace BetterLyrics.WinUI3.Helper
|
|
{
|
|
using BetterLyrics.WinUI3.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Reflection;
|
|
using System.Threading.Tasks;
|
|
using Windows.ApplicationModel;
|
|
using Windows.Storage;
|
|
using Windows.Storage.FileProperties;
|
|
|
|
public static class MetadataHelper
|
|
{
|
|
public static string AppVersion
|
|
{
|
|
get
|
|
{
|
|
var version = Package.Current.Id.Version;
|
|
return $"{version.Major}.{version.Minor}.{version.Build}.{version.Revision}";
|
|
}
|
|
}
|
|
}
|
|
}
|