diff --git a/package.json b/package.json index f7ffd7a..c7b33f9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ld-uninstaller", "private": true, - "version": "3.0.0", + "version": "3.0.1", "type": "module", "scripts": { "dev": "vite", diff --git a/publish.ps1 b/publish.ps1 index c15264f..1ca8ad6 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -1,11 +1,11 @@ -# ============================================================================== +# ============================================================================== # LD Uninstaller v3.0.0 - Self-Hosted OTA Dağıtım ve Yayınlama Scripti # ============================================================================== [CmdletBinding()] param( [switch]$UploadOnly, [switch]$SkipUpload, - [string]$Notes = "LD Uninstaller v3.0.0: Tauri v2 + Rust mimarisi, Restart Manager tabanlı kilit açıcı (Shredder), 20 katmanlı kalıntı temizliği ve otomatik güncelleme desteği." + [string]$Notes = "LD Uninstaller v3.0.1: Pencere kontrol butonları (kapat/küçült/büyüt) ve sürükleme düzeltildi. Tauri v2 + Rust mimarisi, Restart Manager tabanlı kilit açıcı (Shredder), 20 katmanlı kalıntı temizliği ve otomatik güncelleme desteği." ) $ErrorActionPreference = "Stop" @@ -97,7 +97,7 @@ if (-not $UploadOnly) { foreach ($loc in $SearchLocations) { if (Test-Path $loc) { - $foundExe = Get-ChildItem -Path $loc -Filter "*setup*.exe" -File -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1 + $foundExe = Get-ChildItem -Path $loc -Filter "*_${Version}_x64-setup.exe" -File -Recurse -ErrorAction SilentlyContinue | Sort-Object LastWriteTime -Descending | Select-Object -First 1 if ($foundExe) { $SetupExe = $foundExe $possibleSig = "$($foundExe.FullName).sig" @@ -152,11 +152,11 @@ if (-not $UploadOnly) { $JsonContent = $LatestManifest | ConvertTo-Json -Depth 5 $LatestJsonPath = Join-Path $DistServerDir "latest.json" - [System.IO.File]::WriteAllText($LatestJsonPath, $JsonContent, [System.Text.Encoding]::UTF8) + [System.IO.File]::WriteAllText($LatestJsonPath, $JsonContent, (New-Object System.Text.UTF8Encoding $false)) # SHA256 Özet Dosyası $ShaSummary = "DOSYA: $DestExeName`nSHA256: $Hash`nTARIH: $PubDate`nURL: $UpdateUrl`n" - [System.IO.File]::WriteAllText((Join-Path $DistServerDir "sha256.txt"), $ShaSummary, [System.Text.Encoding]::UTF8) + [System.IO.File]::WriteAllText((Join-Path $DistServerDir "sha256.txt"), $ShaSummary, (New-Object System.Text.UTF8Encoding $false)) Write-Host " -> 'dist_server\latest.json' başarıyla oluşturuldu." -ForegroundColor Green } else { @@ -175,7 +175,7 @@ if (-not $UploadOnly) { } } $JsonContent = $LatestManifest | ConvertTo-Json -Depth 5 - [System.IO.File]::WriteAllText($LatestJsonPath, $JsonContent, [System.Text.Encoding]::UTF8) + [System.IO.File]::WriteAllText($LatestJsonPath, $JsonContent, (New-Object System.Text.UTF8Encoding $false)) } } diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 8b83a94..52c203f 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2132,7 +2132,7 @@ dependencies = [ [[package]] name = "ld_uninstaller" -version = "3.0.0" +version = "3.0.1" dependencies = [ "chrono", "csv", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 01440e8..5951120 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ld_uninstaller" -version = "3.0.0" +version = "3.0.1" description = "LD Uninstaller - Modern High Performance Windows Uninstaller & System Cleaner" authors = ["LD Team"] edition = "2021" diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 6745c6f..ad15ac8 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -5,6 +5,17 @@ "windows": ["main"], "permissions": [ "core:default", + "core:window:allow-close", + "core:window:allow-destroy", + "core:window:allow-minimize", + "core:window:allow-maximize", + "core:window:allow-unmaximize", + "core:window:allow-toggle-maximize", + "core:window:allow-is-maximized", + "core:window:allow-start-dragging", + "core:window:allow-show", + "core:window:allow-set-focus", + "core:window:allow-unminimize", "opener:default", "updater:default", "process:default" diff --git a/src-tauri/src/services/update_service.rs b/src-tauri/src/services/update_service.rs index 6d40e81..0b6f471 100644 --- a/src-tauri/src/services/update_service.rs +++ b/src-tauri/src/services/update_service.rs @@ -7,7 +7,7 @@ use std::process::Command; pub struct UpdateService; -const CURRENT_VERSION: &str = "3.0.0"; +const CURRENT_VERSION: &str = "3.0.1"; const UPDATE_URL: &str = "https://ttmadethat.shop/ldapps/version.json"; impl UpdateService { diff --git a/src-tauri/src/state.rs b/src-tauri/src/state.rs index 3ec1494..5341315 100644 --- a/src-tauri/src/state.rs +++ b/src-tauri/src/state.rs @@ -25,7 +25,7 @@ impl AppState { // Günlükleyiciyi (Logger) başlat AppLogger::init(&config_dir); - log_info("=== LD Uninstaller v3.0.0 Başlatıldı ==="); + log_info("=== LD Uninstaller v3.0.1 Başlatıldı ==="); // Kendini İyileştiren Yapılandırma Yöneticisi (Self-Healing Config) let exclusions_file = config_dir.join("exclusions.json"); diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 29a1350..690f42d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "LD Uninstaller", - "version": "3.0.0", + "version": "3.0.1", "identifier": "com.lduninstaller.app", "build": { "beforeDevCommand": "npm run dev", @@ -12,6 +12,7 @@ "app": { "windows": [ { + "label": "main", "title": "LD Uninstaller", "decorations": false, "width": 1200, diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 43547b4..4124c98 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -67,7 +67,7 @@ export const Sidebar: React.FC = () => { {/* Alt Bilgi */}
LD Uninstaller, Tauri v2, Rust 1.99, React 18, TypeScript ve TailwindCSS mimarisi ile sıfırdan inşa edilmiştir. Windows Restart Manager kilit kırma motoru, 20 katmanlı derin kalıntı temizleme ve Minisign imzalı Self-Hosted OTA güncelleme altyapısına sahiptir.