首次提交
Some checks failed
Build and Release / build-and-test (arm64, alpine) (push) Successful in 8s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 14s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 14s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 23s
Build and Release / release (push) Failing after 26s
Some checks failed
Build and Release / build-and-test (arm64, alpine) (push) Successful in 8s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 14s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 14s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 23s
Build and Release / release (push) Failing after 26s
This commit is contained in:
18
init.sh
Normal file
18
init.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Modify the CMakeLists.txt and source files to change the project name from "xmrigcc-proxy" to "xxxigcc-proxy"
|
||||
sed -i 's/project(xmrigcc-proxy)/project(xxxigcc-proxy)/' CMakeLists.txt
|
||||
|
||||
# Modify donate functionality
|
||||
sed -i 's/kDefaultDonateLevel = 2/kDefaultDonateLevel = 0/' src/donate.h
|
||||
sed -i 's/donate.graef.in/127.0.0.1/' src/net/strategies/DonateStrategy.cpp
|
||||
sed -i 's/87.106.163.52/127.0.0.1/' src/net/strategies/DonateStrategy.cpp
|
||||
sed -i 's/"donate-level", 1/"donate-level", 0/' src/core/config/Config_platform.h
|
||||
sed -i 's/"donate-level": 2/"donate-level": 0/' src/config.json
|
||||
|
||||
# Modify version information
|
||||
sed -i 's/xmrigcc/xxxigcc/' src/version.h
|
||||
sed -i 's/XMRigCC/XXXigCC/' src/version.h
|
||||
|
||||
# Modify the config.json to set verbose to true
|
||||
sed -i 's/"verbose": false/"verbose": true/' src/config.json
|
||||
Reference in New Issue
Block a user