mirror of
https://github.com/jwinterm/monero-generator.git
synced 2026-10-17 05:11:26 +02:00
Coin generation now works
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
|
|||||||
cmake -G "Visual Studio 12 Win64" "..\.."
|
cmake -G "Visual Studio 12 Win64" "..\.."
|
||||||
msbuild.exe Bytecoin.sln /property:Configuration=Release ${COMPILE_ARGS}
|
msbuild.exe Bytecoin.sln /property:Configuration=Release ${COMPILE_ARGS}
|
||||||
else
|
else
|
||||||
make release-static
|
make release-static ${COMPILE_ARGS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $? == "0" ]]; then
|
if [[ $? == "0" ]]; then
|
||||||
|
|||||||
@@ -468,6 +468,18 @@
|
|||||||
"path": "/src/blocks/blocks.dat",
|
"path": "/src/blocks/blocks.dat",
|
||||||
"action": "add",
|
"action": "add",
|
||||||
"source": "/aeon/files/blocks.dat"
|
"source": "/aeon/files/blocks.dat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "bulk_replace",
|
||||||
|
"find": "monerod",
|
||||||
|
"replace": "aeond",
|
||||||
|
"file_pattern": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "bulk_replace",
|
||||||
|
"find": "monero-",
|
||||||
|
"replace": "aeon-",
|
||||||
|
"file_pattern": "*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ def findReplace(directory, find, replace, filePattern):
|
|||||||
s = s.decode('utf-8', errors='ignore').encode('utf-8').replace(find, replace)
|
s = s.decode('utf-8', errors='ignore').encode('utf-8').replace(find, replace)
|
||||||
with open(filepath, "w") as f:
|
with open(filepath, "w") as f:
|
||||||
f.write(s)
|
f.write(s)
|
||||||
os.chmod(filepath, int(str(oct(stats.st_mode))[3:], 8))
|
|
||||||
|
|
||||||
def text_creator(change):
|
def text_creator(change):
|
||||||
replace_text = ''
|
replace_text = ''
|
||||||
@@ -125,6 +124,7 @@ if not (set(required_extensions) <= set(loaded_extensions)):
|
|||||||
|
|
||||||
for file in extension['files']:
|
for file in extension['files']:
|
||||||
# Bulk replace text
|
# Bulk replace text
|
||||||
|
|
||||||
if 'action' in file.keys() and file['action'] == 'bulk_replace':
|
if 'action' in file.keys() and file['action'] == 'bulk_replace':
|
||||||
if 'find' in file.keys() and 'replace' in file.keys() and 'file_pattern' in file.keys():
|
if 'find' in file.keys() and 'replace' in file.keys() and 'file_pattern' in file.keys():
|
||||||
sys.__stdout__.write("- Bulk replacing " + file['find'] + " with " + file['replace'] + "\n")
|
sys.__stdout__.write("- Bulk replacing " + file['find'] + " with " + file['replace'] + "\n")
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export EXTENSIONS_PATH="${SCRIPTS_PATH}/extensions"
|
|||||||
export TESTS_PATH="${SCRIPTS_PATH}/tests"
|
export TESTS_PATH="${SCRIPTS_PATH}/tests"
|
||||||
export CONFIG_PATH="${SCRIPTS_PATH}"
|
export CONFIG_PATH="${SCRIPTS_PATH}"
|
||||||
export TEMP_PATH="${WORK_FOLDERS_PATH}/tmp"
|
export TEMP_PATH="${WORK_FOLDERS_PATH}/tmp"
|
||||||
export UPDATES_PATH="${WORK_FOLDERS_PATH}/updates.dashcoin.patch"
|
export UPDATES_PATH="${WORK_FOLDERS_PATH}/updates.forknote.monero.patch"
|
||||||
export BASH_CONFIG="${WORK_FOLDERS_PATH}/config.cfg"
|
export BASH_CONFIG="${WORK_FOLDERS_PATH}/config.cfg"
|
||||||
|
|
||||||
export CUSTOM_CUSTOMIZE_SCRIPT_PATH="${SCRIPTS_PATH}/custom/customize.sh"
|
export CUSTOM_CUSTOMIZE_SCRIPT_PATH="${SCRIPTS_PATH}/custom/customize.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user