Skip to content

Commit

Permalink
v1.0.0.002
Browse files Browse the repository at this point in the history
  • Loading branch information
Soszust40 committed Jun 2, 2024
1 parent f4c0001 commit e59a0d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Achievement_Watcher.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
## Oszust OS Achievement Watcher - Oszust Industries
## Created on: 7-16-21 - Last update: 6-02-24
## Achievement Notifications Library v1.5.1 - Oszust Industries
softwareVersion = "v1.0.0"
softwareVersion = "v1.0.0.002"
def clear(): return ("\n" * 70)
from datetime import datetime, timedelta
import AutoUpdater
import os
import json
import pathlib
import pickle

def softwareConfig():
Expand Down Expand Up @@ -226,9 +227,8 @@ def accountLogin(accountAction):
try: pickle.load(open(str(os.getenv('APPDATA') + "\\Oszust Industries\\Available Account.p"), "rb"))
except OSError:
try:
os.mkdir(str(os.getenv('APPDATA') + "\\Oszust Industries"))
pathlib.Path(os.path.join(os.getenv('APPDATA'), "Oszust Industries", "Accounts")).mkdir(parents=True, exist_ok=True) ## Create cache folder in appdata
pickle.dump([], open(str(os.getenv('APPDATA') + "\\Oszust Industries\\Available Account.p"), "wb"))
os.mkdir(str(os.getenv('APPDATA') + "\\Oszust Industries\\Accounts"))
except OSError:
shutil.rmtree(str(os.getenv('APPDATA') + "\\Oszust Industries"))
accountLogin("createUserPath")
Expand Down

0 comments on commit e59a0d0

Please sign in to comment.