Skip to content

Commit 7c9c46a

Browse files
authored
Merge pull request #196 from matthewyang204/fix-localappdata-paths
Prefer appdata next to script but also accept next to interpreter
2 parents d341966 + 246d588 commit 7c9c46a

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

Aura-Text-setup-x64.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "Aura Text"
5-
#define MyAppVersion "5.4.2"
5+
#define MyAppVersion "5.5.0"
66
#define MyAppPublisher "Rohan Kishore"
77
#define MyAppURL "https://github.com/rohankishore/Aura-Text"
88
#define MyAppExeName "Aura Text.exe"

auratext/Components/About.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def init_ui(self):
3636
# App description
3737
description = QLabel("Aura Text is a versatile and powerful text editor powered by QScintilla that provides all the necessary tools for developers. It is build using PyQt6 and Python."
3838
"\n" + "\n"
39-
"Version: v5.4.2" + "\n" + "\n" + "\n" + "Made with ❣️ by Rohan Kishore")
39+
"Version: v5.5.0" + "\n" + "\n" + "\n" + "Made with ❣️ by Rohan Kishore")
4040
description.setWordWrap(True)
4141
description.setAlignment(Qt.AlignmentFlag.AlignCenter)
4242

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
local_app_data, script_dir = get_appdata_dirs()
3939

4040
template_app_data = os.path.join(os.path.dirname(os.path.abspath(__file__)), "LocalAppData", "AuraText")
41+
if not os.path.exists(template_app_data):
42+
template_app_data = os.path.join(os.path.dirname(sys.executable), "LocalAppData", "AuraText")
4143
if not os.path.exists(local_app_data):
4244
print("Setting up appdata...")
4345
shutil.copytree(template_app_data, local_app_data)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "aura-text"
3-
version = "5.4.2"
3+
version = "5.5.0"
44
description = "Aura Text is a versatile and powerful text editor powered by QScintilla that provides all the necessary tools for developers. It is build using PyQt6 and Python."
55
authors = ["Rohan Kishore (@rohankishore on GitHub)"]
66
license = "GPL-3.0-or-later"

0 commit comments

Comments
 (0)