From 0b87ee35d86e034d586904a616639b0e758bd188 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sat, 6 Dec 2025 12:33:00 +0300 Subject: [PATCH] Edited SFX config --- .github/workflows/winget.yml | 2 ++ Scripts/SFX_config.txt | 2 +- Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml index 5463b73b..d4be9f5d 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -58,6 +58,8 @@ jobs: - name: Publish to WinGet run: | + # %LOCALAPPDATA%\Microsoft\WinGet\Packages + # Get the latest wingetcreate # https://github.com/microsoft/winget-create $Parameters = @{ diff --git a/Scripts/SFX_config.txt b/Scripts/SFX_config.txt index 6e84fce8..9cf54a8f 100644 --- a/Scripts/SFX_config.txt +++ b/Scripts/SFX_config.txt @@ -3,6 +3,6 @@ ; Expand SFX archive Path=%TEMP%\Sophia_Script_for_Windows_11_vSophiaScriptVersion ; Copy folder recursively to user's Desktop folder -Setup=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -Command & {Copy-Item -Path "$env:TEMP\Sophia_Script_for_Windows_11_vSophiaScriptVersion" -Destination (Join-Path -Path "$(Get-ItemPropertyValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' -Name Desktop)" -ChildPath "Sophia_Script_for_Windows_11_vSophiaScriptVersion") -Recurse -Force} +Setup=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -Command & {Copy-Item -Path "$env:TEMP\Sophia_Script_for_Windows_11_vSophiaScriptVersion" -Destination (Join-Path -Path "$(Get-ItemPropertyValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' -Name '{374DE290-123F-4565-9164-39C4925E467B}')" -ChildPath "Sophia_Script_for_Windows_11_vSophiaScriptVersion") -Recurse -Force} ; No GUI while expaning SFX archive Silent=1 diff --git a/Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml b/Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml index d4d8058d..5d2212f9 100644 --- a/Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml +++ b/Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml @@ -5,6 +5,8 @@ PackageIdentifier: TeamSophia.SophiaScript PackageVersion: SophiaScriptVersion ReleaseDate: SophiaScriptDate InstallerType: portable +Commands: +- sophiascript Installers: - Architecture: x64 InstallerUrl: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/SophiaScriptVersion/SophiaScriptWinGet_SophiaScriptVersion.exe