-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd0d430
commit 02935c0
Showing
69 changed files
with
3,392 additions
and
3,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
*.ave-php linguist-language=PHP | ||
*.ngcs linguist-language=PHP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Setup/*.exe | ||
Setup/*.gz | ||
AVE-PHP-CRASH-*.txt | ||
NGC-TOOLKIT-CRASH-*.txt | ||
sync.ffs_db | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{ | ||
"files.associations": { | ||
"*.ave-php": "php", | ||
"*.ngcs": "php", | ||
}, | ||
"editor.insertSpaces": false, | ||
"php.stubs": [ | ||
"*", | ||
"imagick" | ||
], | ||
"php.version": "8.3" | ||
"php.version": "8.3", | ||
"php.problems.exclude": { | ||
"/": [7001,7103] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@AppType NGC_SCRIPT 2.3.0 | ||
<?php | ||
$app_name = 'NGC-TOOLKIT'; | ||
|
||
$version = file_get_contents($this->core->get_path("$this->path/version")); | ||
|
||
$this->core->title("$app_name Builder v$version"); | ||
|
||
$output = "$this->path/Setup"; | ||
$zip_name_a = $this->core->get_path("$output/{$app_name}_v{$version}_LINUX.tar"); | ||
$this->core->delete($zip_name_a); | ||
|
||
$zip_name_b = $this->core->get_path("$output/{$app_name}_v{$version}_LINUX.tar.gz"); | ||
$this->core->delete($zip_name_b); | ||
|
||
$this->core->echo(" Compress \"$zip_name_a\""); | ||
$this->core->exec("7z", "a -mx0 -ttar -- \"$zip_name_a\" \"includes\" \"vendor\" \"bin\*.sh\" \"composer.json\" \"Changelog.txt\" \"LICENSE\""); | ||
|
||
$this->core->echo(" Compress \"$zip_name_b\""); | ||
$this->core->exec("7z", "a -mx9 -tgzip -- \"$zip_name_b\" \"$zip_name_a\""); | ||
|
||
$this->core->delete($zip_name_a); | ||
|
||
if(file_exists($zip_name_b)){ | ||
$this->core->pause(" Operation done, press any key to back to menu"); | ||
} else { | ||
$this->core->pause(" Failed compress files."); | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@ECHO OFF | ||
chcp 65001 | ||
CD /D "%~dp0\.." | ||
CLS | ||
SET PHP=%PROGRAMFILES%\NGC-UTILITIES\php\8.3 | ||
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT | ||
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\imagick" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT | ||
IF NOT EXIST "%PHP%" ECHO.&ECHO NGC-UTILITIES PHP 8.3 is required&ECHO.&PAUSE>nul&EXIT | ||
SET PATH=%PATH%;%PHP%;%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0;%PROGRAMFILES%\NGC-UTILITIES\imagick | ||
"%PHP%\php.exe" "%CD%\includes\toolkit.php" --make-backup "%~1" | ||
GOTO :eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@ECHO OFF | ||
chcp 65001 | ||
CD /D "%~dp0\.." | ||
CLS | ||
SET PHP=%PROGRAMFILES%\NGC-UTILITIES\php\8.3 | ||
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT | ||
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\imagick" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT | ||
IF NOT EXIST "%PHP%" ECHO.&ECHO NGC-UTILITIES PHP 8.3 is required&ECHO.&PAUSE>nul&EXIT | ||
SET PATH=%PATH%;%PHP%;%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0;%PROGRAMFILES%\NGC-UTILITIES\imagick | ||
"%PHP%\php.exe" "%CD%\includes\script.php" %* | ||
GOTO :eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@ECHO OFF | ||
chcp 65001 | ||
CD /D "%~dp0\.." | ||
CLS | ||
SET PHP=%PROGRAMFILES%\NGC-UTILITIES\php\8.3 | ||
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT | ||
IF NOT EXIST "%PROGRAMFILES%\NGC-UTILITIES\imagick" ECHO.&ECHO NGC-UTILITIES is required&ECHO.&PAUSE>nul&EXIT | ||
IF NOT EXIST "%PHP%" ECHO.&ECHO NGC-UTILITIES PHP 8.3 is required&ECHO.&PAUSE>nul&EXIT | ||
SET PATH=%PATH%;%PHP%;%PROGRAMFILES%\NGC-UTILITIES\core\1.1.0;%PROGRAMFILES%\NGC-UTILITIES\imagick | ||
"%PHP%\php.exe" "%CD%\includes\toolkit.php" --interactive | ||
PAUSE | ||
GOTO :eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
cd "$(dirname "$0")" | ||
/usr/bin/php8.3 "$PWD/../includes/toolkit.php" --interactive |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.