Add branded Windows resource monitor
Introduce a native tray monitor for local and Linux-over-SSH telemetry, with configurable graphs, optional SQLite history, remote target management, and Windows packaging. Add Design Creations branding, an About tab, project documentation, and automated validation.
This commit is contained in:
14
packaging/THIRD_PARTY.md
Normal file
14
packaging/THIRD_PARTY.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Third-party runtime components
|
||||
|
||||
The Windows package includes CPython, Qt 6 and its PySide6 Python bindings,
|
||||
psutil, Paramiko and its cryptographic dependencies, NVIDIA's NVML Python
|
||||
bindings, and the PyInstaller bootloader. The NVIDIA display driver's NVML DLL
|
||||
is provided by the driver. License text distributed by the dependency wheels
|
||||
is included in this directory.
|
||||
|
||||
Qt is dynamically linked. The Qt DLLs and PySide bindings are separately
|
||||
replaceable under the applicable Qt licenses. The exact tested versions and
|
||||
rebuild instructions are in the ARM source repository. Qt source is available
|
||||
from the [Qt source archive](https://download.qt.io/archive/qt/) and PySide
|
||||
source from the [Qt for Python source archive](https://download.qt.io/official_releases/QtForPython/).
|
||||
Python source is available from [python.org](https://www.python.org/downloads/source/).
|
||||
67
packaging/setup.iss
Normal file
67
packaging/setup.iss
Normal file
@@ -0,0 +1,67 @@
|
||||
#define RunKey "Software\Microsoft\Windows\CurrentVersion\Run"
|
||||
|
||||
[Setup]
|
||||
AppId={#SetupId}
|
||||
AppName={#Product}
|
||||
AppVersion={#AppVersion}
|
||||
AppVerName={#Product} {#AppVersion}
|
||||
AppPublisher={#ArmPublisher}
|
||||
AppPublisherURL={#AppWebsite}
|
||||
AppSupportURL={#AppSupport}
|
||||
AppCopyright={#ArmCopyright}
|
||||
AppComments={#AppDescription}
|
||||
DefaultDirName={localappdata}\Programs\Adaptive Resource Monitor
|
||||
DefaultGroupName={#Product}
|
||||
DisableProgramGroupPage=auto
|
||||
AllowNoIcons=yes
|
||||
DisableDirPage=no
|
||||
PrivilegesRequired=lowest
|
||||
ArchitecturesAllowed=x64os
|
||||
ArchitecturesInstallIn64BitMode=x64os
|
||||
SetupArchitecture=x64
|
||||
MinVersion=10.0.17763
|
||||
OutputBaseFilename=AdaptiveResourceMonitor-{#AppVersion}-windows-x64-setup
|
||||
VersionInfoVersion={#FileVersion}
|
||||
VersionInfoTextVersion={#AppVersion}
|
||||
VersionInfoProductName={#Product}
|
||||
VersionInfoProductTextVersion={#AppVersion}
|
||||
VersionInfoCompany={#ArmPublisher}
|
||||
VersionInfoCopyright={#ArmCopyright}
|
||||
Compression=lzma2
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
SetupIconFile={#AppIcon}
|
||||
WizardImageFile={#WizardImage}
|
||||
WizardSmallImageFile={#WizardEmblem}
|
||||
UninstallDisplayIcon={app}\{#Executable}
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "Create a desktop shortcut"; Flags: unchecked
|
||||
Name: "startup"; Description: "Start Adaptive Resource Monitor with Windows"; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
Source: "{#Payload}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\{#Product}"; Filename: "{app}\{#Executable}"; IconFilename: "{app}\{#Executable}"; AppUserModelID: "{#AppModelId}"
|
||||
Name: "{userdesktop}\{#Product}"; Filename: "{app}\{#Executable}"; IconFilename: "{app}\{#Executable}"; AppUserModelID: "{#AppModelId}"; Tasks: desktopicon
|
||||
|
||||
[Registry]
|
||||
Root: HKCU; Subkey: "{#RunKey}"; ValueType: string; ValueName: "AdaptiveResourceMonitor"; ValueData: """{app}\{#Executable}"""; Tasks: startup
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#Executable}"; Description: "Open Adaptive Resource Monitor"; Flags: nowait postinstall skipifsilent
|
||||
|
||||
[Code]
|
||||
procedure CurUninstallStepChanged(Step: TUninstallStep);
|
||||
var
|
||||
Value, Target: String;
|
||||
begin
|
||||
if Step = usPostUninstall then
|
||||
begin
|
||||
Target := ExpandConstant('{app}\{#Executable}');
|
||||
if RegQueryStringValue(HKCU, '{#RunKey}', 'AdaptiveResourceMonitor', Value) then
|
||||
if (CompareText(Value, Target) = 0) or (CompareText(Value, '"' + Target + '"') = 0) then
|
||||
RegDeleteValue(HKCU, '{#RunKey}', 'AdaptiveResourceMonitor');
|
||||
end;
|
||||
end;
|
||||
16
packaging/windows.manifest
Normal file
16
packaging/windows.manifest
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security><requestedPrivileges><requestedExecutionLevel level="asInvoker" uiAccess="false"/></requestedPrivileges></security>
|
||||
</trustInfo>
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application><supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/></application>
|
||||
</compatibility>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
||||
Reference in New Issue
Block a user