Skip to content

Commit

Permalink
App Version
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamaster committed Oct 18, 2024
1 parent 3732811 commit ee5dd13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
with open('/src/icons.json', encoding="utf-8") as json_file:
data = json.load(json_file)
# GitHub Version and Repository Links
version= "v.0.9.0"
appVersion= "v.0.9.0"
uBlob = "https://github.com/gigamaster/codemo/blob/main/app"
uEdit = "https://github.com/gigamaster/codemo/edit/main/app"
uFolder= "https://github.com/gigamaster/codemo/tree/main/app"
Expand Down Expand Up @@ -151,7 +151,7 @@ def get_template_foot():
foot = foot.replace("{{buildtime}}", "at " + dt.datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
foot = foot.replace("{{author}}", os.environ["GITHUB_REPOSITORY_OWNER"])
foot = foot.replace("{{giturl}}", os.environ["GITHUB_SERVER_URL"] + "/" + os.environ["GITHUB_REPOSITORY"] + "/")
foot = foot.replace("{{version}}", version)
foot = foot.replace("{{version}}", appVersion)

return foot

Expand Down
2 changes: 1 addition & 1 deletion src/template/foot.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3 id="defaultModalTitle" class="font-semibold tracking-wide text-neutral-900 d
<!-- Main footer -->
<footer class="flex items-center justify-between p-2 bg-white dark:bg-darker text-gray-400 text-xs">
<div class="m-2">
<a href="{{giturl}}" target="_blank" class="hover:underline">Codemo Digital Nomad—Web File Browser</a> — {{giturl}} Auto generated {{buildtime}}
<a href="{{giturl}}" target="_blank" class="hover:underline">Codemo Digital Nomad—Web File Browser</a> — {{appVersion}} Auto generated {{buildtime}}
</div>
<div class="m-2">Made by
<a href="https://github.com/gigamaster" target="_blank" class="hover:underline"> {{author}}</a>
Expand Down

0 comments on commit ee5dd13

Please sign in to comment.