mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Adds Krita (free and open-source digital painting application) as a Fleet Maintained App for macOS and Windows. ## Changes - **macOS**: Homebrew cask `krita`, DMG installer, bundle ID `org.kde.krita` - **Windows**: WinGet `KDE.Krita`, NSIS EXE installer with custom silent install/uninstall scripts - Icon generated from KDE official icon (128x128 PNG), added to icon index - Both platforms added to `apps.json` alphabetically (after Keka, before LastPass) ## Testing - macOS ingester ran successfully: `go run cmd/maintained-apps/main.go --slug="krita/darwin" --debug` - Windows ingester ran successfully: `go run cmd/maintained-apps/main.go --slug="krita/windows" --debug` - Output files generated: `ee/maintained-apps/outputs/krita/darwin.json` and `windows.json` ## Related issue Add Krita FMA
28 lines
594 B
PowerShell
28 lines
594 B
PowerShell
# Learn more about .exe install scripts:
|
|
# http://fleetdm.com/learn-more-about/exe-install-scripts
|
|
|
|
$exeFilePath = "${env:INSTALLER_PATH}"
|
|
|
|
try {
|
|
|
|
# Add argument to install silently
|
|
# NSIS (Nullsoft) installers require /S flag for silent installation
|
|
$processOptions = @{
|
|
FilePath = "$exeFilePath"
|
|
ArgumentList = "/S"
|
|
PassThru = $true
|
|
Wait = $true
|
|
}
|
|
|
|
# Start process and track exit code
|
|
$process = Start-Process @processOptions
|
|
$exitCode = $process.ExitCode
|
|
|
|
# Prints the exit code
|
|
Write-Host "Install exit code: $exitCode"
|
|
Exit $exitCode
|
|
|
|
} catch {
|
|
Write-Host "Error: $_"
|
|
Exit 1
|
|
}
|