Skip to content

Commit ebdabd4

Browse files
committed
Update install scripts
1 parent 9a1660d commit ebdabd4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docs/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $exePath = Join-Path -Path $installDir -ChildPath "$($APP_NAME.CLI).exe"
1313
Function 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."

docs/install.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
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
74
APP_NAME="FuckingNode"
85
CLI_NAME="fuckingnode"
96
STYLED_NAME="F*ckingNode"
10-
REPO="ZakaHaceCosas/$APP_NAME"
7+
REPO="$APP_NAME/$APP_NAME"
118
INSTALL_DIR="/usr/local/$APP_NAME"
129
EXE_PATH="$INSTALL_DIR/$CLI_NAME"
1310
BASE_URL="https://api.github.com/repos/$REPO/releases/latest"

0 commit comments

Comments
 (0)