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>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user