Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,24 @@ jobs:
env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}

# Need to EV sign and replace existing signatures
# java -jar ~/Downloads/jsign-7.1.jar --replace --storetype PIV --storepass ****** --tsaurl http://ts.ssl.com --tsmode RFC3161 \
# FrameworkArgb.dll
# java -jar ~/Downloads/jsign-7.1.jar --replace --storetype PIV --storepass ****** --tsaurl http://ts.ssl.com --tsmode RFC3161 \
# frameworkargb.cat
- name: Create bundle
run: |
mkdir bundle
cp FrameworkArgb\install\devcon.exe bundle\
cp FrameworkArgb\install\install_argb_driver.bat bundle\
cp FrameworkArgb\x64\${{ matrix.configuration }}\FrameworkArgb\frameworkargb.cat bundle\
cp FrameworkArgb\x64\${{ matrix.configuration }}\FrameworkArgb\FrameworkArgb.dll bundle\
cp FrameworkArgb\x64\${{ matrix.configuration }}\FrameworkArgb\FrameworkArgb.inf bundle\
cp FrameworkArgb\x64\${{ matrix.configuration }}\FrameworkArgb.pdb bundle\

- name: Upload bundle
uses: actions/upload-artifact@v4
with:
name: framework_win_argb_${{ matrix.configuration }}
path: bundle
Binary file added FrameworkArgb/install/devcon.exe
Binary file not shown.
30 changes: 30 additions & 0 deletions FrameworkArgb/install/install_argb_driver.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@echo off
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"

REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"

"%temp%\getadmin.vbs"
exit /B

:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------

echo **Installing Framework ARGB driver...
sudo "%~dp0\devcon" install "%~dp0\FrameworkArgb.inf" root\FrameworkArgb

echo Done
if not defined install_all cmd /k