Compare commits
No commits in common. "e8568d85905caba722df40be07eed1a1a06cdc1e" and "7b02311f54c3c70c567933ce6205243e5f5ecd3b" have entirely different histories.
e8568d8590
...
7b02311f54
10
README.md
10
README.md
@ -4,17 +4,7 @@ A Plutonium launcher that aims to make old CoD games more accessible
|
|||||||
-----
|
-----
|
||||||
Currently being written from scratch, please be patient.
|
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
|
## To do
|
||||||
- Make each HTTPS request its own function instead of binding them to an event
|
- 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)
|
- De-duplicate code (HTTPS requests in src/main.js for example)
|
||||||
- Make a better UI/UX
|
- 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)
|
|
||||||
|
@ -397,10 +397,10 @@ electron.ipcMain.handle("login", function (event, username, password) {
|
|||||||
|
|
||||||
electron.ipcMain.handle("launch", function (event, game, online = true) {
|
electron.ipcMain.handle("launch", function (event, game, online = true) {
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
if (!(game in config["game-directories"])) {
|
if (!(game in config.gameDirectories)) {
|
||||||
return resolve(false);
|
return resolve(false);
|
||||||
}
|
}
|
||||||
let gameInstallDirectory = config["game-directories"][game];
|
let gameInstallDirectory = config.gameDirectories[game];
|
||||||
|
|
||||||
update.checkFiles(plutoniumManifest, plutoniumInstallDirectory).then(function (fileList) {
|
update.checkFiles(plutoniumManifest, plutoniumInstallDirectory).then(function (fileList) {
|
||||||
let filesToUpdate = fileList.filter(function (file) {
|
let filesToUpdate = fileList.filter(function (file) {
|
||||||
|
@ -9,11 +9,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<div id="card-container">
|
|
||||||
<article class="game-card">
|
|
||||||
|
|
||||||
</article>
|
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user