Skip to content

Commit

Permalink
Prepare variable path.
Browse files Browse the repository at this point in the history
  • Loading branch information
maubertin authored Jun 19, 2017
1 parent f64a3a1 commit d54ef10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dependances/Apps/www.eyesofnetwork.fr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ Foreach($svc in $Services) {
$BorneSuperieure += $svc[2]
}

# Variabilise the excution path.
$ScriptPath = split-path -parent $MyInvocation.MyCommand.Definition
cd $ScriptPath\..

# --- Chargement de l'application
Function LoadApp($Chrono)
{
Expand Down Expand Up @@ -98,4 +102,4 @@ Function LoadApp($Chrono)
# Renvoi le tableau de chronos
return $Chrono

}
}

0 comments on commit d54ef10

Please sign in to comment.