Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
turtleship69 authored Aug 21, 2021
1 parent 3f3d6ce commit 038c568
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function global:UpdateCheck()
$releaseResponse = Invoke-RestMethod -Uri $releasesUrl
$releaseResponsejson = $releaseResponse | ConvertTo-Json
$releaseResponsejson.tag_name
if ($releaseResponse.tag_name -gt [version]'1.0.0')
if ($releaseResponse.tag_name -gt [version]'1.0.1')
{
$PlayniteApi.Dialogs.ShowMessage("New version " + $releaseResponse.tag_name + " available!")
start "https://github.com/turtleship69/DS4WindowsWrapper/releases"
Expand Down
4 changes: 2 additions & 2 deletions DS4Windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function global:GetMainMenuItems()
$menuItem10.MenuSection = "DS4Windows|Query"

$menuItem11 = New-Object Playnite.SDK.Plugins.ScriptMainMenuItem
$menuItem11.Description = "Open DS4Windows' main app"
$menuItem11.Description = "Open DS4Window's main app"
$menuItem11.FunctionName = "bootUp"
$menuItem11.MenuSection = "DS4Windows"

Expand All @@ -72,7 +72,7 @@ function global:GetMainMenuItems()
$menuItem13.MenuSection = "DS4Windows"

$menuItem14 = New-Object Playnite.SDK.Plugins.ScriptMainMenuItem
$menuItem14.Description = "Close DS4Windows' main app"
$menuItem14.Description = "Close DS4Window's main app"
$menuItem14.FunctionName = "shutdownDS4"
$menuItem14.MenuSection = "DS4Windows"

Expand Down
6 changes: 3 additions & 3 deletions Query.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function global:Invoke-ExecuteQuery()

$config = Get-Content "$CurrentExtensionDataPath\config.json"| ConvertFrom-Json
$DS4CMDExecutablePath = ($config.DS4CMDLocation -split '=')[-1]
$responce = & "C:\Users\tamkh\Documents\general apps\DS4Windows\DS4WindowsCmd.exe" -command Query.1.$query
$responce = & $DS4CMDExecutablePath -command Query.1.$query
$PlayniteApi.Dialogs.ShowMessage($message + $responce)
}

Expand All @@ -19,12 +19,12 @@ function global:QueryProfileName()

function global:QueryOutContType()
{
Invoke-ExecuteQuery "OutContType" "Your current emulated controller name is: "
Invoke-ExecuteQuery "OutContType" "Your current emulated controller type is: "
}

function global:QueryDisplayName()
{
Invoke-ExecuteQuery "DisplayName" "Your current controllers' name is is: "
Invoke-ExecuteQuery "DisplayName" "Your current controllers' name is: "
}

function global:QueryConnType()
Expand Down
2 changes: 1 addition & 1 deletion extension.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Id: DS4Windowswrapper
Name: DS4Windows
Author: turtleship69
Version: 1.0.0
Version: 1.0.1
Module: DS4Windows.ps1
Type: Script
Icon: icon.png
Expand Down

0 comments on commit 038c568

Please sign in to comment.