Compare commits

..

2 Commits

Author SHA1 Message Date
e8568d8590 Create base launcher UI 2024-11-10 15:04:06 -05:00
3bc9b9bd17 Fix a mistake and update README.md to better describe features 2024-11-10 00:03:04 -05:00
3 changed files with 17 additions and 3 deletions

View File

@ -4,7 +4,17 @@ A Plutonium launcher that aims to make old CoD games more accessible
-----
Currently being written from scratch, please be patient.
## Current features
- Plutonium login (maybe the first open-source launcher to implement such a thing)
- Launching games (currently not implemented in the UI)
- Choosing between online mode and LAN mode
- Automatic file checking and updating
## To do
- Make each HTTPS request its own function instead of binding them to an event
- De-duplicate code (HTTPS requests in src/main.js for example)
- Make a better UI/UX
## Planned features
- Native Mac and Linux support (and launching the game with WINE using binfmt)
- Custom manifest support (useful for modding or optimizing)

View File

@ -397,10 +397,10 @@ electron.ipcMain.handle("login", function (event, username, password) {
electron.ipcMain.handle("launch", function (event, game, online = true) {
return new Promise(function (resolve, reject) {
if (!(game in config.gameDirectories)) {
if (!(game in config["game-directories"])) {
return resolve(false);
}
let gameInstallDirectory = config.gameDirectories[game];
let gameInstallDirectory = config["game-directories"][game];
update.checkFiles(plutoniumManifest, plutoniumInstallDirectory).then(function (fileList) {
let filesToUpdate = fileList.filter(function (file) {

View File

@ -9,7 +9,11 @@
</head>
<body>
<main>
<div id="card-container">
<article class="game-card">
</article>
</div>
</main>
</body>
</html>