-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Showing
5 changed files
with
45 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
echo " ---- Build Cosmos ----" | ||
|
||
rm -rf build | ||
|
||
cp src/update.go src/launcher/update.go | ||
|
||
go build -o build/cosmos src/*.go | ||
if [ $? -ne 0 ]; then | ||
exit 1 | ||
fi | ||
go build -o build/cosmos-launcher ./src/launcher/launcher.go ./src/launcher/update.go | ||
if [ $? -ne 0 ]; then | ||
exit 1 | ||
fi | ||
|
||
echo " ---- Build complete, copy assets ----" | ||
|
||
cp start.sh build/start.sh | ||
chmod +x build/start.sh | ||
chmod +x build/cosmos | ||
chmod +x build/cosmos-launcher | ||
|
||
cp -r static build/ | ||
cp -r GeoLite2-Country.mmdb build/ | ||
cp nebula-arm-cert nebula-cert nebula-arm nebula build/ | ||
cp -r Logo.png build/ | ||
mkdir build/images | ||
cp client/src/assets/images/icons/cosmos_gray.png build/cosmos_gray.png | ||
cp client/src/assets/images/icons/cosmos_gray.png cosmos_gray.png | ||
echo '{' > build/meta.json | ||
cat package.json | grep -E '"version"' >> build/meta.json | ||
echo ' "buildDate": "'`date`'",' >> build/meta.json | ||
echo ' "built from": "'`hostname`'"' >> build/meta.json | ||
echo '}' >> build/meta.json | ||
|
||
echo " ---- copy complete ----" |
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,3 +1,6 @@ | ||
## Version 0.17.3 | ||
- fix race condition with the monitoring | ||
|
||
## Version 0.17.2 | ||
- Fix RClone false error | ||
|
||
|
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
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