Preparing for the standalone
This commit is contained in:
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,
|
||||
executableName: "shapezio",
|
||||
icon: path.join(electronBaseDir, "favicon"),
|
||||
name: "shapez.io Standalone",
|
||||
name: "shapez.io-standalone",
|
||||
out: tempDestDir,
|
||||
overwrite: true,
|
||||
appBundleId: "io.shapez.standalone",
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
"scripts": {
|
||||
"dev": "./gulp/gulp main.serveDev",
|
||||
"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": {
|
||||
"@babel/core": "^7.5.4",
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
.exitAppButton {
|
||||
@include S(right, 100px);
|
||||
background-image: resolve("icons/main_menu_exit.png");
|
||||
background-image: uiResource("icons/main_menu_exit.png");
|
||||
}
|
||||
|
||||
.fullscreenBackgroundVideo {
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
<!-- misc -->
|
||||
<meta http-equiv="Cache-Control" content="private, max-age=0, no-store, no-cache, must-revalidate" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
</head>
|
||||
<body oncontextmenu="return false" style="background: #393747;"></body>
|
||||
</html>
|
||||
|
|
|
@ -6,7 +6,7 @@ export const IS_DEBUG =
|
|||
window.location.search.indexOf("nodebug") < 0;
|
||||
|
||||
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);
|
||||
|
||||
const smoothCanvas = true;
|
||||
|
|
Loading…
Reference in New Issue