mirror of
https://github.com/doolijb/serene-pub.git
synced 2026-04-28 03:20:07 +00:00
Fix run.cmd
This commit is contained in:
parent
63e376d887
commit
78e2aeb1f7
2 changed files with 26 additions and 30 deletions
26
NOTICE.md
26
NOTICE.md
|
|
@ -28,4 +28,30 @@ Trees used:
|
|||
|
||||
Serene Pub releases are distributed with third party packages included to provide a low-friction experience for users. This includes packages licensed under a variety of OSI-approved licenses, including MIT, BSD, Apache-2.0, and Python-2.0. License texts are included per package. We do not claim any additional rights over these third party works. Licenses can be found in `node_modules/<package>/LICENSE` of the respective release distributions.
|
||||
|
||||
### Node.js Runtime
|
||||
|
||||
Serene Pub distribution packages include the Node.js runtime (https://nodejs.org/) to provide a standalone experience without requiring users to install Node.js separately. Node.js is licensed under the MIT License:
|
||||
|
||||
```
|
||||
Copyright Node.js contributors. All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
```
|
||||
|
||||
A huge thank-you to all upstream work that has made this project possible.
|
||||
|
|
|
|||
|
|
@ -86,33 +86,3 @@ echo.
|
|||
echo Press any key to exit...
|
||||
pause >nul
|
||||
exit /b %EXIT_CODE%
|
||||
"%NODE_BIN%" "%APP_MAIN%"
|
||||
|
||||
REM === Application Exit Handling ===
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
echo.
|
||||
echo ========================================
|
||||
if %EXIT_CODE% equ 0 (
|
||||
echo Serene Pub stopped normally.
|
||||
) else (
|
||||
echo Serene Pub exited with code: %EXIT_CODE%
|
||||
echo Check the output above for any error messages.
|
||||
)
|
||||
echo.
|
||||
goto :End
|
||||
|
||||
:Error
|
||||
echo.
|
||||
echo ========================================
|
||||
echo Setup failed. Please try the following:
|
||||
echo 1. Check your internet connection
|
||||
echo 2. Temporarily disable antivirus/firewall
|
||||
echo 3. Run as administrator if needed
|
||||
echo 4. Visit https://github.com/doolijb/serene-pub for help
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
:End
|
||||
echo Press any key to exit...
|
||||
pause >nul
|
||||
exit /b %EXIT_CODE%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue