File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 23
23
#>
24
24
25
25
# ######################################################################################################
26
- # ## PREREQUESITES ###
26
+ # ## PREREQUISITES ###
27
27
# ######################################################################################################
28
+ # set current working directory location
29
+ Set-Location $PSScriptRoot
30
+ [System.Environment ]::CurrentDirectory = $PSScriptRoot
31
+
32
+ # Helpers functions
33
+ . " $PSScriptRoot \Functions.ps1"
34
+
28
35
if ((Test-Connection - ComputerName www.google.com - Count 1 - Quiet - ErrorAction Stop) -eq $False ) {
29
36
Write-Warning " NO INTERNET CONNECTION AVAILABLE!"
30
37
Write-Host " Please re-check your internet connection and re-run this script." - ForegroundColor " Red"
@@ -67,10 +74,6 @@ if (-not (Get-Command gum -ErrorAction SilentlyContinue)) {
67
74
# ######################################################################################################
68
75
# ## HELPER VARIABLES ###
69
76
# ######################################################################################################
70
- # set current working directory location
71
- Set-Location $PSScriptRoot
72
- [System.Environment ]::CurrentDirectory = $PSScriptRoot
73
-
74
77
# symlinks
75
78
$symbolicLinks = @ {
76
79
$PROFILE.CurrentUserAllHosts = " .\Profile.ps1"
@@ -128,9 +131,6 @@ $nerdFonts = $appList.nerdfont
128
131
# ######################################################################################################
129
132
# ## MAIN SCRIPT ###
130
133
# ######################################################################################################
131
- # Helpers functions
132
- . " $PSScriptRoot \Functions.ps1"
133
-
134
134
# Install all function
135
135
function Install {
136
136
# Winget Packages
You can’t perform that action at this time.
0 commit comments