Skip to content

Commit 2b3c5ec

Browse files
committed
Forgot script path
1 parent e4dc87b commit 2b3c5ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: prepare.ps1

+4-1
Original file line numberDiff line numberDiff line change
@@ -1215,23 +1215,26 @@ function Setup-DesktopShortcuts {
12151215

12161216
switch ($args[0]) {
12171217
"-installDependencies" {
1218+
Get-ScriptPath -ScriptPath $MyInvocation.MyCommand.Path
12181219
Install-Chocolatey
12191220
InstallScoop
12201221
ConfigureScoop
12211222
Install-AdditionalSoftware
12221223
}
12231224
"-acquireFiles" {
1225+
Get-ScriptPath -ScriptPath $MyInvocation.MyCommand.Path
12241226
AcquireFiles
12251227
}
12261228
"-setupRoms" {
1229+
Get-ScriptPath -ScriptPath $MyInvocation.MyCommand.Path
12271230
Setup-Roms
12281231
Setup-EmulationStationConfig
12291232
Setup-DolphinConfig
12301233
Setup-Scraper
12311234
Setup-DesktopShortcuts
12321235
}
12331236
default {
1234-
# If no parameter is provided, execute all functions
1237+
Get-ScriptPath -ScriptPath $MyInvocation.MyCommand.Path
12351238
Install-Chocolatey
12361239
InstallScoop
12371240
ConfigureScoop

0 commit comments

Comments
 (0)