Preparing for the standalone

pull/33/head
tobspr 4 years ago
parent 58442eaeec
commit 89d1489ff1

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

@ -128,7 +128,7 @@ function gulptasksStandalone($, gulp, buildFolder) {
asar: true, asar: true,
executableName: "shapezio", executableName: "shapezio",
icon: path.join(electronBaseDir, "favicon"), icon: path.join(electronBaseDir, "favicon"),
name: "shapez.io Standalone", name: "shapez.io-standalone",
out: tempDestDir, out: tempDestDir,
overwrite: true, overwrite: true,
appBundleId: "io.shapez.standalone", appBundleId: "io.shapez.standalone",

@ -9,7 +9,8 @@
"scripts": { "scripts": {
"dev": "./gulp/gulp main.serveDev", "dev": "./gulp/gulp main.serveDev",
"tslint": "cd src/js && tsc", "tslint": "cd src/js && tsc",
"prettier-all": "prettier --write src/**/*.* && prettier --write gulp/**/*.*" "prettier-all": "prettier --write src/**/*.* && prettier --write gulp/**/*.*",
"publishOnItch": "butler push tmp_standalone_files/shapez.io-standalone-win32-x64 tobspr/shapezio:windows --userversion-file version"
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.5.4", "@babel/core": "^7.5.4",

@ -25,7 +25,7 @@
.exitAppButton { .exitAppButton {
@include S(right, 100px); @include S(right, 100px);
background-image: resolve("icons/main_menu_exit.png"); background-image: uiResource("icons/main_menu_exit.png");
} }
.fullscreenBackgroundVideo { .fullscreenBackgroundVideo {

@ -17,7 +17,6 @@
<!-- misc --> <!-- misc -->
<meta http-equiv="Cache-Control" content="private, max-age=0, no-store, no-cache, must-revalidate" /> <meta http-equiv="Cache-Control" content="private, max-age=0, no-store, no-cache, must-revalidate" />
<meta http-equiv="Expires" content="0" /> <meta http-equiv="Expires" content="0" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head> </head>
<body oncontextmenu="return false" style="background: #393747;"></body> <body oncontextmenu="return false" style="background: #393747;"></body>
</html> </html>

@ -6,7 +6,7 @@ export const IS_DEBUG =
window.location.search.indexOf("nodebug") < 0; window.location.search.indexOf("nodebug") < 0;
export const IS_DEMO = export const IS_DEMO =
(G_IS_RELEASE && !G_IS_STANDALONE) || (G_IS_PROD && !G_IS_STANDALONE) ||
(typeof window !== "undefined" && window.location.search.indexOf("demo") >= 0); (typeof window !== "undefined" && window.location.search.indexOf("demo") >= 0);
const smoothCanvas = true; const smoothCanvas = true;

Loading…
Cancel
Save