Compare commits

...

5 Commits

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
2 changed files with 8 additions and 3 deletions

View File

@@ -2,8 +2,14 @@ name: Main
on:
push:
branches: [ "main" ]
tags:
- "v*.*"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
@@ -19,7 +25,6 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./release/*

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 () {