Skip to content

Commit

Permalink
change mugen to ikemen
Browse files Browse the repository at this point in the history
  • Loading branch information
neolao committed Jan 28, 2024
1 parent d983aae commit b5d7973
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 346 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2024-01-28
### Changed
- Support Ikemen GO

## [0.32.1] - 2020-04-15
### Fixed
- Window configuration
Expand Down Expand Up @@ -62,7 +66,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Random character includes styles
- Random character select the first color automatically

[Unreleased]: https://github.com/mugen-launcher/quick-versus/compare/0.32.1...HEAD
[Unreleased]: https://github.com/mugen-launcher/quick-versus/compare/1.0.0...HEAD
[1.0.0]: https://github.com/mugen-launcher/quick-versus/compare/0.32.1...1.0.0
[0.32.1]: https://github.com/mugen-launcher/quick-versus/compare/0.32.0...0.32.1
[0.32.0]: https://github.com/mugen-launcher/quick-versus/compare/0.31.0...0.32.0
[0.31.0]: https://github.com/mugen-launcher/quick-versus/compare/0.30.2...0.31.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,5 +235,5 @@ npm start /path/to/mugen/directory

With Auto-Reload:
```bash
npm run start:auto-<platform>
npm run start:autoreload-mac
```
5 changes: 0 additions & 5 deletions __mocks__/electron.js

This file was deleted.

9 changes: 7 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ const { app, BrowserWindow, ipcMain } = require("electron");
const path = require("path");
const fs = require("fs");
const configYaml = require("config-yaml");
const isDev = true;
const isDev = process.env.DEV;
const version = process.env.npm_package_version;

// Enable auto-reload in development if set
try {
Expand Down Expand Up @@ -78,7 +79,7 @@ function createWindow() {
height,
fullscreen,
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
preload: path.join(__dirname, "preload.js"),
nodeIntegration: true,
enableRemoteModule: true
},
Expand All @@ -94,6 +95,9 @@ app.on("window-all-closed", () => {
app.quit();
});

function getVersion(event) {
event.returnValue = version;
}

async function executeFile (event, filePath, args, options) {
execFile(filePath, args, options, () => {
Expand Down Expand Up @@ -127,6 +131,7 @@ function getCurrentDirectoryExported(event) {

async function start() {
await app.whenReady();
ipcMain.on("getVersion", getVersion);
ipcMain.on("execFile", executeFile);
ipcMain.on("existsSync", existsSync);
ipcMain.on("readFileSync", readFileSync);
Expand Down
185 changes: 0 additions & 185 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "mugen-quick-versus-launcher",
"name": "ikemen-quick-versus-launcher",
"author": "neolao",
"license": "MIT",
"version": "1.0.0",
"description": "Mugen launcher for Quick Versus",
"keywords": [
"mugen",
"ikemen",
"electron",
"launcher"
],
"scripts": {
"start": "webpack --mode development && electron .",
"start:auto-mac": "concurrently --kill-others \"npm run dev\" \"export AUTO_RELOAD=true && npm start\"",
"start:auto-windows": "concurrently --kill-others \"npm run dev\" \"set AUTO_RELOAD=true&& npm start\"",
"start:autoreload-mac": "concurrently --kill-others \"npm run dev\" \"DEV=true AUTO_RELOAD=true npm start\"",
"pack-linux": "npm run build && electron-builder --linux --x64",
"pack-mac": "npm run build && electron-builder --mac --x64",
"pack-windows": "npm run build && electron-builder --win --x64",
Expand Down Expand Up @@ -58,10 +58,6 @@
"file-loader": "^6.2.0",
"ini": "^4.1.1",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.7.7",
"postcss-import": "^16.0.0",
"postcss-loader": "^8.0.0",
"postcss-nested": "^6.0.1",
"prettier": "^3.2.4",
"react": "^16.14.0",
"react-dom": "^16.14.0",
Expand Down Expand Up @@ -105,7 +101,7 @@
"productName": "quick-versus",
"files": [
"index.js",
"index.html",
"preload.js",
"build"
],
"mac": {
Expand Down
6 changes: 0 additions & 6 deletions postcss.config.js

This file was deleted.

Loading

0 comments on commit b5d7973

Please sign in to comment.