mirror of
https://github.com/mileswolfallen2/OmniEmu2.0.git
synced 2026-12-06 08:33:53 +00:00
feat: add core functionality for emulator management and game library
- Implement IPC handlers for system info, emulator management, ROM scanning, and settings. - Create platform utilities to retrieve system information. - Develop preload script to expose API to renderer process. - Establish settings management with file read/write capabilities. - Build main application layout with React, including sidebar navigation and multiple pages (Dashboard, Emulators, Library, Settings). - Design and implement styles for a cohesive user interface. - Add type definitions for shared data structures between main and renderer processes. - Configure TypeScript and Vite for building the application.
This commit is contained in:
1 parent
14f0114c90
commit
27a5394510
28 files changed
+2243
No files matched your search
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Build OmniEmu for Linux
|
||||
# Usage: ./scripts/build-linux.sh [arch]
|
||||
# arch: x64 | arm64 (default: current arch)
|
||||
# Targets: AppImage, deb
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
|
||||
cd "$PROJECT_DIR"
|
||||
|
||||
ARCH="${1:-$(uname -m)}"
|
||||
case "$ARCH" in
|
||||
x86_64|amd64) ARCH_FLAG="x64" ;;
|
||||
aarch64) ARCH_FLAG="arm64" ;;
|
||||
*) echo "Unknown arch: $ARCH"; exit 1 ;;
|
||||
esac
|
||||
|
||||
echo "==> Installing dependencies..."
|
||||
npm install
|
||||
|
||||
echo "==> Building for Linux ($ARCH_FLAG)..."
|
||||
npm run build
|
||||
|
||||
echo "==> Packaging for Linux ($ARCH_FLAG)..."
|
||||
# Build AppImage and deb
|
||||
npx electron-builder --linux --${ARCH_FLAG}
|
||||
|
||||
echo "==> Done! Artifacts in ./release/"
|
||||
Reference in new issue
Block a user