Skip to content

Commit

Permalink
🔨 Change Github settings to github.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Arekushi committed Nov 23, 2023
1 parent 0227b97 commit 9d08f82
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
1 change: 1 addition & 0 deletions config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
'./toml/typer.toml',
'./toml/chat-gpt.toml',
'./toml/translator.toml',
'./toml/github.toml',
'./toml/settings.toml',
'./toml/.secrets.toml'
],
Expand Down
10 changes: 10 additions & 0 deletions config/toml/github.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[GITHUB]
current_commit_sha = "d0f6cfeba59992b7fb49e70e2894988f9fee0134"
current_release_version = "2.0.0"
master_url = "https://github.com/Arekushi/nier-replicant-pt-br-translation/archive/master.zip"
last_release_url = "https://api.github.com/repos/Arekushi/nier-replicant-pt-br-translation/releases/latest"
commits_url = "https://api.github.com/repos/Arekushi/nier-replicant-pt-br-translation/commits"
data_files_urls = [
"https://raw.githubusercontent.com/Arekushi/nier-replicant-pt-br-translation/master/patch/data/common.arc",
"https://raw.githubusercontent.com/Arekushi/nier-replicant-pt-br-translation/master/patch/data/info.arc",
]
12 changes: 0 additions & 12 deletions config/toml/settings.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
[GITHUB]
current_release_version = '2.0.0'
current_commit_sha = '6402e23835c78c4f0aa580f12da76f6652456afc'
master_url = "https://github.com/Arekushi/nier-replicant-pt-br-translation/archive/master.zip"
last_release_url = "https://api.github.com/repos/Arekushi/nier-replicant-pt-br-translation/releases/latest"
commits_url = "https://api.github.com/repos/Arekushi/nier-replicant-pt-br-translation/commits"
data_files_urls = [
'https://raw.githubusercontent.com/Arekushi/nier-replicant-pt-br-translation/master/patch/data/common.arc',
'https://raw.githubusercontent.com/Arekushi/nier-replicant-pt-br-translation/master/patch/data/info.arc'
]


[ARGS]
target_language = 'pt'
source_language = 'en'
Expand Down
2 changes: 1 addition & 1 deletion src/miscellaneous/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def update_commit_sha():
}
}

write(F'{ROOT_DIR}\\{tomls}\\settings.toml', obj, merge=True)
write(F'{ROOT_DIR}\\{tomls}\\github.toml', obj, merge=True)
settings.update(obj)

return obj
Expand Down

0 comments on commit 9d08f82

Please sign in to comment.