Skip to content
This repository has been archived by the owner on Apr 21, 2019. It is now read-only.

Commit

Permalink
updated versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jakolion committed Apr 13, 2019
1 parent b0cf867 commit 7498106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion XboxControllerBatteryWatcher.au3
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=icon.ico
#AutoIt3Wrapper_Res_Description=Xbox Controller Battery Watcher
#AutoIt3Wrapper_Res_Fileversion=1.8.0.0
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_File_Add=iconController\iconControllerFullSmall.jpg, rt_rcdata, iconFull
#AutoIt3Wrapper_Res_File_Add=iconController\iconControllerMediumSmall.jpg, rt_rcdata, iconMedium
#AutoIt3Wrapper_Res_File_Add=iconController\iconControllerLowSmall.jpg, rt_rcdata, iconLow
Expand Down
4 changes: 2 additions & 2 deletions helper.au3
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ endfunc

func GetVersion()
$fullVersion = FileGetVersion( @AutoItExe )
$secondDotPos = StringInStr( $fullVersion, ".", $STR_NOCASESENSEBASIC, 2 )
return StringMid( $fullVersion, 1, $secondDotPos - 1 )
$EndPos = StringInStr( $fullVersion, ".", $STR_NOCASESENSEBASIC, 3 )
return StringMid( $fullVersion, 1, $EndPos - 1 )
endfunc


Expand Down

0 comments on commit 7498106

Please sign in to comment.