mirror of
https://github.com/nomi-san/parsec-vdd.git
synced 2026-08-07 13:50:45 +00:00
update app version
This commit is contained in:
@@ -7,6 +7,8 @@ namespace ParsecVDisplay
|
||||
{
|
||||
internal static class ParsecVDD
|
||||
{
|
||||
public const string NAME = "Parsec Virtual Display";
|
||||
|
||||
public const string DISPLAY_ID = "PSCCDD0";
|
||||
public const string DISPLAY_NAME = "ParsecVDA";
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ namespace ParsecVDisplay
|
||||
{
|
||||
public const string AppId = "QpHOX8IBUHBznGtqk9xm1";
|
||||
public const string AppName = "ParsecVDisplay";
|
||||
public const string AppVersion = "0.45.2";
|
||||
public const string AppVersion = "1.0.2";
|
||||
public const string GitHubRepo = "nomi-san/parsec-vdd";
|
||||
|
||||
[STAThread]
|
||||
|
||||
+7
-5
@@ -25,7 +25,7 @@ namespace ParsecVDisplay
|
||||
ToolStripMenuItem MI_FallbackDisplay;
|
||||
ToolStripMenuItem MI_KeepScreenOn;
|
||||
|
||||
// ParsecVDisplay
|
||||
// ParsecVDisplay v{version}
|
||||
// ______________
|
||||
// Add display
|
||||
// Remove last display
|
||||
@@ -35,8 +35,8 @@ namespace ParsecVDisplay
|
||||
// | --------------
|
||||
// | Fallback display
|
||||
// | Keep screen on
|
||||
// Language > [lang_1]
|
||||
// | [lang_2]
|
||||
// Language > {lang_1}
|
||||
// | {lang_2}
|
||||
// | ...
|
||||
// Check update
|
||||
// --------------
|
||||
@@ -51,7 +51,7 @@ namespace ParsecVDisplay
|
||||
AppThread.SetApartmentState(ApartmentState.STA);
|
||||
AppThread.Start();
|
||||
|
||||
var appName = Program.AppName;
|
||||
var appName = $"{Program.AppName} v{Program.AppVersion}";
|
||||
var appIcon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);
|
||||
|
||||
TrayIcon = new NotifyIcon()
|
||||
@@ -168,9 +168,11 @@ namespace ParsecVDisplay
|
||||
var status = ParsecVDD.QueryStatus();
|
||||
ParsecVDD.QueryVersion(out string version);
|
||||
|
||||
var caption = $"{Program.AppName} v{Program.AppVersion}";
|
||||
|
||||
MessageBox.Show(Owner, $"Parsec Virtual Display v{version}\n" +
|
||||
$"{App.GetTranslation("t_msg_driver_status")}: {status}",
|
||||
Program.AppName, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
caption, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
async void CheckUpdate(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user