Skip to content

Commit 0b87ee3

Browse files
committed
Edited SFX config
1 parent ec8eddd commit 0b87ee3

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/winget.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
5959
- name: Publish to WinGet
6060
run: |
61+
# %LOCALAPPDATA%\Microsoft\WinGet\Packages
62+
6163
# Get the latest wingetcreate
6264
# https://github.com/microsoft/winget-create
6365
$Parameters = @{

Scripts/SFX_config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
; Expand SFX archive
44
Path=%TEMP%\Sophia_Script_for_Windows_11_vSophiaScriptVersion
55
; Copy folder recursively to user's Desktop folder
6-
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}
6+
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}
77
; No GUI while expaning SFX archive
88
Silent=1

Scripts/WinGet_Manifests/TeamSophia.SophiaScript.installer.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ PackageIdentifier: TeamSophia.SophiaScript
55
PackageVersion: SophiaScriptVersion
66
ReleaseDate: SophiaScriptDate
77
InstallerType: portable
8+
Commands:
9+
- sophiascript
810
Installers:
911
- Architecture: x64
1012
InstallerUrl: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/SophiaScriptVersion/SophiaScriptWinGet_SophiaScriptVersion.exe

0 commit comments

Comments
 (0)