Files
lab-app/installer/build_installer.ps1
T
Emre Emir 399b4aa380 Windows kurulumu: DLS logosu, Kovak Yazılım markası ve lisans sözleşmesi
- Uygulama logosu DLS diş logosu yapıldı (Windows ikonu + uygulama içi ToothLogo)
- Inno Setup sihirbazı: DLS ve Kovak Yazılım görselleri, "Bir Kovak Yazılım ürünüdür"
- Türkçe son kullanıcı lisans sözleşmesi (LICENSE_TR.txt) kurulumda onaylatılıyor
- Exe adı DLS.exe, sürüm bilgisinde Kovak Yazılım; MSVC /utf-8
- Kurulum tüm Release dosyalarını ve VC++ runtime DLL'lerini içeriyor
- installer/build_installer.ps1 ile tek komutta kurulum dosyası
- Flutter 3.47 uyumu için shadcn_flutter 0.0.55 (sidebar renkleri kaldırıldı)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 04:50:52 +03:00

29 lines
1.0 KiB
PowerShell
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DLS Windows kurulum dosyasını üretir: flutter build -> VC++ runtime kopyala -> Inno Setup
# Kullanım: powershell -ExecutionPolicy Bypass -File installer\build_installer.ps1 [-SkipBuild]
param([switch]$SkipBuild)
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $PSScriptRoot
$release = Join-Path $root 'build\windows\x64\runner\Release'
$iscc = 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe'
Push-Location $root
try {
if (-not $SkipBuild) {
flutter build windows --release
if ($LASTEXITCODE -ne 0) { throw 'flutter build windows başarısız' }
}
# Temiz makinelerde "VCRUNTIME140.dll bulunamadı" hatasını önlemek için
# Visual C++ runtime DLL'lerini uygulama klasörüne koy (app-local deployment).
foreach ($dll in 'msvcp140.dll', 'vcruntime140.dll', 'vcruntime140_1.dll') {
Copy-Item (Join-Path $env:WINDIR "System32\$dll") $release -Force
}
& $iscc (Join-Path $PSScriptRoot 'setup.iss')
if ($LASTEXITCODE -ne 0) { throw 'ISCC başarısız' }
}
finally {
Pop-Location
}