Fixed frontend packaging.

This commit is contained in:
genxium 2022-12-18 16:48:33 +08:00
parent 2928cbbe3c
commit 4e7c3060fe
8 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,7 @@
PROJECTNAME=server.exe PROJECTNAME=server.exe
ROOT_DIR=. ROOT_DIR=.
GOPROXY=https://mirrors.aliyun.com/goproxy #GOPROXY=https://mirrors.aliyun.com/goproxy
GOPROXY=https://goproxy.io
all: help all: help
gen-constants: gen-constants:

View File

@ -7,6 +7,7 @@ fi
basedir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) basedir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
PROJECTNAME=server.exe
OS_USER=$USER OS_USER=$USER
ServerEnv=$1 ServerEnv=$1
LOG_PATH="/var/log/treasure-hunter.log" LOG_PATH="/var/log/treasure-hunter.log"
@ -17,5 +18,5 @@ PID_FILE="$basedir/treasure-hunter.pid"
sudo su - root -c "touch $LOG_PATH" sudo su - root -c "touch $LOG_PATH"
sudo su - root -c "chown $OS_USER:$OS_USER $LOG_PATH" sudo su - root -c "chown $OS_USER:$OS_USER $LOG_PATH"
ServerEnv=$ServerEnv $basedir/server >$LOG_PATH 2>&1 & ServerEnv=$ServerEnv $basedir/$PROJECTNAME >$LOG_PATH 2>&1 &
echo $! > $PID_FILE echo $! > $PID_FILE

View File

@ -2,7 +2,8 @@ PROJECTNAME=viscol.exe
ROOT_DIR=. ROOT_DIR=.
all: help all: help
## Available proxies for downloading go modules are listed in "https://github.com/golang/go/wiki/Modules#how-do-i-use-vendoring-with-modules-is-vendoring-going-away". ## Available proxies for downloading go modules are listed in "https://github.com/golang/go/wiki/Modules#how-do-i-use-vendoring-with-modules-is-vendoring-going-away".
GOPROXY=https://mirrors.aliyun.com/goproxy #GOPROXY=https://mirrors.aliyun.com/goproxy
GOPROXY=https://goproxy.io
build: build:
GOPROXY=$(GOPROXY) go build -o $(ROOT_DIR)/$(PROJECTNAME) GOPROXY=$(GOPROXY) go build -o $(ROOT_DIR)/$(PROJECTNAME)

View File

@ -440,7 +440,7 @@
"array": [ "array": [
0, 0,
0, 0,
216.19964242526865, 215.64032554232523,
0, 0,
0, 0,
0, 0,

View File

@ -347,7 +347,6 @@ cc.Class({
const mapNode = self.node; const mapNode = self.node;
const canvasNode = mapNode.parent; const canvasNode = mapNode.parent;
cc.director.getCollisionManager().enabled = false;
// self.musicEffectManagerScriptIns = self.node.getComponent("MusicEffectManager"); // self.musicEffectManagerScriptIns = self.node.getComponent("MusicEffectManager");
self.musicEffectManagerScriptIns = null; self.musicEffectManagerScriptIns = null;

View File

@ -15,8 +15,6 @@ cc.Class({
window.mapIns = self; window.mapIns = self;
self.showCriticalCoordinateLabels = true; self.showCriticalCoordinateLabels = true;
cc.director.getCollisionManager().enabled = false;
const mapNode = self.node; const mapNode = self.node;
const canvasNode = mapNode.parent; const canvasNode = mapNode.parent;

View File

@ -17,13 +17,13 @@
}, },
"encryptJs": true, "encryptJs": true,
"excludeScenes": [ "excludeScenes": [
"475b849b-44b3-4390-982d-bd0d9e695093" "368b10b6-88fc-423c-9fcd-545d9fc673bd"
], ],
"fb-instant-games": {}, "fb-instant-games": {},
"includeSDKBox": false, "includeSDKBox": false,
"inlineSpriteFrames": true, "inlineSpriteFrames": true,
"inlineSpriteFrames_native": true, "inlineSpriteFrames_native": true,
"md5Cache": true, "md5Cache": false,
"mergeStartScene": true, "mergeStartScene": true,
"optimizeHotUpdate": false, "optimizeHotUpdate": false,
"orientation": { "orientation": {

View File

@ -34,7 +34,6 @@
"design-resolution-width": 960, "design-resolution-width": 960,
"excluded-modules": [ "excluded-modules": [
"Collider", "Collider",
"DragonBones",
"Geom Utils", "Geom Utils",
"Mesh", "Mesh",
"MotionStreak", "MotionStreak",
@ -69,7 +68,7 @@
"shelter_z_reducer", "shelter_z_reducer",
"shelter" "shelter"
], ],
"last-module-event-record-time": 1579766511782, "last-module-event-record-time": 1671346284377,
"simulator-orientation": false, "simulator-orientation": false,
"simulator-resolution": { "simulator-resolution": {
"height": 640, "height": 640,