Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Mar 3, 2024
1 parent 659074d commit ba0e865
Show file tree
Hide file tree
Showing 98 changed files with 1,401 additions and 1,212 deletions.
Binary file modified Wrapper/SophiaScriptWrapper.exe
Binary file not shown.
14 changes: 7 additions & 7 deletions sophia_script_versions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"Sophia_Script_Windows_10_PowerShell_5_1": "5.18.0",
"Sophia_Script_Windows_10_PowerShell_7": "5.18.0",
"Sophia_Script_Windows_10_LTSC2019": "5.8.0",
"Sophia_Script_Windows_10_LTSC2021": "5.18.0",
"Sophia_Script_Windows_11_PowerShell_5_1": "6.6.0",
"Sophia_Script_Windows_11_PowerShell_7": "6.6.0",
"Sophia_Script_Wrapper": "2.6.15"
"Sophia_Script_Windows_10_PowerShell_5_1": "5.18.1",
"Sophia_Script_Windows_10_PowerShell_7": "5.18.1",
"Sophia_Script_Windows_10_LTSC2019": "5.8.1",
"Sophia_Script_Windows_10_LTSC2021": "5.18.1",
"Sophia_Script_Windows_11_PowerShell_5_1": "6.6.1",
"Sophia_Script_Windows_11_PowerShell_7": "6.6.1",
"Sophia_Script_Wrapper": "2.6.17"
}
6 changes: 3 additions & 3 deletions src/Sophia_Script_for_Windows_10/Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.18.0
Date: 02.02.2024
Version: v5.18.1
Date: 03.03.2024
Copyright (c) 2014—2024 farag
Copyright (c) 2019—2024 farag & Inestic
Expand Down Expand Up @@ -50,7 +50,7 @@ function Sophia

Clear-Host

$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.18.0 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.18.1 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2024"

Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Windows-Features
OptionalFeaturesTitle = Optionale Features
EnableHardwareVT = Virtualisierung in UEFI aktivieren.
UserShellFolderNotEmpty = Im Ordner "{0}" befinden sich noch Dateien \nVerschieben Sie sie manuell an einen neuen Ort.
UserFolderLocationMove = Sie sollten den Speicherort des Benutzerordners nicht in das Stammverzeichnis des Laufwerks C ändern.
RetrievingDrivesList = Laufwerksliste abrufen...
DriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner "{0}" erstellt werden soll.
CurrentUserFolderLocation = Der aktuelle Speicherort des Ordners "{0}" lautet: "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Windows features
OptionalFeaturesTitle = Optional features
EnableHardwareVT = Enable Virtualization in UEFI.
UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location.
UserFolderLocationMove = You shouldn't change user folder location to C drive root.
RetrievingDrivesList = Retrieving drives list...
DriveSelect = Select the drive within the root of which the "{0}" folder will be created.
CurrentUserFolderLocation = The current "{0}" folder location: "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Características de Windows
OptionalFeaturesTitle = Características opcionales
EnableHardwareVT = Habilitar la virtualización en UEFI.
UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación.
UserFolderLocationMove = No deberías cambiar la ubicación de la carpeta de usuario a la raíz de la unidad C.
RetrievingDrivesList = Recuperando lista de unidades...
DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creó la carpeta "{0}".
CurrentUserFolderLocation = La ubicación actual de la carpeta "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Fonctionnalités
OptionalFeaturesTitle = Fonctionnalités optionnelles
EnableHardwareVT = Activer la virtualisation dans UEFI.
UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}". Déplacer les manuellement vers un nouvel emplacement.
UserFolderLocationMove = Vous ne devez pas changer l'emplacement du dossier de l'utilisateur pour la racine du lecteur C.
RetrievingDrivesList = Récupération de la liste des lecteurs...
DriveSelect = Sélectionnez le disque à la racine dans lequel le dossier "{0}" sera créé.
CurrentUserFolderLocation = L'emplacement actuel du dossier "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Windows szolgáltatások
OptionalFeaturesTitle = Opcionális szolgáltatások
EnableHardwareVT = Virtualizáció engedélyezése UEFI-ben.
UserShellFolderNotEmpty = Néhány fájl maradt a "{0}" könyvtárban. Kérem helyezze át ezeket egy új helyre.
UserFolderLocationMove = Nem szabad megváltoztatni a felhasználói mappa helyét a C meghajtó gyökerére.
RetrievingDrivesList = A meghajtók listájának lekérése...
DriveSelect = Válassza ki a meghajtó jelét a gyökérkönyvtárban ahol a "{0}" könyvtár létre lesz hozva.
CurrentUserFolderLocation = Az aktuális "{0}" mappa helye: "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Funzionalità di Windows
OptionalFeaturesTitle = Caratteristiche opzionali
EnableHardwareVT = Abilita virtualizzazione in UEFI.
UserShellFolderNotEmpty = Alcuni file rimasti nella cartella "{0}". Spostali manualmente in una nuova posizione.
UserFolderLocationMove = Non si dovrebbe modificare la posizione della cartella utente nella radice dell'unità C.
RetrievingDrivesList = Recupero lista unità...
DriveSelect = Selezionare l'unità all'interno della radice del quale verrà creato la cartella "{0}" .
CurrentUserFolderLocation = La posizione attuale della cartella "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Funkcje Windows
OptionalFeaturesTitle = Funkcje opcjonalne
EnableHardwareVT = Włącz wirtualizację w UEFI.
UserShellFolderNotEmpty = Niektóre pliki pozostały w folderze "{0}". Przenieś je ręcznie w nowe miejsce.
UserFolderLocationMove = Nie należy zmieniać lokalizacji folderu użytkownika na katalog główny dysku C.
RetrievingDrivesList = Pobieranie listy dysków...
DriveSelect = Wybierz dysk w katalogu głównym, w którym zostanie utworzony folder "{0}".
CurrentUserFolderLocation = Lokalizacja folderu "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Recursos do Windows
OptionalFeaturesTitle = Recursos opcionais
EnableHardwareVT = Habilitar virtualização em UEFI.
UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local.
UserFolderLocationMove = Você não deve alterar o local da pasta do usuário para a raiz da unidade C.
RetrievingDrivesList = Recuperando lista de unidades...
DriveSelect = Selecione a unidade dentro da raiz da qual a pasta "{0}" será criada.
CurrentUserFolderLocation = A localização actual da pasta "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Компоненты Windows
OptionalFeaturesTitle = Дополнительные компоненты
EnableHardwareVT = Включите виртуализацию в UEFI.
UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение.
UserFolderLocationMove = Не следует перемещать пользовательские папки в корень диска C.
RetrievingDrivesList = Получение списка дисков...
DriveSelect = Выберите диск, в корне которого будет создана папка "{0}".
CurrentUserFolderLocation = Текущее расположение папки "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Características do Windows
OptionalFeaturesTitle = Opsiyonel özellikler
EnableHardwareVT = UEFI'dan sanallaştırmayı aktifleştirin.
UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın.
UserFolderLocationMove = Kullanıcı klasörü konumunu C sürücüsü kökü olarak değiştirmemelisiniz.
RetrievingDrivesList = Sürücü listesi alınıyor...
DriveSelect = "{0}" klasörünün oluşturulacağı kök içindeki sürücüyü seçin.
CurrentUserFolderLocation = Geçerli "{0}" klasör konumu: "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Компоненти Windows
OptionalFeaturesTitle = Додаткові компоненти
EnableHardwareVT = Увімкніть віртуалізацію в UEFI.
UserShellFolderNotEmpty = У папці "{0}" залишилися файли. Перемістіть їх вручну в нове розташування.
UserFolderLocationMove = Не слід переміщати користувацькі папки в корінь диска C.
RetrievingDrivesList = Отримання списку дисків...
DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}".
CurrentUserFolderLocation = Поточне розташування папки "{0}": "{1}".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WindowsFeaturesTitle = Windows功能
OptionalFeaturesTitle = 可选功能
EnableHardwareVT = UEFI中开启虚拟化。
UserShellFolderNotEmpty = 一些文件留在了"{0}"文件夹。请手动将它们移到一个新位置。
UserFolderLocationMove = 不应将用户文件夹位置更改为 C 盘根目录。
RetrievingDrivesList = 取得驱动器列表.....
DriveSelect = 选择将在其根目录中创建"{0}"文件夹的驱动器。
CurrentUserFolderLocation = 当前"{0}"文件夹的位置:"{1}"。
Expand Down
2 changes: 1 addition & 1 deletion src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.18.0'
ModuleVersion = '5.18.1'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2024 farag & Inestic. All rights reserved'
Expand Down
Loading

0 comments on commit ba0e865

Please sign in to comment.