File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $exePath = Join-Path -Path $installDir -ChildPath "$($APP_NAME.CLI).exe"
1313Function Get-LatestReleaseUrl {
1414 try {
1515 Write-Host " Fetching latest release from GitHub..."
16- $response = Invoke-RestMethod - Uri " https://api.github.com/repos/ZakaHaceCosas /FuckingNode/releases/latest"
16+ $response = Invoke-RestMethod - Uri " https://api.github.com/repos/FuckingNode /FuckingNode/releases/latest"
1717 $asset = $response.assets | Where-Object { $_.name -like " *.exe" -and $_.name -notlike " *INSTALLER*" }
1818 if (-not $asset ) {
1919 Throw " No .exe file found in the latest release."
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # i'll clarify - i didn't write most of this, i just copied stuff from places
4- # i'm no sh-er. if it doesn't work i accept any bonk (and any PR too)
5-
63# constants
74APP_NAME=" FuckingNode"
85CLI_NAME=" fuckingnode"
96STYLED_NAME=" F*ckingNode"
10- REPO=" ZakaHaceCosas /$APP_NAME "
7+ REPO=" $APP_NAME /$APP_NAME "
118INSTALL_DIR=" /usr/local/$APP_NAME "
129EXE_PATH=" $INSTALL_DIR /$CLI_NAME "
1310BASE_URL=" https://api.github.com/repos/$REPO /releases/latest"
You can’t perform that action at this time.
0 commit comments