Merge pull request #9 from anejolov/v2.3.4

V2.3.4
This commit is contained in:
anejolov
2025-03-18 16:52:43 +02:00
committed by GitHub
197 changed files with 1939 additions and 2019 deletions
-65
View File
@@ -1,65 +0,0 @@
name: Upload EXE to Existing Release
on:
release:
types: [published] # Срабатывает при создании релиза через GitHub интерфейс или API
jobs:
upload:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install WinRAR
run: |
choco install winrar -y
shell: powershell
- name: Get Release Version
run: echo "RELEASE_VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
shell: bash
- name: Create SFX archive
run: |
$SFXConfig = @"
Path=%TEMP%\Windeckhelper
Silent=1
Overwrite=1
Setup=PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& .\Windeckhelper.ps1"
TempMode=1
Title=WindeckHelper Installer
Icon=Windeckicon.ico
"@
Set-Content -Path "sfx_config.txt" -Value $SFXConfig
$exeName = "WindeckHelper_${{ github.event.release.tag_name }}.exe"
$exePath = "C:\path\to\your\directory\$exeName" # Полный путь к .exe файлу
Write-Host "Creating EXE at $exePath" # Логирование пути
& "C:\Program Files\WinRAR\WinRAR.exe" a -r -sfx -z"sfx_config.txt" $exePath *
echo "EXE_NAME=$exePath" >> $GITHUB_ENV
Write-Host "EXE file created at $exePath"
shell: powershell
- name: Verify EXE exists
run: |
Write-Host "EXE file path to check: ${{ env.EXE_NAME }}" # Логирование пути перед проверкой
if (Test-Path "${{ env.EXE_NAME }}") {
Write-Host "EXE file found: ${{ env.EXE_NAME }}"
} else {
Write-Host "EXE file not found!"
exit 1
}
shell: powershell
- name: Upload EXE to Release Assets
uses: softprops/action-gh-release@v2
with:
files: ${{ env.EXE_NAME }}
tag_name: ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+16 -13
View File
@@ -1,9 +1,11 @@
Add-Type -AssemblyName PresentationFramework
# Hide Console Window
$dllvar = '[DllImport("user32.dll")] public static extern bool ShowWindow(int handle, int state);'
add-type -name win -member $dllvar -namespace native
[native.win]::ShowWindow(([System.Diagnostics.Process]::GetCurrentProcess() | Get-Process).MainWindowHandle, 0)
## Hide Console Window
#$dllvar = '[DllImport("user32.dll")] public static extern bool ShowWindow(int handle, int state);'
#add-type -name win -member $dllvar -namespace native
#[native.win]::ShowWindow(([System.Diagnostics.Process]::GetCurrentProcess() | Get-Process).MainWindowHandle, 0)
if ((Get-WinSystemLocale).Name -eq 'ru-RU')
{
@@ -14,6 +16,7 @@ else
$global:Lang = 'ENG'
}
while ($true)
{
Get-BitsTransfer | Remove-BitsTransfer
@@ -417,7 +420,7 @@ public static extern bool SystemParametersInfo(
{
if ($sync.version -eq "LCD")
{
Download-File -Name $sync.VideoDriverString -Url "https://steamdeck-packages.steamos.cloud/misc/windows/drivers/Aerith%20Windows%20Driver_2302270303.zip" -Output "APU_Drivers.zip"
Download-File -Name $sync.VideoDriverString -Url "https://steamdeck-packages.steamos.cloud/misc/windows/drivers/Aerith_Sephiroth_Windows_Driver_2309131113.zip" -Output "APU_Drivers.zip"
}
else
{
@@ -482,7 +485,7 @@ public static extern bool SystemParametersInfo(
{
if ($sync.version -eq "LCD")
{
Download-File -Name $sync.AdrenalinString -Url "https://dl.dropboxusercontent.com/s/kex95hyhnkjdqsp/ccc2_install.exe?dl=0" -Output "ccc2_install.exe"
Download-File -Name $sync.AdrenalinString -Url "https://dl.dropboxusercontent.com/scl/fi/4hfdwxe7zza7trj5ulc2b/Adrenalin_23_10_20.exe?rlkey=bb30bc59ea8mpwet5pbdzmfd8&st=f74rb7rq&dl=0" -Output "ccc2_install.exe"
}
else
@@ -563,7 +566,7 @@ public static extern bool SystemParametersInfo(
Expand-Archive "$DownloadPath\APU_Drivers.zip" -DestinationPath "$DownloadPath\APU_Drivers" -Force
if ($sync.version -eq "LCD")
{
Start-Process-With-Timeout -FilePath "$DownloadPath\APU_Drivers\GFX Driver_41.1.1.30310_230227a-388790E-2302270303\Setup.exe" -Arguments "-install"
Start-Process-With-Timeout -FilePath "$DownloadPath\APU_Drivers\GFX Driver_48.0.8.30928_230906a1-394729E- 2309131113\Setup.exe" -Arguments "-install"
}
else
{
@@ -1642,9 +1645,9 @@ public static extern bool SystemParametersInfo(
$TweaksTree_Node_ShowKeyboard = New-Object 'System.Windows.Forms.TreeNode' ($sync.ShowKeyboardString)
$sync.TweaksTree_Node_ShowKeyboard = $TweaksTree_Node_ShowKeyboard
[void]$TweaksTree.Nodes.Add($sync.TweaksTree_Node_ShowKeyboard)
$TweaksTree_Node_Equalizer = New-Object 'System.Windows.Forms.TreeNode' ($sync.EqualizerString)
$sync.TweaksTree_Node_Equalizer = $TweaksTree_Node_Equalizer
[void]$TweaksTree.Nodes.Add($sync.TweaksTree_Node_Equalizer)
# $TweaksTree_Node_Equalizer = New-Object 'System.Windows.Forms.TreeNode' ($sync.EqualizerString)
# $sync.TweaksTree_Node_Equalizer = $TweaksTree_Node_Equalizer
# [void]$TweaksTree.Nodes.Add($sync.TweaksTree_Node_Equalizer)
$TweaksTree_Node_LoginSleep = New-Object 'System.Windows.Forms.TreeNode' ($sync.LoginSleepString)
$sync.TweaksTree_Node_LoginSleep = $TweaksTree_Node_LoginSleep
[void]$TweaksTree.Nodes.Add($sync.TweaksTree_Node_LoginSleep)
@@ -1693,9 +1696,9 @@ public static extern bool SystemParametersInfo(
$SoftTree_Node_7zip = New-Object 'System.Windows.Forms.TreeNode' ($sync.SevenZipString)
$sync.SoftTree_Node_7zip = $SoftTree_Node_7zip
[void]$SoftTree.Nodes.Add($sync.SoftTree_Node_7zip)
$SoftTree_Node_ShareX = New-Object 'System.Windows.Forms.TreeNode' ($sync.ShareXString)
$sync.SoftTree_Node_ShareX = $SoftTree_Node_ShareX
[void]$SoftTree.Nodes.Add($sync.SoftTree_Node_ShareX)
# $SoftTree_Node_ShareX = New-Object 'System.Windows.Forms.TreeNode' ($sync.ShareXString)
# $sync.SoftTree_Node_ShareX = $SoftTree_Node_ShareX
# [void]$SoftTree.Nodes.Add($sync.SoftTree_Node_ShareX)
$SoftTree.Size = New-Object System.Drawing.Size(287, 421)
$SoftTree.TabIndex = 43

Before

Width:  |  Height:  |  Size: 436 KiB

After

Width:  |  Height:  |  Size: 436 KiB

View File
View File
View File
@@ -9,6 +9,3 @@ Software you may need for Windows Steam Deck.
[ 7-zip archiver ]
- File archiver.
[ ShareX screenshot tool ]
- Powerful screenshot tool. It can capture or record your screen and upload them to over 80 destinations.
+11
View File
@@ -0,0 +1,11 @@
Софт, который может пригодиться для вашего Windows Steam Deck.
[ Steam клиент ]
- Клиент Steam от Valve.
[ Chrome браузер ]
- Веб-браузер от Google.
[ 7-zip архиватор ]
- Архиватор файлов.
@@ -8,10 +8,6 @@ Some tweaks for you Windows Steam Deck.
[ Show Touch keyboard ]
- Enable automatic Pop-Up of touch keyboard.
[ Equalizer APO ]
- Custom audio equalizer to improve sound quality.
- Version: 1.3
[ Disable login after sleep ]
- Disable login screen after waking up from sleep.
@@ -8,10 +8,6 @@
[ Показ. тач клавиатуру ]
- Автоматически вызывать тач клавиатуру при вводе текста.
[ Equalizer APO (Эквалайзер) ]
- Эквалайзер для улучшения звука.
- Версия: 1.3
[ Выкл. логин после сна ]
- Выключение окна логина после сна.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Some files were not shown because too many files have changed in this diff Show More