Skip to content

Commit

Permalink
Fix WIndows LOVE
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanbanpar committed Aug 4, 2024
1 parent cd7c70f commit 392b226
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions amor.ps1
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# USAGE:
# Win + R:
# powershell -w h -c ". ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/GRADLOVE/amor.ps1").Content))))"
# powershell -w h -c ". ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/gradlove/amor.ps1").Content))))"
# Powershell:
# . ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/GRADLOVE/amor.ps1").Content))))
# . ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/gradlove/amor.ps1").Content))))

$Data = @{
WallpaperURL = "https://juanbanpar.github.io/GRADLOVE/files/wall.jpg"
GifURL = "https://juanbanpar.github.io/GRADLOVE/files/heart-locket.gif"
MusicURL = "https://juanbanpar.github.io/GRADLOVE/files/music.wav"
PersistentURL = "https://juanbanpar.github.io/GRADLOVE/files/persistent.ps1"
ReadmeURL = "https://juanbanpar.github.io/GRADLOVE/README_WINDOWS.txt"
DownloadDirectory = "%USERPROFILE%\amor"
ReadmeDirectory = "%USERPROFILE%\Desktop"
WallpaperURL = "https://juanbanpar.github.io/gradlove/files/wall.jpg"
GifURL = "https://juanbanpar.github.io/gradlove/files/heart-locket.gif"
MusicURL = "https://juanbanpar.github.io/gradlove/files/music.wav"
PersistentURL = "https://juanbanpar.github.io/gradlove/persistent.ps1"
ReadmeURL = "https://juanbanpar.github.io/gradlove/README_WINDOWS.txt"
DownloadDirectory = "$env:USERPROFILE\amor"
ReadmeDirectory = "$env:USERPROFILE\Desktop"
}

$WallpaperDest = $($Data.DownloadDirectory + "\Wallpaper." + ($Data.WallpaperURL -replace ".*\."))
Expand Down
18 changes: 9 additions & 9 deletions real-amor.ps1
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# USAGE:
# Win + R:
# powershell -w h -c ". ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/GRADLOVE/real-amor.ps1").Content))))"
# powershell -w h -c ". ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/gradlove/real-amor.ps1").Content))))"
# Powershell:
# . ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/GRADLOVE/real-amor.ps1").Content))))
# . ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/gradlove/real-amor.ps1").Content))))

$Data = @{
WallpaperURL = "https://juanbanpar.github.io/GRADLOVE/files/wall.jpg"
GifURL = "https://juanbanpar.github.io/GRADLOVE/files/heart-locket.gif"
MusicURL = "https://juanbanpar.github.io/GRADLOVE/files/music.wav"
PersistentURL = "https://juanbanpar.github.io/GRADLOVE/files/persistent.ps1"
ReadmeURL = "https://juanbanpar.github.io/GRADLOVE/README_WINDOWS.txt"
DownloadDirectory = "%USERPROFILE%\amor"
ReadmeDirectory = "%USERPROFILE%\Desktop"
WallpaperURL = "https://juanbanpar.github.io/gradlove/files/wall.jpg"
GifURL = "https://juanbanpar.github.io/gradlove/files/heart-locket.gif"
MusicURL = "https://juanbanpar.github.io/gradlove/files/music.wav"
PersistentURL = "https://juanbanpar.github.io/gradlove/persistent.ps1"
ReadmeURL = "https://juanbanpar.github.io/gradlove/README_WINDOWS.txt"
DownloadDirectory = "$env:USERPROFILE\amor"
ReadmeDirectory = "$env:USERPROFILE\Desktop"
}

$WallpaperDest = $($Data.DownloadDirectory + "\Wallpaper." + ($Data.WallpaperURL -replace ".*\."))
Expand Down

0 comments on commit 392b226

Please sign in to comment.