Compare commits

...

8 Commits
0.4 ... v0.4.4

Author SHA1 Message Date
seerge
e060feaf09 Workflow adjustments 2023-02-13 19:19:45 +01:00
seerge
178f61a98d Workflow adjustments 2023-02-13 19:16:20 +01:00
seerge
79b8d6fa14 - 2023-02-13 19:11:49 +01:00
seerge
007f6ef1a3 Minor fixes 2023-02-13 19:07:07 +01:00
seerge
1637f36d1d Minor fixes 2023-02-13 19:05:48 +01:00
seerge
0f3f54c50a Merge branch 'main' of https://github.com/seerge/g14-helper 2023-02-13 19:02:17 +01:00
seerge
aff667345d Minor fixes 2023-02-13 19:02:10 +01:00
seerge
b14ee181f9 Create main.yml 2023-02-13 19:01:31 +01:00
4 changed files with 35 additions and 4 deletions

31
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Main
on:
push:
branches: [ "main" ]
tags:
- "v*.*"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
mkdir release
cp *.exe ./release
echo ${{ github.sha }} > ./release/Release.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./release/*

View File

@@ -10,7 +10,7 @@ A small windows system tray utility that allows you to switch between 3 main GPU
2. Standard mode (Windows Hybrid) : iGPU and dGPU (Radeon 6700s/6800s) enabled, iGPU drives built in display
3. Ultimate mode: iGPU and dGPU enabled, but dGPU drives built in display
##UPDATE: February 12, 2023
## UPDATE: February 12, 2023
1. Added switching of **Performance profiles (including default fan curves)** is also available! switching happens via same ASUS WMI low level commands. Profiles are same as in Armory Crate - Silent, Balanced and Turbo.

View File

@@ -1,6 +1,6 @@
$taskName = "G14Helper"
$task = Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue
if ($task -ne $null)
if ($null -ne $task)
{
Unregister-ScheduledTask -TaskName $taskName -Confirm:$false
}

View File

@@ -17,7 +17,7 @@ Function Get-PSScriptPath {
function SetAutostart () {
$taskName = "G14Helper"
$task = Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue
if ($task -ne $null) {return }
if ($null -ne $task) {return }
$scriptDir = Get-PSScriptPath
@@ -34,7 +34,7 @@ function SetAutostart () {
function CheckAutostart () {
$task = Get-ScheduledTask -TaskName "G14Helper" -ErrorAction SilentlyContinue
$Menu_Autostart.Checked = ($task -ne $null)
$Menu_Autostart.Checked = ($null -ne $task)
}
function DisableAutostart () {