mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:07:20 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
22 lines
911 B
PowerShell
22 lines
911 B
PowerShell
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
|
|
|
Write-Host "Opening outer zip..."
|
|
$outerZip = [System.IO.Compression.ZipFile]::OpenRead('A:\firmware.zip')
|
|
$innerEntry = $outerZip.Entries | Where-Object { $_.Name -like '*.zip' } | Select-Object -First 1
|
|
|
|
Write-Host "Extracting inner zip: $($innerEntry.Name) ($($innerEntry.Length) bytes)"
|
|
$innerPath = 'A:\inner_firmware.zip'
|
|
[System.IO.Compression.ZipFileExtensions]::ExtractToFile($innerEntry, $innerPath, $true)
|
|
$outerZip.Dispose()
|
|
Write-Host "Inner zip extracted to $innerPath"
|
|
|
|
Write-Host ""
|
|
Write-Host "Listing boot-related files in inner zip..."
|
|
$innerZip = [System.IO.Compression.ZipFile]::OpenRead($innerPath)
|
|
foreach ($entry in $innerZip.Entries) {
|
|
if ($entry.FullName -match 'boot|init|scatter') {
|
|
$sizeMB = [math]::Round($entry.Length / 1MB, 2)
|
|
Write-Host " $($entry.FullName) - $sizeMB MB"
|
|
}
|
|
}
|
|
$innerZip.Dispose()
|