Skip to content

Commit 0fb9842

Browse files
committed
Update folder icon, Add AtmosphereTool support, Some minor changes and fixes, Update readme
1 parent 7ce873d commit 0fb9842

14 files changed

Lines changed: 167 additions & 31 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.apbx

Configuration/Tasks/advanced/files.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ actions:
4141
- !service: {name: "appidsvc", operation: stop}
4242
- !service: {name: "cryptsvc", operation: stop}
4343
- !file: {path: "%windir%\\SoftwareDistribution", ignoreErrors: true}
44-
- !file: {path: "%windir%\\System32\\OOBE"}
44+
# - !file: {path: "%windir%\\System32\\OOBE"}
4545
# - !file: {path: "%windir%\\System32\\SgrmBroker.exe"}
4646
# - !file: {path: "%windir%\\System32\\SgrmEnclave.dll"}
4747
# - !file: {path: "%windir%\\System32\\SgrmEnclave_secure.dll"}
@@ -120,10 +120,10 @@ actions:
120120
- !file: {path: "%windir%\\System32\\slui.exe"}
121121
- !file: {path: "%windir%\\System32\\en-US\\slui.exe.mui"}
122122
- !file: {path: "%windir%\\Prefetch\\SLUI.EXE-724E99D9.pf"}
123-
- !file: {path: "%windir%\\System32\\Startupscan.dll"}
124-
- !file: {path: "%windir%\\SysWOW64\\Startupscan.dll"}
125-
- !file: {path: "%windir%\\System32\\en-US\\Startupscan.dll.mui"}
126-
- !file: {path: "%windir%\\SysWOW64\\en-US\\Startupscan.dll.mui"}
123+
# - !file: {path: "%windir%\\System32\\Startupscan.dll"}
124+
# - !file: {path: "%windir%\\SysWOW64\\Startupscan.dll"}
125+
# - !file: {path: "%windir%\\System32\\en-US\\Startupscan.dll.mui"}
126+
# - !file: {path: "%windir%\\SysWOW64\\en-US\\Startupscan.dll.mui"}
127127
- !file: {path: "%SystemDrive%\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"}
128128
- !file: {path: "%SystemDrive%\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"}
129129
- !file: {path: "%SystemDrive%\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"}

Configuration/Tasks/software.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ actions:
1313
runas: currentUserElevated
1414
onUpgrade: false
1515

16+
# AtmosphereTool
17+
- !writeStatus: {status: 'Installing AtmosphereTool'}
18+
- !powerShell:
19+
command: '.\AtmosphereModules\Scripts\ScriptWrappers\InstallAtmosphereTool.ps1'
20+
exeDir: true
21+
wait: true
22+
weight: 120
23+
runas: currentUserElevated
24+
onUpgrade: false
25+
1626
# Browsers
1727
- !writeStatus: {status: 'Installing Brave', option: 'browser-brave'}
1828
- !powerShell:
@@ -22,6 +32,7 @@ actions:
2232
weight: 120
2333
option: 'browser-brave'
2434
runas: currentUserElevated
35+
onUpgrade: false
2536

2637
- !writeStatus: {status: 'Installing Firefox', option: 'browser-firefox'}
2738
- !powerShell:
@@ -31,13 +42,15 @@ actions:
3142
weight: 120
3243
option: 'browser-firefox'
3344
runas: currentUserElevated
45+
onUpgrade: false
3446
- !run:
3547
exe: 'FIREFOX.cmd'
3648
exeDir: true
3749
wait: true
3850
weight: 120
3951
option: 'browser-firefox'
4052
runas: currentUserElevated
53+
onUpgrade: false
4154

4255
- !writeStatus: {status: 'Installing LibreWolf', option: 'browser-librewolf'}
4356
- !powerShell:
@@ -47,6 +60,7 @@ actions:
4760
weight: 120
4861
option: 'browser-librewolf'
4962
runas: currentUserElevated
63+
onUpgrade: false
5064

5165
- !writeStatus: {status: 'Installing Google Chrome', option: 'browser-chrome'}
5266
- !powerShell:
@@ -56,6 +70,7 @@ actions:
5670
weight: 120
5771
option: 'browser-chrome'
5872
runas: currentUserElevated
73+
onUpgrade: false
5974

6075
- !writeStatus: {status: 'Installing OperaGX', option: 'browser-operagx'}
6176
- !powerShell:
@@ -65,6 +80,7 @@ actions:
6580
weight: 120
6681
option: 'browser-operagx'
6782
runas: currentUserElevated
83+
onUpgrade: false
6884

6985
# UI Modifications
7086
- !writeStatus: {status: 'Modifying the Start Menu', option: 'openshell'}
@@ -103,6 +119,7 @@ actions:
103119
weight: 120
104120
option: 'install-files'
105121
runas: currentUserElevated
122+
onUpgrade: false
106123

107124
- !writeStatus: {status: 'Installing Notepads'}
108125
- !powerShell:
@@ -112,6 +129,7 @@ actions:
112129
weight: 120
113130
option: 'install-notepads'
114131
runas: currentUserElevated
132+
onUpgrade: false
115133

116134
- !writeStatus: {status: 'Installing App Fetch'}
117135
- !powerShell:
@@ -121,6 +139,7 @@ actions:
121139
weight: 120
122140
option: 'install-appfetch'
123141
runas: currentUserElevated
142+
onUpgrade: false
124143

125144
- !writeStatus: {status: 'Installing UniGetUI'}
126145
- !powerShell:
@@ -130,6 +149,7 @@ actions:
130149
weight: 120
131150
option: 'install-unigetui'
132151
runas: currentUserElevated
152+
onUpgrade: false
133153

134154
- !writeStatus: {status: 'Installing Fluent Terminal'}
135155
- !powerShell:
@@ -138,4 +158,5 @@ actions:
138158
wait: true
139159
weight: 120
140160
option: 'install-fluentterminal'
141-
runas: currentUserElevated
161+
runas: currentUserElevated
162+
onUpgrade: false
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@echo off
2+
setlocal EnableDelayedExpansion
3+
4+
set "script=%windir%\AtmosphereModules\Scripts\ScriptWrappers\InstallAtmosphereTool.ps1"
5+
if not exist "%script%" (
6+
echo Script not found.
7+
echo "%script%"
8+
pause
9+
exit /b 1
10+
)
11+
12+
fltmc >nul 2>&1 || (
13+
echo.
14+
echo This script requires Administrator privileges.
15+
powershell -Command "Start-Process cmd -ArgumentList '/c \"%~f0\" %*' -Verb RunAs"
16+
exit /b
17+
)
18+
19+
choice /c YN /n /m "Do you want to install AtmosphereTool? (Y/N)"
20+
if errorlevel 2 (
21+
echo Cancelled.
22+
pause
23+
exit /b
24+
)
25+
26+
powershell -EP Bypass -NoP -File "%script%" %*

Executables/AtmosphereModules/AtmosphereTool/UI/OpenShell.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Remove-TempDirectory
2121
Write-Output "Configuring Open-Shell"
2222
New-Item -Path "$programfiles\Open-Shell" -ItemType Directory -Force
2323
Start-Process -FilePath "$windir\AtmosphereModules\Scripts\SLNT.bat" -ArgumentList "nu" -WindowStyle Hidden -Wait
24-
Copy-Item -Path "$scriptDir\Skins\Fluent-Metro.skin" -Destination "$programfiles\Open-Shell" -Force
25-
Copy-Item -Path "$scriptDir\Skins\Fluent-Metro.skin7" -Destination "$programfiles\Open-Shell" -Force
24+
Copy-Item -Path "$scriptDir\Fluent-Metro.skin" -Destination "$programfiles\Open-Shell\Skins" -Force
25+
Copy-Item -Path "$scriptDir\Fluent-Metro.skin7" -Destination "$programfiles\Open-Shell\Skins" -Force
2626
Write-Output "Open-Shell Configured successfully."
2727
exit
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@echo off
2+
setlocal EnableDelayedExpansion
3+
echo This is the 2nd stage of AtmosphereOS uninstallation
4+
fltmc >nul 2>&1 || (
5+
echo.
6+
echo This script requires Administrator privileges.
7+
powershell -Command "Start-Process cmd -ArgumentList '/c \"%~f0\" %*' -Verb RunAs"
8+
exit /b
9+
)
10+
echo Removing AtmosphereTool...
11+
rmdir /s /q "C:\Program Files\AtmosphereTool"
12+
echo Removing AtmosphereOS Folders...
13+
rmdir /s /q "C:\Windows\AtmosphereDesktop"
14+
rmdir /s /q "C:\Windows\AtmosphereModules"
15+
echo Resetting Themes...
16+
del /f /q "C:\Windows\Resources\Themes\atmosphere-dark.theme"
17+
echo Cleaning up...
18+
rmdir /s /q "C:\cleanup"
19+
@echo on
20+
echo Running SFC.
21+
echo This might take a while...
22+
sfc /scannow
23+
echo Finished.
24+
echo Please restart your device.
25+
echo The script will delete itself after continuing.
26+
pause
27+
start "" cmd /c "del /f /q \"%~f0\""
126 KB
Binary file not shown.

Executables/AtmosphereModules/Packages/Z-Atmosphere-NoDefender-Package31bf3856ad364e35amd645.0.0.0.cab renamed to Executables/AtmosphereModules/Packages/Z-AME-NoDefender-Package31bf3856ad364e35amd645.0.0.0.cab

File renamed without changes.

Executables/AtmosphereModules/Packages/Z-Atmosphere-NoDefender-Package31bf3856ad364e35arm645.0.0.0.cab renamed to Executables/AtmosphereModules/Packages/Z-AME-NoDefender-Package31bf3856ad364e35arm645.0.0.0.cab

File renamed without changes.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
$windir = [Environment]::GetFolderPath('Windows')
2+
& "$windir\AtmosphereModules\initPowerShell.ps1"
3+
Write-Host "Downloading AtmosphereTool..."
4+
function Remove-TempDirectory { Pop-Location; Remove-Item -Path $tempDir -Force -Recurse -EA 0 }
5+
$tempDir = Join-Path -Path $(Get-SystemDrive) -ChildPath $([System.Guid]::NewGuid())
6+
New-Item $tempDir -ItemType Directory -Force | Out-Null
7+
Push-Location $tempDir
8+
try {
9+
$githubApi = Invoke-RestMethod "https://api.github.com/repos/Goldendraggon/AtmosphereTool/releases" -ErrorAction Stop
10+
$zipUrl = $githubApi.assets.browser_download_url | Where-Object { $_ -like "*.zip" } | Select-Object -First 1
11+
if (-not $zipUrl) {
12+
throw "Failed to find a .zip asset in the release."
13+
}
14+
$zipPath = Join-Path $tempDir "AtmosphereTool.zip"
15+
& curl.exe -L $zipUrl -o $zipPath
16+
Stop-Process -Name "AtmosphereTool" -Force -ErrorAction SilentlyContinue
17+
while (Get-Process -Name "AtmosphereTool" -ErrorAction SilentlyContinue) {
18+
Start-Sleep -Milliseconds 200
19+
}
20+
$atmospherePath = "C:\Program Files\AtmosphereTool"
21+
Write-Host "Installing AtmosphereTool..."
22+
if (Test-Path $atmospherePath) {
23+
Remove-Item -Path $atmospherePath -Force -Recurse -ErrorAction Stop
24+
}
25+
Expand-Archive -Path $zipPath -DestinationPath $atmospherePath -Force
26+
New-Shortcut -Source "$atmospherePath\AtmosphereTool.exe" -Destination "$([Environment]::GetFolderPath('Desktop'))\AtmosphereTool.lnk"
27+
Write-Host "AtmosphereTool installation complete."
28+
}
29+
catch {
30+
Write-Error "An error occurred: $_"
31+
}
32+
finally {
33+
Remove-TempDirectory
34+
}

0 commit comments

Comments
 (0)