mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2025-04-10 12:16:04 -05:00
fix: Send notification on success
This commit is contained in:
parent
454db3c28a
commit
c914b920d7
1 changed files with 4 additions and 2 deletions
|
@ -15,7 +15,7 @@ import requests as req
|
||||||
from packaging.version import Version
|
from packaging.version import Version
|
||||||
|
|
||||||
from ReVancedBuilder.APKPure_dl import get_apks
|
from ReVancedBuilder.APKPure_dl import get_apks
|
||||||
from ReVancedBuilder.Cleanup import err_exit, move_apps
|
from ReVancedBuilder.Cleanup import err_exit, move_apps, send_notif
|
||||||
from ReVancedBuilder.JAVABuilder import build_apps
|
from ReVancedBuilder.JAVABuilder import build_apps
|
||||||
|
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ except FileNotFoundError:
|
||||||
appstate["present_vers"] = json.loads("{}")
|
appstate["present_vers"] = json.loads("{}")
|
||||||
|
|
||||||
appstate["up-to-date"] = True
|
appstate["up-to-date"] = True
|
||||||
# send_notif(appstate, error=False) # <,,,,,,,,<,,,,,,,,,,,,,
|
|
||||||
if flag != "buildonly":
|
if flag != "buildonly":
|
||||||
appstate = update_tools(appstate)
|
appstate = update_tools(appstate)
|
||||||
appstate = update_gmscore(appstate)
|
appstate = update_gmscore(appstate)
|
||||||
|
@ -218,6 +218,8 @@ elif flag != "checkonly":
|
||||||
print(f"Got exception while running the build: '{ex}'")
|
print(f"Got exception while running the build: '{ex}'")
|
||||||
err_exit("", appstate, 0)
|
err_exit("", appstate, 0)
|
||||||
|
|
||||||
|
send_notif(appstate)
|
||||||
|
|
||||||
# Delete the lockfile
|
# Delete the lockfile
|
||||||
os.remove("lockfile")
|
os.remove("lockfile")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue