Skip to content

Commit 444b5d0

Browse files
committed
fix: playbook hangs on installing utilities and cross device host not being removed
1 parent 684bc2d commit 444b5d0

9 files changed

Lines changed: 14 additions & 41 deletions

File tree

Configuration/Tasks/advanced/appx.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,12 @@ actions:
101101
Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq 'Microsoft.YourPhone' } | Remove-AppxProvisionedPackage -Online
102102
runas: currentUserElevated
103103
wait: true
104-
option: 'remove-yourphone'
105104
- !powerShell:
106105
command: |
107106
Get-AppxPackage MicrosoftWindows.CrossDevice | Remove-AppxPackage
108107
Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq 'MicrosoftWindows.CrossDevice' } | Remove-AppxProvisionedPackage -Online
109108
runas: currentUserElevated
110109
wait: true
111-
option: 'remove-yourphone'
112110

113111
# Prevent provisioned applications from being reinstalled
114112
# https://learn.microsoft.com/en-us/windows/application-management/remove-provisioned-apps-during-update

Configuration/Tasks/scripts/script-pfp.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Configuration/Tasks/software.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ actions:
9494
runas: currentUserElevated
9595
onUpgrade: false
9696

97-
- !writeStatus: {status: 'Modifying UI'}
97+
- !writeStatus: {status: 'Modifying UI', option: 'modify-ui'}
9898
- !powerShell:
9999
command: '.\SOFTWARE.ps1 -ModifyUi'
100100
exeDir: true
@@ -112,7 +112,7 @@ actions:
112112
onUpgrade: false
113113

114114
# Software
115-
- !writeStatus: {status: 'Installing Files'}
115+
- !writeStatus: {status: 'Installing Files', option: 'install-files'}
116116
- !powerShell:
117117
command: '.\STORE-APPS.ps1 -Files'
118118
exeDir: true
@@ -122,7 +122,7 @@ actions:
122122
runas: currentUserElevated
123123
onUpgrade: false
124124

125-
- !writeStatus: {status: 'Installing Notepads'}
125+
- !writeStatus: {status: 'Installing Notepads', option: 'install-notepads'}
126126
- !powerShell:
127127
command: '.\STORE-APPS.ps1 -Notepads'
128128
exeDir: true
@@ -132,7 +132,7 @@ actions:
132132
runas: currentUserElevated
133133
onUpgrade: false
134134

135-
- !writeStatus: {status: 'Installing App Fetch'}
135+
- !writeStatus: {status: 'Installing App Fetch', option: 'install-appfetch'}
136136
- !powerShell:
137137
command: '.\STORE-APPS.ps1 -AppFetch'
138138
exeDir: true
@@ -142,7 +142,7 @@ actions:
142142
runas: currentUserElevated
143143
onUpgrade: false
144144

145-
- !writeStatus: {status: 'Installing UniGetUI'}
145+
- !writeStatus: {status: 'Installing UniGetUI', option: 'install-unigetui'}
146146
- !powerShell:
147147
command: '.\STORE-APPS.ps1 -UniGetUI'
148148
exeDir: true
@@ -152,7 +152,7 @@ actions:
152152
runas: currentUserElevated
153153
onUpgrade: false
154154

155-
- !writeStatus: {status: 'Installing Fluent Terminal'}
155+
- !writeStatus: {status: 'Installing Fluent Terminal', option: 'install-fluentterminal'}
156156
- !powerShell:
157157
command: '.\STORE-APPS.ps1 -FluentTerminal'
158158
exeDir: true

Executables/AtmosphereReadme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Thank you for installing AtmosphereOS v0.1.0!
1+
Thank you for installing AtmosphereOS v0.1.1!
22

33
We recommend checking out the Atmosphere folder on your desktop to get started.
44

@@ -10,6 +10,6 @@ Our mission is to deliver an OS that prioritizes:
1010
User Interface & Usability
1111
A genuinely user-friendly experience
1212

13-
We hope you enjoy your experience with AtmosphereOS v0.1.0!
13+
We hope you enjoy your experience with AtmosphereOS v0.1.1!
1414

1515
<3 — Atmosphere Team & Goldendraggon

Executables/PFP.ps1

Lines changed: 0 additions & 23 deletions
This file was deleted.

Executables/SOFTWARE.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,12 @@ foreach ($a in $vcredists.GetEnumerator()) {
302302
Write-Output "Downloading and installing Visual C++ Runtime $vcName..."
303303
& curl.exe -LSs "$vcUrl" -o "$vcExePath" $timeouts
304304

305+
# I dont know why but 2010-x64 takes long time so no wait
306+
if ($vcName -eq "2010-x64") {
307+
Start-Process -FilePath $vcExePath -ArgumentList $vcArgs -WindowStyle Hidden
308+
continue
309+
}
310+
305311
if ($vcArgs -match ":") {
306312
$msiDir = "$vcredistDir\vcredist-$vcName"
307313
Start-Process -FilePath $vcExePath -ArgumentList "$vcArgs`"$msiDir`"" -Wait -WindowStyle Hidden

Executables/user.png

-65 KB
Binary file not shown.

Images/playbook.png

-2.31 KB
Loading

legacy/playbook2.png

57.7 KB
Loading

0 commit comments

Comments
 (0)