Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Advanced screenshot capture and editing application for Windows, built with C# W

### For End Users

See detailed instructions in [docs/installation/INSTALLATION.md](docs/installation/INSTALLATION.md)
Download the latest release from the [Releases](https://github.com/Co0ob1iee/PrettyScreenSHOT/releases) page.

### For Developers

Expand Down Expand Up @@ -135,7 +135,7 @@ PrettyScreenSHOT uses **[WPF UI](https://github.com/lepoco/wpfui)** (version 4.0

## 📁 Project Structure

Detailed structure and architecture description at [docs/PROJECT_STRUCTURE.md](docs/PROJECT_STRUCTURE.md).
See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for detailed architecture and design patterns.

### Main Components:
- **App.xaml/.cs** - Application entry point
Expand All @@ -148,7 +148,7 @@ Detailed structure and architecture description at [docs/PROJECT_STRUCTURE.md](d

## 🗺️ Roadmap

See [ROADMAP.md](ROADMAP.md) for detailed development plan.
See [docs/ROADMAP.md](docs/ROADMAP.md) for detailed development plan.

### Upcoming Features
- More drawing tools (Ellipse, Line, Fill)
Expand All @@ -168,14 +168,24 @@ This project uses a custom versioning scheme for clear build tracking:
- **0.X.0** - Pre-release/Beta versions (X = release number)
- **X.0.0** - Full production releases (X = major version)

For detailed information, see [VERSIONING.md](VERSIONING.md).
For detailed information, see [docs/VERSIONING.md](docs/VERSIONING.md).

## 📝 Changelog

See [CHANGELOG.md](CHANGELOG.md) for a detailed list of changes, new features, and bug fixes in each release.

**Current Version**: v0.1.0 (First Beta Release)

## 📚 Documentation

- **[docs/README.md](docs/README.md)** - Documentation index
- **[docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)** - Project architecture and design patterns
- **[docs/LOGGING.md](docs/LOGGING.md)** - Logging system documentation
- **[docs/ROADMAP.md](docs/ROADMAP.md)** - Development roadmap
- **[docs/VERSIONING.md](docs/VERSIONING.md)** - Versioning system
- **[docs/STATUS_REPORT.md](docs/STATUS_REPORT.md)** - Project status and metrics
- **[Tests/README.md](Tests/README.md)** - Testing guidelines

## 🤝 Contributing

Contributions are welcome! Please:
Expand Down
Binary file removed app.ico
Binary file not shown.
116 changes: 0 additions & 116 deletions bin/Debug/net10.0-windows/PrettyScreenSHOT.deps.json

This file was deleted.

Binary file removed bin/Debug/net10.0-windows/PrettyScreenSHOT.dll
Binary file not shown.
Binary file removed bin/Debug/net10.0-windows/PrettyScreenSHOT.exe
Binary file not shown.
Binary file removed bin/Debug/net10.0-windows/PrettyScreenSHOT.pdb
Binary file not shown.
19 changes: 0 additions & 19 deletions bin/Debug/net10.0-windows/PrettyScreenSHOT.runtimeconfig.json

This file was deleted.

Binary file removed bin/Debug/net10.0-windows/app.ico
Binary file not shown.
File renamed without changes.
File renamed without changes.
38 changes: 25 additions & 13 deletions build-installer.ps1 → build/installer/build-installer.ps1
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
# Script do automatycznego budowania instalatora PrettyScreenSHOT
# Użycie: .\build-installer.ps1 -Method MSIX|WiX|InnoSetup
# Uwaga: Skrypt należy uruchomić z katalogu głównego projektu lub build/installer/

param(
[Parameter(Mandatory=$true)]
[ValidateSet("MSIX", "WiX", "InnoSetup")]
[string]$Method,

[string]$Configuration = "Release",
[string]$Runtime = "win-x64",
[bool]$SelfContained = $false
)

$ErrorActionPreference = "Stop"

# Navigate to project root if running from build/installer/
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
if ($scriptDir -match "build[\\/]installer$") {
$projectRoot = (Get-Item $scriptDir).Parent.Parent.FullName
Set-Location $projectRoot
}
$projectRoot = Get-Location

Write-Host "========================================" -ForegroundColor Cyan
Write-Host "PrettyScreenSHOT Installer Builder" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
Expand Down Expand Up @@ -99,15 +108,16 @@ switch ($Method) {
exit 1
}

if (-not (Test-Path "Installer.wxs")) {
Write-Host "Error: Installer.wxs not found!" -ForegroundColor Red
$wxsPath = "build\installer\Installer.wxs"
if (-not (Test-Path $wxsPath)) {
Write-Host "Error: Installer.wxs not found at $wxsPath!" -ForegroundColor Red
exit 1
}

New-Item -ItemType Directory -Force -Path "installer" | Out-Null

# Compile
& $candle "Installer.wxs" -ext WixUtilExtension -out "installer\"
& $candle $wxsPath -ext WixUtilExtension -out "installer\"
if ($LASTEXITCODE -ne 0) {
Write-Host "WiX compilation failed!" -ForegroundColor Red
exit 1
Expand Down Expand Up @@ -135,18 +145,20 @@ switch ($Method) {
exit 1
}

if (-not (Test-Path "Installer.iss")) {
Write-Host "Error: Installer.iss not found!" -ForegroundColor Red
$issPath = "build\installer\Installer.iss"
if (-not (Test-Path $issPath)) {
Write-Host "Error: Installer.iss not found at $issPath!" -ForegroundColor Red
exit 1
}

# Update source path in ISS file
$issContent = Get-Content "Installer.iss" -Raw
$issContent = Get-Content $issPath -Raw
$issContent = $issContent -replace 'Source: "bin\\Release\\net10\.0-windows\\\*"', "Source: `"$publishPath\*`""
Set-Content "Installer.iss" -Value $issContent

$issTempPath = "installer\Installer_temp.iss"
Set-Content $issTempPath -Value $issContent

# Compile
& $iscc "Installer.iss"
& $iscc $issTempPath
if ($LASTEXITCODE -ne 0) {
Write-Host "Inno Setup compilation failed!" -ForegroundColor Red
exit 1
Expand Down
Loading
Loading