Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP - DO NOT USE] Pythonic and simpler refactor of wemod-launcher #138

Draft
wants to merge 77 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
245b5b2
refactor: Rename files, set executable bit
shymega Jul 11, 2024
f6d1c09
refactor: Update references to renamed modules
shymega Jul 12, 2024
97e6dc6
refactor: Move Python files to directory, fix some typos
shymega Jul 12, 2024
08e535b
refactor: Convert project to Poetry, with Nix flake
shymega Jul 12, 2024
3f69cb1
feat: Add initial util modules
shymega Jul 12, 2024
6b24c6a
fix: Update Poetry+Flake to work with Nix
shymega Jul 12, 2024
087c184
refactor: Refactor Log and Configuration utils
shymega Jul 12, 2024
ceb3683
fix: Fix broken LoggingHandler class
shymega Jul 12, 2024
2712573
refactor: Begin tidy up of `consts.py`
shymega Jul 12, 2024
ed57407
refactor: Prepare components for Python packaging
shymega Jul 12, 2024
3a8fdac
chore(flake): Remove unused overrides
shymega Jul 12, 2024
f7747f8
chore: Add note for later fix
shymega Jul 12, 2024
660a463
feat: Add script to Poetry
shymega Jul 12, 2024
45ea2bf
feat: Add initial start-up msg to CLI
shymega Jul 12, 2024
591b517
refactor: Move from YAML to TOML
shymega Jul 12, 2024
c5674b4
feat: Add initial Consts class, with `pathlib` support
shymega Jul 12, 2024
cf0fe74
feat; Get CLI to print STEAM_COMPAT_DATA_DIR
shymega Jul 12, 2024
e1fb882
feat(flake): Add overlay to Flake
shymega Jul 12, 2024
3e92732
chore: Bump deps and remove deps
shymega Jul 12, 2024
0e92c37
fix: Fix typo in STEAM_COMPAT_DATA_PATH env var
shymega Jul 12, 2024
364de04
fix: Remove debug print in `Configuration` class
shymega Jul 12, 2024
e70d570
fix: Rename import in accordance with dependency change to stdlib
shymega Jul 12, 2024
d2da431
chore: Run `black` on `utils/`
shymega Jul 13, 2024
c7e7b1e
fix(logger): Add optional env override for log file path
shymega Jul 13, 2024
28979d4
feat: Add initial GFX module - and welcome screen
shymega Jul 13, 2024
28b56f1
feat: Add initial Prefix module
shymega Jul 13, 2024
270c10f
chore: Use Nixpkgs 24.05
shymega Jul 13, 2024
a09fa72
fix: Allow for Tkinter to work
shymega Jul 13, 2024
362e784
chore: Remove unused print in CLI
shymega Jul 13, 2024
5c73e2b
refactor: Simplify gfx/WelcomeScreenGfx
shymega Jul 13, 2024
990307f
refactor: Return `None` rather than fail on non-existsent cfg key
shymega Jul 13, 2024
b385e7f
fix: Change Flake description
shymega Jul 13, 2024
819134f
chore: Add notes in pyproject.toml
shymega Jul 13, 2024
d122478
chore: Remove erroneous pyproject.toml
shymega Jul 13, 2024
1431003
fix: Add fallback to STEAM_COMPAT_DATA_PATH const
shymega Jul 13, 2024
62a5ad5
chore: Bump Poetry lock
shymega Jul 13, 2024
ce75bb9
fix: Make logging less chatty
shymega Jul 13, 2024
6cc5a43
refactor(Logger): Refactor `Logger` class
shymega Jul 13, 2024
1bdb2e8
fix: Fix typo in Flake overlay
shymega Jul 13, 2024
83395cf
fix: Adjust path in Configuration class and fix Flake
shymega Jul 13, 2024
835bc95
feat: Add `devenv` support, hooks & flake-compat support
shymega Jul 13, 2024
96f8be6
fix: Fix `actionlint` warning
shymega Jul 13, 2024
9643d2d
feat: Add 'devcontainer' support
shymega Jul 13, 2024
ea4cea9
fix: Remove unnecessary `.expanduser()`
shymega Jul 13, 2024
ac7e7ac
fix: Remove `.`/`_` replacement logic for logging module
shymega Jul 13, 2024
562c0aa
refactor: Use pyright and pass inputs to devenv
shymega Jul 13, 2024
e109423
feat: Add replacement `winepath`/`unixpath`
shymega Jul 13, 2024
eeab391
feat: Add more consts
shymega Jul 13, 2024
554301b
refactor: Use absolute module paths
shymega Jul 13, 2024
a0b2b2b
feat: Add initial (broken) PyInstaller support
shymega Jul 13, 2024
4082493
fix: Fix lint error with literals in Logger
shymega Jul 13, 2024
9432d96
fix: Lock Python to Python 3.11
shymega Jul 13, 2024
ef91166
chore: Format `devenv.nix`
shymega Jul 13, 2024
131db0f
feat: Export Tcl/Tk libraries
shymega Jul 13, 2024
8300ccf
chore: Remove erroneous print statement
shymega Jul 13, 2024
0603d15
fix(core_nodeps): Revert debugging change
shymega Jul 13, 2024
2af0447
fix: Fix missing `--env=` prefix on Flatpak
shymega Jul 13, 2024
cb54e7d
fix(CI): Fix CI workflow with new structure for codebase
shymega Jul 13, 2024
01f059a
fix(WineUtils): Fix potential breakages in WinNT path test
shymega Jul 13, 2024
60073e1
feat: Add caching for WeMod logo download
shymega Jul 13, 2024
08191c9
fix(CI): Fix typo in CI
shymega Jul 13, 2024
53b691e
fix: Simplify pyinstaller.py script (Poetry)
shymega Jul 13, 2024
1c04a30
fix(envrc): Use devenv in envrc
shymega Jul 13, 2024
8477c6d
refactor: Migrate to PDM from Poetry
shymega Nov 16, 2024
1b524e2
chore: Run lints on Nix files
shymega Nov 16, 2024
645a12f
Resolve conflicts
Dec 1, 2024
b3a21e8
Add helpers and move nix files
Dec 1, 2024
3a7d1f1
Add missing AGPL to dev.sh and move remaning nix file
Dec 1, 2024
d05de36
Merge remote-tracking branch 'origin/refactor-up' into refactor-spell…
Dec 2, 2024
3d834ff
Add usage warning
marvin1099 Dec 2, 2024
af540e0
Merge pull request #7 from marvin1099/refactor-spell+licence
marvin1099 Dec 2, 2024
ad55913
Merge pull request #141 from marvin1099/refactor-shymega
marvin1099 Dec 2, 2024
dbc2c29
Add PDM to pyinstaller and add build helper
marvin1099 Dec 2, 2024
e12da7f
Make a new consts.py version
marvin1099 Dec 4, 2024
acdefc5
Now the config manager uses Atribute read
marvin1099 Dec 4, 2024
1d77b49
A update for const and conf and new logger
marvin1099 Dec 5, 2024
41b3ec5
Revert Nix file movement
Dec 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: Add note for later fix
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
shymega committed Jul 13, 2024
commit f7747f8b5f1e495866246b7d6748807595d56de8
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
name = "wemod-launcher"
version = "2.000"
description = "Tool made to launch the popular Game Trainer / Cheat tool WeMod along with your game (made for steam-runtime version in Linux)."
authors = ["Dom Rodriguez <shymega@shymega.org.uk>"]
authors = ["Dom Rodriguez <shymega@shymega.org.uk>"] # TODO: Fix licensing.
license = "MIT"
readme = "README.md"