Theme preview/revert, theme editor enhancements, build and deploy updates

This commit is contained in:
IChooseYou
2026-02-12 12:37:09 -07:00
committed by sysadmin
parent e73b783cda
commit 4b1d3e9d3f
18 changed files with 548 additions and 120 deletions

View File

@@ -1,4 +1,4 @@
# PowerShell script to build ReclassX
# PowerShell script to build Reclass
# Automatically detects Qt installation and configures build environment
#Requires -Version 5.1
@@ -303,7 +303,7 @@ function Find-MinGWDirectory {
# ──────────────────────────────────────────────────────────────────────────────
Write-ColorOutput "`n========================================" Cyan
Write-ColorOutput "ReclassX Build Script" Cyan
Write-ColorOutput "Reclass Build Script" Cyan
Write-ColorOutput "========================================`n" Cyan
# Get script directory and project root
@@ -426,7 +426,7 @@ try {
Write-ColorOutput "`nCMake configuration completed successfully.`n" Green
# Build
Write-ColorOutput "Building ReclassX..." Cyan
Write-ColorOutput "Building Reclass..." Cyan
$cores = (Get-CimInstance -ClassName Win32_Processor).NumberOfLogicalProcessors
if (-not $cores -or $cores -lt 1) {
@@ -445,8 +445,8 @@ try {
# Find executable
Write-ColorOutput "Locating executable..." Cyan
$exePaths = @(
(Join-Path $buildDir "ReclassX.exe"),
(Join-Path $buildDir "$BuildType\ReclassX.exe")
(Join-Path $buildDir "Reclass.exe"),
(Join-Path $buildDir "$BuildType\Reclass.exe")
)
$exePath = $null
@@ -477,7 +477,7 @@ try {
# Count deployed files
$deployedFiles = Get-ChildItem -Path $exeDir -Recurse -File | Where-Object {
$_.Name -ne "ReclassX.exe" -and $_.Extension -match '\.(dll|qm)$'
$_.Name -ne "Reclass.exe" -and $_.Extension -match '\.(dll|qm)$'
}
if ($deployedFiles) {
Write-ColorOutput "Deployed $($deployedFiles.Count) Qt dependency files." Gray
@@ -491,7 +491,7 @@ try {
Write-ColorOutput "Application may not run without Qt DLLs in PATH" Yellow
}
} else {
Write-ColorOutput "WARNING: Could not locate ReclassX.exe" Yellow
Write-ColorOutput "WARNING: Could not locate Reclass.exe" Yellow
}
} catch {
@@ -507,5 +507,5 @@ Write-ColorOutput "========================================`n" Cyan
if ($exePath) {
Write-ColorOutput "Run the application with:" White
Write-ColorOutput " .\build\ReclassX.exe`n" Cyan
Write-ColorOutput " .\build\Reclass.exe`n" Cyan
}

View File

@@ -1,4 +1,4 @@
# PowerShell script to build QScintilla static library for ReclassX
# PowerShell script to build QScintilla static library for Reclass
# This script checks for Qt installation, prompts if missing, and builds QScintilla
#Requires -Version 5.1
@@ -272,7 +272,7 @@ function Find-MakeCommand {
# ──────────────────────────────────────────────────────────────────────────────
Write-ColorOutput "`n========================================" Cyan
Write-ColorOutput "QScintilla Build Script for ReclassX" Cyan
Write-ColorOutput "QScintilla Build Script for Reclass" Cyan
Write-ColorOutput "========================================`n" Cyan
# Get script directory and project root
@@ -423,7 +423,7 @@ try {
Write-Host " - $($lib.Name) ($sizeMB MB)" -ForegroundColor Green
Write-Host " Path: $($lib.Path)" -ForegroundColor Gray
}
Write-ColorOutput "`nYou can now build ReclassX with CMake." Green
Write-ColorOutput "`nYou can now build Reclass with CMake." Green
} else {
Write-ColorOutput "`nWARNING: Build completed but no library files found." Yellow
Write-ColorOutput "Expected files: qscintilla2_qt6.a or qscintilla2_qt6.lib" Yellow