mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
✨ Add patch version to file name
This commit is contained in:
committed by
Nikhil Badyal
parent
99537fa5f1
commit
7444ef9029
+1
-1
@@ -81,7 +81,7 @@ class APP(object):
|
|||||||
"""
|
"""
|
||||||
current_date = datetime.now(timezone(time_zone))
|
current_date = datetime.now(timezone(time_zone))
|
||||||
formatted_date = current_date.strftime("%Y%b%d_%I%M%p").upper()
|
formatted_date = current_date.strftime("%Y%b%d_%I%M%p").upper()
|
||||||
return f"Re-{self.app_name}-{slugify(self.app_version)}-{formatted_date}-output.apk"
|
return f"Re-{self.app_name}-app-version{slugify(self.app_version)}-{formatted_date}-patch-version-{slugify(self.resource["patches"]["version"])}output.apk"
|
||||||
|
|
||||||
def __str__(self: "APP") -> str:
|
def __str__(self: "APP") -> str:
|
||||||
"""Returns the str representation of the app."""
|
"""Returns the str representation of the app."""
|
||||||
|
|||||||
Reference in New Issue
Block a user