Compare commits

...
3 Commits
105 changed files with 14 additions and 2 deletions
+2
View File
@@ -1 +1,3 @@
build/
sources/
logs/
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

+4
View File
@@ -50,9 +50,13 @@ Write-Host "`nBuild container finished." -ForegroundColor Cyan
$IsoFiles = Get-ChildItem -Path $OutputDir -Filter "*.iso"
if ($IsoFiles.Count -gt 0) {
Write-Host "Success! ISO file(s) available in: ${OutputDir}" -ForegroundColor Green
$LegacyOutputDir = Join-Path $PWD.Path "output"
if (-not (Test-Path $LegacyOutputDir)) { New-Item -ItemType Directory -Path $LegacyOutputDir | Out-Null }
foreach ($file in $IsoFiles) {
$sizeMB = [math]::Round($file.Length / 1MB, 2)
Write-Host "$($file.Name) ($sizeMB MB)" -ForegroundColor Green
Copy-Item -Path $file.FullName -Destination (Join-Path $LegacyOutputDir $file.Name) -Force
Copy-Item -Path $file.FullName -Destination (Join-Path $LegacyOutputDir "wlasnyos-1.0-x86_64.iso") -Force
}
} else {
Write-Host "No ISO file found in output directory. Check the build logs." -ForegroundColor Yellow
Binary file not shown.
+2 -2
View File
@@ -106,7 +106,7 @@ cmd_update() {
touch "$temp_db"
while IFS= read -r raw_repo || [ -n "$raw_repo" ]; do
repo=$(printf '%s' "$raw_repo" | tr -d '␍')
repo=$(printf '%s' "$raw_repo" | tr -d '')
# Pomijaj puste linie i komentarze
case "$repo" in
""|\#*) continue ;;
@@ -303,7 +303,7 @@ cmd_install() {
msg "Pobieranie $filename..."
local found_repo=0
while IFS= read -r raw_repo || [ -n "$raw_repo" ]; do
repo=$(printf '%s' "$raw_repo" | tr -d '␍')
repo=$(printf '%s' "$raw_repo" | tr -d '')
case "$repo" in ""|\#*) continue ;; esac
if wget -c -O "$pkg_file" "${repo}/${filename}" 2>/dev/null && [ -s "$pkg_file" ]; then
found_repo=1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More