Browse Source

Edited SFX config

pull/686/head 7.0.0
Dmitry Nefedov 4 months ago
parent
commit
0b87ee35d8
  1. 2
      .github/workflows/winget.yml
  2. 2
      Scripts/SFX_config.txt
  3. 2
      Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml

2
.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 = @{

2
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

2
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

Loading…
Cancel
Save