diff --git a/package.json b/package.json index 02173e9..ebbebeb 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "scoreko-electron-dev", - "version": "0.2.0", - "description": "Electron wrapper to run NodeCG with the scoreko-dev bundle", + "version": "0.1.0", + "description": "Scoreko", "author": { - "name": "Scoreko Team", - "email": "dev@scoreko.local" + "name": "Pandipipas", + "email": "pablocg182000@gmail.com" }, "license": "MIT", "private": true, @@ -20,7 +20,7 @@ "pack": "npm run build && electron-builder --dir", "dist": "npm run build && electron-builder", "rebuild:native": "node scripts/rebuild-nodecg-native.mjs", - "rebuild:electron": "electron-rebuild --version 39.5.1 --module-dir lib/nodecg/workspaces/database-adapter-sqlite-legacy --only better-sqlite3 -f" + "rebuild:better-sqlite3": "electron-rebuild --version 39.5.1 --module-dir lib/nodecg/workspaces/database-adapter-sqlite-legacy --only better-sqlite3 -f" }, "build": { "appId": "com.scoreko.desktop", @@ -61,7 +61,7 @@ "nsis" ], "icon": "static/icons/icon.ico", - "executableName": "Scoreko" + "executableName": "scoreko" }, "nsis": { "oneClick": false, diff --git a/src/main/main.ts b/src/main/main.ts index 38cd94b..2c72ec1 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -19,10 +19,10 @@ type AppRuntimeConfig = { const RUNTIME_NAME = "electron internal node"; const DEFAULT_WINDOW_BACKGROUND = "#0f0f0f"; const DEFAULT_WINDOW_SIZE = { - width: 1280, - height: 800, - minWidth: 800, - minHeight: 500, + width: 1920, + height: 1080, + minWidth: 1920, + minHeight: 1080, }; const LOADING_WINDOW_SIZE = { width: 300, @@ -35,7 +35,7 @@ const runtimeConfig: AppRuntimeConfig = { iconPathOverride: getOptionalEnv("SCOREKO_APP_ICON_PATH"), nodecgPort: getEnv("NODECG_PORT", "9090"), bundleName: getEnv("NODECG_BUNDLE_NAME", "scoreko-dev"), - dashboardRoute: getEnv("SCOREKO_DASHBOARD_ROUTE", "dashboard/example/main.html?standalone=true"), + dashboardRoute: getEnv("SCOREKO_DASHBOARD_ROUTE", "dashboard/scoreko-dev/main.html?standalone=true"), loadingRoute: getEnv("SCOREKO_LOADING_ROUTE", "dashboard/loading/main.html?standalone=true"), loadDelayMs: parseEnvInt("ELECTRON_LOAD_DELAY_MS", 10000), startupTimeoutMs: parseEnvInt("NODECG_STARTUP_TIMEOUT_MS", 30000), diff --git a/static/icons/icon.ico b/static/icons/icon.ico new file mode 100644 index 0000000..7c89e63 Binary files /dev/null and b/static/icons/icon.ico differ diff --git a/static/icons/icon.png b/static/icons/icon.png new file mode 100644 index 0000000..9f6b882 Binary files /dev/null and b/static/icons/icon.png differ diff --git a/static/icons/icon.svg b/static/icons/icon.svg index d58bfef..711bbc1 100644 --- a/static/icons/icon.svg +++ b/static/icons/icon.svg @@ -1,11 +1,33 @@ - - - - - - - - - - + + + + + + + + +