Skip to content

Commit

Permalink
3.8.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
GlennnM committed Sep 15, 2024
1 parent 48f7b5a commit 0a90812
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions client/FlashClient.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"Checking for Ninja Kiwi Archive..."
if ($IsWindows -or $ENV:OS) {
$cache = $env:APPDATA + '\Ninja Kiwi Archive\Cache'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8/cache_windows.zip'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8.1/cache_windows.zip'
$filename = 'cache_windows.zip'
$FULL_SIZE = 45118579
$FULL_SIZE = 49374372
} else {
$cache = $HOME + '/Library/Application Support/Ninja Kiwi Archive/Cache'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8/cache_osx.zip'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8.1/cache_osx.zip'
$filename = 'cache_osx.zip'
$FULL_SIZE = 44935496
$FULL_SIZE = 49192320
}
[int]$FULL_MB = $FULL_SIZE / 0.1MB
$FULL_MB_FLOAT = $FULL_MB / 10
Expand Down Expand Up @@ -43,7 +43,7 @@ if (Test-Path -Path $cache) {
"Archive cache cleared!"
try {
"Checking version..."
$N.DownloadFile('https://github.com/GlennnM/FlashPrivateServer/raw/main/v3.8.txt',$cache + '/test.txt')
$N.DownloadFile('https://github.com/GlennnM/FlashPrivateServer/raw/main/v3.8.1.txt',$cache + '/test.txt')
Remove-Item $cache'/test.txt'
"Version check successful!"
} catch {
Expand Down
10 changes: 5 additions & 5 deletions client/FlashClient.ps1
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"Checking for Ninja Kiwi Archive..."
if ($IsWindows -or $ENV:OS) {
$cache = $env:APPDATA + '\Ninja Kiwi Archive\Cache'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8/cache_windows.zip'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8.1/cache_windows.zip'
$filename = 'cache_windows.zip'
$FULL_SIZE = 45118579
$FULL_SIZE = 49374372
} else {
$cache = $HOME + '/Library/Application Support/Ninja Kiwi Archive/Cache'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8/cache_osx.zip'
$zippath = 'https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8.1/cache_osx.zip'
$filename = 'cache_osx.zip'
$FULL_SIZE = 44935496
$FULL_SIZE = 49192320
}
[int]$FULL_MB = $FULL_SIZE / 0.1MB
$FULL_MB_FLOAT = $FULL_MB / 10
Expand Down Expand Up @@ -36,7 +36,7 @@ if (Test-Path -Path $cache) {
"Archive cache cleared!"
try {
"Checking version..."
$N.DownloadFile('https://github.com/GlennnM/FlashPrivateServer/raw/main/v3.8.txt',$cache + '/test.txt')
$N.DownloadFile('https://github.com/GlennnM/FlashPrivateServer/raw/main/v3.8.1.txt',$cache + '/test.txt')
Remove-Item $cache'/test.txt'
"Version check successful!"
} catch {
Expand Down
4 changes: 2 additions & 2 deletions client/FlashClient.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
curl https://github.com/GlennnM/FlashPrivateServer/raw/main/v3.8.txt > /dev/null && \
curl https://github.com/GlennnM/FlashPrivateServer/raw/main/v3.8.1.txt > /dev/null && \
cd "$HOME/Library/Application Support/Ninja Kiwi Archive/Cache" && \
rm -r * && \
curl -sS -L https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8/cache_osx.zip > file.zip && \
curl -sS -L https://github.com/GlennnM/FlashPrivateServer/releases/download/v3.8.1/cache_osx.zip > file.zip && \
unzip file.zip && \
rm file.zip && \
echo "Installation successful!"
File renamed without changes.

0 comments on commit 0a90812

Please sign in to comment.