Browse Source

New folder structure

master
Xyueta 1 month ago
parent
commit
14f313f94d
12 changed files with 77 additions and 187 deletions
  1. +8
    -8
      src/Configuration/custom.yml
  2. +0
    -97
      src/Configuration/features/languages/lang.yml
  3. +0
    -4
      src/Configuration/langs.txt
  4. +52
    -66
      src/Configuration/tasks/appx.yml
  5. +6
    -6
      src/Configuration/tasks/components.yml
  6. +3
    -1
      src/Configuration/tasks/config.yml
  7. +2
    -2
      src/Configuration/tasks/dotnet.yml
  8. +2
    -1
      src/Configuration/tasks/files.yml
  9. +1
    -1
      src/Configuration/tasks/regedits.yml
  10. +2
    -0
      src/Configuration/tasks/services.yml
  11. +0
    -0
      src/Configuration/tasks/software.yml
  12. +1
    -1
      src/playbook.conf

+ 8
- 8
src/Configuration/custom.yml View File

@ -3,11 +3,11 @@ title: Custom
description: Custom AME configuration
privilege: Admin
actions: []
features:
- features\base\regedits.yml
- features\base\appx.yml
- features\base\services.yml
- features\base\components.yml
- features\base\files.yml
- features\base\config.yml
- features\base\software.yml
tasks:
- tasks\base\regedits.yml
- tasks\base\appx.yml
- tasks\base\services.yml
- tasks\base\components.yml
- tasks\base\files.yml
- tasks\base\config.yml
- tasks\base\software.yml

+ 0
- 97
src/Configuration/features/languages/lang.yml View File

@ -1,97 +0,0 @@
!UTask
title: Language installation
description: Installs the files for the languages selected in the GUI
minVersion:
maxVersion:
status: ToDo
actions:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_de-de.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(de-DE); Set-WinUserLanguageList -LanguageList $OldList -Force
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_en-us.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(en-US); Set-WinUserLanguageList -LanguageList $OldList -Force
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_es-es.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(es-ES); Set-WinUserLanguageList -LanguageList $OldList -Force
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_fi-fi.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(fi-FI); Set-WinUserLanguageList -LanguageList $OldList -Force
priority: 1
features: []

+ 0
- 4
src/Configuration/langs.txt View File

@ -1,4 +0,0 @@
de-DE
en-US
es-ES
fi-FI

src/Configuration/features/base/appx.yml → src/Configuration/tasks/appx.yml View File

@ -4,96 +4,82 @@ description: Removal of APPX packages
privilege: TrustedInstaller
actions:
- !writeStatus: {status: 'Removing APPX packages'}
- !appx: {name: '*Microsoft.549981C3F5F10*', type: family}
- !appx: {name: '*3DViewer*', type: family}
- !appx: {name: '*Apprep.Chx*', type: family}
- !appx: {name: '*AssignedAccessLockApp*', type: family}
- !appx: {name: '*PinningConfirmationDialog*', type: family}
- !appx: {name: '*SecureAssessmentBrowser*', type: family}
- !appx: {name: '*Bing*', type: family}
- !appx: {name: '*CamoStudio*', type: family}
- !appx: {name: '*Client.WebExperience*', type: family}
- !appx: {name: '*Clipchamp*', type: family}
- !appx: {name: '*CloudExperienceHost*', type: family}
- !appx: {name: '*CommsPhone*', type: family}
- !appx: {name: '*ConnectivityStore*', type: family}
- !appx: {name: '*ContentDeliveryManager*', type: family}
- !appx: {name: '*Disney*', type: family}
- !appx: {name: '*FeedbackHub*', type: family}
- !appx: {name: '*MixedReality*', type: family}
- !appx: {name: '*GamingApp*', type: family}
- !appx: {name: '*Getstarted*', type: family}
- !appx: {name: '*Microsoft.549981C3F5F10*', type: family}
- !appx: {name: '*Microsoft.Calculator*', type: family}
- !appx: {name: '*Microsoft.WindowsAlarms*', type: family}
- !appx: {name: '*Microsoft.GetHelp*', type: family}
- !appx: {name: '*Getstarted*', type: family}
- !appx: {name: '*disney*', type: family}
- !appx: {name: '*Microsoft.Messaging*', type: family}
- !appx: {name: '*Microsoft.OneConnect*', type: family}
- !appx: {name: '*WindowsCamera*', type: family}
- !appx: {name: '*bing*', type: family}
- !appx: {name: '*Sticky*', type: family}
- !appx: {name: '*Microsoft.People*', type: family}
- !appx: {name: '*Microsoft.Todos*', type: family}
- !appx: {name: '*Microsoft.WindowsAlarms*', type: family}
- !appx: {name: '*Microsoft.WindowsStore*', type: family}
- !appx: {name: '*StorePurchaseApp*', type: family}
- !appx: {name: '*MicrosoftEdge*', type: family}
- !appx: {name: '*MicrosoftOfficeHub*', type: family}
# - !appx: {name: '*Paint*', type: family}
- !appx: {name: '*wallet*', type: family}
- !appx: {name: '*MicrosoftTeams*', type: family}
- !appx: {name: '*MixedReality*', type: family}
- !appx: {name: '*OneDrive*', type: family}
- !appx: {name: '*OneNote*', type: family}
- !appx: {name: '*Microsoft.People*', type: family}
- !appx: {name: '*WindowsPhone*', type: family}
- !appx: {name: '*YourPhone*', type: family}
- !appx: {name: '*photos*', type: family}
- !appx: {name: '*OOBENetwork*', type: family}
- !appx: {name: '*OutlookForWindows*', type: family}
- !appx: {name: '*Parental*', type: family}
- !appx: {name: '*PeopleExperienceHost*', type: family}
- !appx: {name: '*Photos*', type: family}
- !appx: {name: '*PinningConfirmationDialog*', type: family}
- !appx: {name: '*PowerAutomate*', type: family}
- !appx: {name: '*QuickAssist*', type: family}
- !appx: {name: '*SecHealthUI*', type: family}
- !appx: {name: '*SecureAssessmentBrowser*', type: family}
- !appx: {name: '*SkypeApp*', type: family}
- !appx: {name: '*solit*', type: family}
- !appx: {name: '*spotify*', type: family}
- !appx: {name: '*WindowsSoundRecorder*', type: family}
- !appx: {name: '*windowscommunicationsapps*', type: family}
- !appx: {name: '*zune*', type: family}
# - !appx: {name: '*WindowsCalculator*', type: family}
- !appx: {name: '*WindowsMaps*', type: family}
- !appx: {name: '*Solit*', type: family}
- !appx: {name: '*Spotify*', type: family}
- !appx: {name: '*Sticky*', type: family}
- !appx: {name: '*StorePurchaseApp*', type: family}
- !appx: {name: '*Sway*', type: family}
- !appx: {name: '*CommsPhone*', type: family}
- !appx: {name: '*ConnectivityStore*', type: family}
- !appx: {name: '*Microsoft.Messaging*', type: family}
- !appx: {name: '*Microsoft.WindowsStore*', type: family}
- !appx: {name: '*XboxApp*', type: family}
- !appx: {name: '*GamingApp*', type: family}
- !appx: {name: '*XboxSpeechToTextOverlay*', type: family}
- !appx: {name: '*XboxGamingOverlay*', type: family}
- !appx: {name: '*Wallet*', type: family}
- !appx: {name: '*WebExperienceHost*', type: app}
- !appx: {name: '*XboxGameOverlay*', type: family}
- !appx: {name: '*Windows.DevHome*', type: family}
- !appx: {name: '*WindowsCamera*', type: family}
- !appx: {name: '*windowscommunicationsapps*', type: family}
- !appx: {name: '*WindowsMaps*', type: family}
- !appx: {name: '*WindowsPhone*', type: family}
- !appx: {name: '*WindowsSoundRecorder*', type: family}
- !appx: {name: '*Xbox.TCUI*', type: family}
- !appx: {name: '*XboxApp*', type: family}
- !appx: {name: '*XboxGameCallableUI*', type: family}
- !appx: {name: '*XboxGameOverlay*', type: family}
- !appx: {name: '*XboxGamingOverlay*', type: family}
- !appx: {name: '*XboxIdenitity*', type: family}
- !appx: {name: '*SecHealthUI*', type: family}
- !appx: {name: '*Microsoft.Todos*', type: family}
- !appx: {name: '*PowerAutomate*', type: family}
- !appx: {name: '*MicrosoftEdge*', type: family}
- !appx: {name: '*OneDrive*', type: family}
# - !appx: {name: '*DesktopAppInstaller*', type: family}
- !appx: {name: '*PeopleExperienceHost*', type: family}
- !appx: {name: '*Parental*', type: family}
- !appx: {name: '*CloudExperienceHost*', type: family}
- !appx: {name: '*ContentDeliveryManager*', type: family}
- !appx: {name: '*Client.WebExperience*', type: family}
- !appx: {name: '*Apprep.Chx*', type: family}
- !appx: {name: '*OOBENetwork*', type: family}
- !appx: {name: '*MicrosoftTeams*', type: family}
- !appx: {name: '*Clipchamp*', type: family}
- !appx: {name: '*QuickAssist*', type: family}
- !appx: {name: '*Windows.DevHome*', type: family}
- !appx: {name: '*OutlookForWindows*', type: family}
- !appx: {name: '*CamoStudio*', type: family}
- !appx: {name: '*WindowsBackup*', type: app}
- !appx: {name: '*XboxSpeechToTextOverlay*', type: family}
- !appx: {name: '*YourPhone*', type: family}
- !appx: {name: '*Zune*', type: family}
- !appx: {name: '*Global.IrisService*', type: app}
- !appx: {name: '*Global.Accounts*', type: app}
- !appx: {name: '*Global.ValueBanner*', type: app}
- !appx: {name: '*Global.DesktopSpotlight*', type: app}
- !appx: {name: '*WindowsBackup*', type: app}
- !appx: {name: '*Client.CBS*', operation: clearCache}
- !appx: {name: '*StartMenuExperienceHost*', operation: clearCache}
- !appx: {name: '*Windows.Search*', operation: clearCache}
# - !appx: {name: '*DesktopAppInstaller*', type: family}
# - !appx: {name: '*Paint*', type: family}
# - !appx: {name: '*WindowsCalculator*', type: family}
# - !appx: {name: 'SystemSettingsExtensions.dll', type: Extension *Client.CBS*}
# - !appx: {name: 'SearchUx.InternalWebAPi.dll', type: Extension *Client.CBS*}

src/Configuration/features/base/components.yml → src/Configuration/tasks/components.yml View File

@ -1,5 +1,6 @@
---
title: Components
description: Remove certain windows components
description: Removal of certain Windows components
privilege: TrustedInstaller
actions:
- !taskKill: {name: "explorer"}
@ -15,6 +16,7 @@ actions:
- !taskKill: {name: "SkypeBackgroundHost"}
- !taskKill: {name: "MsMpEng"}
- !taskKill: {name: "msiexec"}
- !file: {path: "%windir%\\System32\\smartscreen.exe"}
- !file: {path: "%windir%\\System32\\smartscreenps.dll"}
- !file: {path: "%windir%\\System32\\SecurityHealthSystray.exe"}
@ -31,8 +33,8 @@ actions:
- !file: {path: "%windir%\\System32\\drivers\\WdNisDrv.sys"}
- !file: {path: "%ProgramW6432%\\Windows Defender Advanced Threat Protection"}
- !file: {path: "%SystemDrive%\\ProgramData\\Microsoft\\Windows Defender Advanced Threat Protection"}
- !file:
path: "%windir%\\System32\\drivers\\cldflt.sys"
- !file: {path: "%windir%\\System32\\drivers\\cldflt.sys"}
- !scheduledTask:
path: "\\Microsoft\\Windows\\Windows Defender\\Windows Defender Cache Maintenance"
operation: delete
@ -130,9 +132,6 @@ actions:
- !registryKey: {path: 'HKCU\SOFTWARE\Microsoft\Active Setup\Installed Components\{9459C573-B17A-45AE-9F64-1857B5D58CEE}'}
- !registryKey: {path: 'HKCU\SOFTWARE\Microsoft\Edge'}
# WebView
- !registryKey: {path: 'HKCU\SOFTWARE\Microsoft\EdgeWebView'}
- !run: {exeDir: true, exe: "EDGE.bat", weight: 20}
- !file:
@ -149,6 +148,7 @@ actions:
- !file: {path: "%ProgramFiles(x86)%\\Microsoft\\EdgeCore", weight: 10}
# WebView
- !registryKey: {path: 'HKCU\SOFTWARE\Microsoft\EdgeWebView'}
- !file: {path: "%ProgramFiles(x86)%\\Microsoft\\EdgeWebView", weight: 10}
# ---------- OneDrive

src/Configuration/features/base/config.yml → src/Configuration/tasks/config.yml View File

@ -1,4 +1,6 @@
---
title: Configuration
description: Main part of amelioration process
privilege: TrustedInstaller
actions:
# Sync time and set to more reliable time servers
@ -26,7 +28,7 @@ actions:
- !run: {exe: "explorer.exe", wait: false, runas: currentUser}
- !writeStatus: {status: 'Configuring permissions', option: "security-enhanced"}
- !writeStatus: {status: 'Configuring security permissions', option: "security-enhanced"}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System', value: 'ConsentPromptBehaviorAdmin', type: REG_DWORD, data: '5', option: "security-enhanced"}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System', value: 'ConsentPromptBehaviorUser', type: REG_DWORD, data: '3', option: "security-enhanced"}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System', value: 'EnableInstallerDetection', type: REG_DWORD, data: '1', option: "security-enhanced"}

src/Configuration/features/base/dotnet.yml → src/Configuration/tasks/dotnet.yml View File

@ -1,14 +1,14 @@
---
title: Dotnet
description: Installs essential prerequsities
privilege: TrustedInstaller
actions:
- !writeStatus: {status: 'Installing Chocolatey'}
# Install Chocolatey
- !powerShell:
command: 'Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''https://community.chocolatey.org/install.ps1''))'
weight: 30
- !writeStatus: {status: 'Installing .NET 3.5'}
# Install .NET Framework 3.5
- !cmd:
command: '"%ProgramData%\chocolatey\bin\choco.exe" install -y --force --allow-empty-checksums dotnet3.5'
weight: 250

src/Configuration/features/base/files.yml → src/Configuration/tasks/files.yml View File

@ -1,5 +1,6 @@
---
title: Files
description: Deletes files
description: Deletes certain Windows files
privilege: TrustedInstaller
actions:
- !writeStatus: {status: 'Removing files'}

src/Configuration/features/base/regedits.yml → src/Configuration/tasks/regedits.yml View File

@ -1,6 +1,6 @@
---
title: Registry Edits
description: Base AME Registry Edits
description: Base AME registry edits
privilege: TrustedInstaller
actions:
- !writeStatus: {status: 'Modifying registry'}

src/Configuration/features/base/services.yml → src/Configuration/tasks/services.yml View File

@ -1,4 +1,6 @@
---
title: Services
description: Modification of Windows services
privilege: TrustedInstaller
actions:
- !writeStatus: {status: 'Configuring services'}

src/Configuration/features/base/software.yml → src/Configuration/tasks/software.yml View File


+ 1
- 1
src/playbook.conf View File

@ -96,7 +96,7 @@
<BottomLine Text="Learn more" Link="https://docs.ameliorated.io/general/browsers.html"/>
</RadioImagePage>
<RadioImagePage DependsOn="software" DefaultOption="media-vlc" Description="Please select a preferred media player. VLC is simpler to use, and mpv offers more options.">
<TopLine Text="Note that mpv has better playback quality"/>
<TopLine Text="Note that mpv has a better playback quality"/>
<Options>
<RadioImageOption None="true"/>
<RadioImageOption>


Loading…
Cancel
Save