Skip to content

Commit

Permalink
fix restic.exe not being available when restic browser starts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmclaren7 committed Feb 26, 2024
1 parent 5f86ee1 commit cbe6db0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions SimpleBackup.au3
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Change2CUI=y
#AutoIt3Wrapper_Res_Description=SimpleBackup
#AutoIt3Wrapper_Res_Fileversion=1.0.0.260
#AutoIt3Wrapper_Res_Fileversion=1.0.0.262
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_ProductVersion=1
#AutoIt3Wrapper_Res_LegalCopyright=SimpleBackup
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Res_requestedExecutionLevel=highestAvailable
#AutoIt3Wrapper_Run_Au3Stripper=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

#NoTrayIcon
#RequireAdmin
;#RequireAdmin

#include <Array.au3>
#include <File.au3>
Expand Down Expand Up @@ -349,6 +350,9 @@ While 1
Exit
Endif

; Run a dummy restic command to unpack the restic executable
_Restic("version")

; Update PATH env so that Restic-browser.exe can start restic.exe
$EnvPath = EnvGet("Path")
If Not StringInStr($EnvPath, $TempDir) Then
Expand Down

0 comments on commit cbe6db0

Please sign in to comment.