mirror of
https://github.com/Pandipipas/scoreko-electron-dev.git
synced 2026-06-06 05:32:06 +00:00
update window_size
This commit is contained in:
+6
-6
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "scoreko-electron-dev",
|
"name": "scoreko-electron-dev",
|
||||||
"version": "0.2.0",
|
"version": "0.1.0",
|
||||||
"description": "Electron wrapper to run NodeCG with the scoreko-dev bundle",
|
"description": "Scoreko",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Scoreko Team",
|
"name": "Pandipipas",
|
||||||
"email": "dev@scoreko.local"
|
"email": "pablocg182000@gmail.com"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"pack": "npm run build && electron-builder --dir",
|
"pack": "npm run build && electron-builder --dir",
|
||||||
"dist": "npm run build && electron-builder",
|
"dist": "npm run build && electron-builder",
|
||||||
"rebuild:native": "node scripts/rebuild-nodecg-native.mjs",
|
"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": {
|
"build": {
|
||||||
"appId": "com.scoreko.desktop",
|
"appId": "com.scoreko.desktop",
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
"nsis"
|
"nsis"
|
||||||
],
|
],
|
||||||
"icon": "static/icons/icon.ico",
|
"icon": "static/icons/icon.ico",
|
||||||
"executableName": "Scoreko"
|
"executableName": "scoreko"
|
||||||
},
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"oneClick": false,
|
"oneClick": false,
|
||||||
|
|||||||
+5
-5
@@ -19,10 +19,10 @@ type AppRuntimeConfig = {
|
|||||||
const RUNTIME_NAME = "electron internal node";
|
const RUNTIME_NAME = "electron internal node";
|
||||||
const DEFAULT_WINDOW_BACKGROUND = "#0f0f0f";
|
const DEFAULT_WINDOW_BACKGROUND = "#0f0f0f";
|
||||||
const DEFAULT_WINDOW_SIZE = {
|
const DEFAULT_WINDOW_SIZE = {
|
||||||
width: 1280,
|
width: 1920,
|
||||||
height: 800,
|
height: 1080,
|
||||||
minWidth: 800,
|
minWidth: 1920,
|
||||||
minHeight: 500,
|
minHeight: 1080,
|
||||||
};
|
};
|
||||||
const LOADING_WINDOW_SIZE = {
|
const LOADING_WINDOW_SIZE = {
|
||||||
width: 300,
|
width: 300,
|
||||||
@@ -35,7 +35,7 @@ const runtimeConfig: AppRuntimeConfig = {
|
|||||||
iconPathOverride: getOptionalEnv("SCOREKO_APP_ICON_PATH"),
|
iconPathOverride: getOptionalEnv("SCOREKO_APP_ICON_PATH"),
|
||||||
nodecgPort: getEnv("NODECG_PORT", "9090"),
|
nodecgPort: getEnv("NODECG_PORT", "9090"),
|
||||||
bundleName: getEnv("NODECG_BUNDLE_NAME", "scoreko-dev"),
|
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"),
|
loadingRoute: getEnv("SCOREKO_LOADING_ROUTE", "dashboard/loading/main.html?standalone=true"),
|
||||||
loadDelayMs: parseEnvInt("ELECTRON_LOAD_DELAY_MS", 10000),
|
loadDelayMs: parseEnvInt("ELECTRON_LOAD_DELAY_MS", 10000),
|
||||||
startupTimeoutMs: parseEnvInt("NODECG_STARTUP_TIMEOUT_MS", 30000),
|
startupTimeoutMs: parseEnvInt("NODECG_STARTUP_TIMEOUT_MS", 30000),
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 288 KiB |
+32
-10
@@ -1,11 +1,33 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" role="img" aria-label="Generic app icon">
|
<?xml version="1.0" standalone="no"?>
|
||||||
<defs>
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||||
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||||
<stop offset="0%" stop-color="#0ea5e9"/>
|
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||||
<stop offset="100%" stop-color="#2563eb"/>
|
width="1563.000000pt" height="1563.000000pt" viewBox="0 0 1563.000000 1563.000000"
|
||||||
</linearGradient>
|
preserveAspectRatio="xMidYMid meet">
|
||||||
</defs>
|
|
||||||
<rect x="32" y="32" width="448" height="448" rx="96" fill="url(#bg)"/>
|
<g transform="translate(0.000000,1563.000000) scale(0.100000,-0.100000)"
|
||||||
<circle cx="256" cy="214" r="78" fill="#ffffff" fill-opacity="0.92"/>
|
fill="#000000" stroke="none">
|
||||||
<rect x="156" y="316" width="200" height="36" rx="18" fill="#ffffff" fill-opacity="0.92"/>
|
<path d="M2347 13308 c-404 -402 -682 -740 -982 -1188 -859 -1284 -1305 -2758
|
||||||
|
-1305 -4310 0 -1459 407 -2879 1178 -4110 168 -267 329 -493 531 -743 172
|
||||||
|
-213 179 -222 184 -217 2 3 23 80 46 171 85 340 199 641 368 979 253 506 581
|
||||||
|
955 975 1336 91 87 109 110 101 123 -155 241 -240 391 -344 606 -677 1405
|
||||||
|
-679 3043 -4 4450 453 946 1195 1738 2120 2262 77 43 148 82 158 86 15 6 4 20
|
||||||
|
-65 85 -159 149 -185 172 -197 172 -25 0 -329 -94 -496 -152 -286 -101 -598
|
||||||
|
-231 -905 -376 l-104 -49 -94 86 c-84 77 -114 116 -277 356 -101 149 -193 276
|
||||||
|
-205 283 -12 7 54 -99 146 -235 l167 -248 -75 75 c-54 54 -125 148 -248 330
|
||||||
|
-95 140 -179 259 -187 263 -7 5 -10 13 -7 19 4 6 3 8 -3 5 -6 -4 -57 38 -113
|
||||||
|
93 -57 55 -104 100 -106 100 -2 0 -118 -114 -257 -252z"/>
|
||||||
|
<path d="M14003 10785 l-66 -61 70 -42 c84 -49 284 -194 368 -266 203 -172
|
||||||
|
361 -337 514 -534 71 -91 191 -265 191 -276 0 -3 -46 28 -102 69 -214 153
|
||||||
|
-526 321 -753 403 -526 191 -1262 308 -1800 288 -244 -10 -606 -51 -706 -82
|
||||||
|
-9 -2 -32 -39 -51 -82 -45 -97 -2416 -4904 -2423 -4910 -15 -15 -313 254 -450
|
||||||
|
407 -157 175 -251 301 -348 462 -137 229 -109 205 -288 256 -285 81 -546 134
|
||||||
|
-844 170 -211 25 -830 25 -1053 0 -507 -58 -934 -168 -1410 -364 -9 -4 -12
|
||||||
|
-571 -12 -2787 l0 -2782 167 -66 c1347 -533 2881 -667 4334 -378 1346 267
|
||||||
|
2590 889 3634 1813 146 129 469 452 604 602 1113 1242 1786 2758 1956 4406 45
|
||||||
|
440 47 1035 5 1499 -68 736 -234 1431 -511 2135 l-71 180 -444 0 -444 0 -67
|
||||||
|
-60z"/>
|
||||||
|
<path d="M10341 10738 c-34 -160 -33 -151 -19 -142 7 4 50 32 94 60 45 29 133
|
||||||
|
82 195 118 l113 66 -180 0 -181 0 -22 -102z"/>
|
||||||
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user