Refactor folders architecture

- Change/Move 'images' folder to 'assets'
main
Plínio Larrubia 3 years ago committed by Plínio Larrubia
parent 2aab641832
commit 4e11eff8cd
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -1,6 +1,6 @@
<h1 align="center">
<img width=30px src="./src/lib/images/windows-11-logo.png" style="vertical-align: bottom"> Win10 Smart Debloat
<img width=30px src="./src/lib/images/powershell-icon.png" style="vertical-align: bottom">
<img width=30px src="./src/assets/windows-11-logo.png" style="vertical-align: bottom"> Win10 Smart Debloat
<img width=30px src="./src/assets/powershell-icon.png" style="vertical-align: bottom">
</h1>
<h2 align="center">
@ -16,9 +16,9 @@ but you'll probably want the most recent version anyway.
<div align="center">
| Download | Version Supported | Build | Editions | Powershell version |
| :-----------------------------------------------------------------------------------------------------: | :---------------: | :---: | :------: | :-----------------------------------------------------------------------------------------------: |
| <h3><a href="https://github.com/LeDragoX/Win10SmartDebloat/archive/main.zip">🚀 Download [Zip]</a></h3> | 21H2 or Older | 22000 | Home/Pro | <img width=20px src="./src/lib/images/powershell-icon.png" style="vertical-align: bottom" /> v5.1 |
| Download | Version Supported | Build | Editions | Powershell version |
| :-----------------------------------------------------------------------------------------------------: | :---------------: | :---: | :------: | :-------------------------------------------------------------------------------------------: |
| <h3><a href="https://github.com/LeDragoX/Win10SmartDebloat/archive/main.zip">🚀 Download [Zip]</a></h3> | 21H2 or Older | 22000 | Home/Pro | <img width=20px src="./src/assets/powershell-icon.png" style="vertical-align: bottom" /> v5.1 |
</div>
@ -54,7 +54,7 @@ The `Script-Win10.ps1` do not make everything automatically, follow these steps.
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"Win10ScriptGUI.ps1"
```
![Script GUI](./src/lib/images/script-gui.gif)
![Script GUI](./src/assets/script-gui.gif)
_The `Apply Tweaks` button is the main one for debloating._
@ -219,11 +219,11 @@ i could track the `SystemSettings.exe` by filtering it per Process Name, then `C
(But make sure it is `Capturing the Events (Ctrl + E)`) and finally, applying an option of the Windows Configurations
and searching the Registry Key inside `Procmon(64).exe`.
![Grab the current tweak on registry with Procmon64.exe](./src/lib/images/grab-the-current-tweak-on-registry-with-procmon64.png)
![Grab the current tweak on registry with Procmon64.exe](./src/assets/grab-the-current-tweak-on-registry-with-procmon64.png)
After finding the right register Key, you just need to Right-Click and select `Jump To... (Ctrl + J)` to get on its directory.
![Showing on regedit](./src/lib/images/showing-on-regedit.png)
![Showing on regedit](./src/assets/showing-on-regedit.png)
</details>

@ -71,7 +71,7 @@ function PrepareGUI() {
$Form.TopMost = $false
# Icon: https://stackoverflow.com/a/53377253
$IconBase64 = [Convert]::ToBase64String((Get-Content ".\src\lib\images\windows-11-logo.png" -Encoding Byte))
$IconBase64 = [Convert]::ToBase64String((Get-Content ".\src\assets\windows-11-logo.png" -Encoding Byte))
$IconBytes = [Convert]::FromBase64String($IconBase64)
$Stream = New-Object IO.MemoryStream($IconBytes, 0, $IconBytes.Length)
$Stream.Write($IconBytes, 0, $IconBytes.Length);
@ -944,7 +944,7 @@ function PrepareGUI() {
$PictureBox1.Width = 150
$PictureBox1.Height = 150
$PictureBox1.Location = New-Object System.Drawing.Point((($PWidth * 0.72) - $PictureBox1.Width), (($PHeight * 0.90) - $PictureBox1.Height))
$PictureBox1.imageLocation = "$PSScriptRoot\src\lib\images\script-logo.png"
$PictureBox1.imageLocation = "$PSScriptRoot\src\assets\script-logo.png"
$PictureBox1.SizeMode = [System.Windows.Forms.PictureBoxSizeMode]::Zoom
# Add all Panels to the Form (Screen)
@ -993,7 +993,7 @@ function PrepareGUI() {
}
Pop-Location
$PictureBox1.imageLocation = "$PSScriptRoot\src\lib\images\script-logo2.png"
$PictureBox1.imageLocation = "$PSScriptRoot\src\assets\script-logo2.png"
$PictureBox1.SizeMode = [System.Windows.Forms.PictureBoxSizeMode]::StretchImage
$Form.Update()

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 320 KiB

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Loading…
Cancel
Save