File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,12 @@ mv score.exe app-bin.exe
123123echo " Creating native launcher executable..."
124124
125125# Generate C source code
126- cp launcher/launcher.c launcher.c
126+ echo " =========== "
127+ pwd
128+ ls $SCORE_SOURCE_DIR
129+ ls $SCORE_SOURCE_DIR /tools
130+ ls $SCORE_SOURCE_DIR /tools/launcher
131+ cp " $SCORE_SOURCE_DIR /tools/launcher/launcher.c" launcher.c
127132cat > launcher-defines.h << EOF
128133#pragma once
129134
@@ -132,10 +137,10 @@ cat > launcher-defines.h << EOF
132137#define HAS_AUTOPLAY $( [[ -n " $AUTOPLAY " ]] && echo 1 || echo 0)
133138#define HAS_SCORE $( [[ -n " ${SCORE_BASENAME} " ]] && echo 1 || echo 0)
134139
135- #define SCORE_CUSTOM_APP_ORGANIZATION_NAME "$SCORE_CUSTOM_APP_ORGANIZATION_NAME "
136- #define SCORE_CUSTOM_APP_ORGANIZATION_DOMAIN "$SCORE_CUSTOM_APP_ORGANIZATION_DOMAIN "
137- #define SCORE_CUSTOM_APP_APPLICATION_NAME "$SCORE_CUSTOM_APP_APPLICATION_NAME "
138- #define SCORE_CUSTOM_APP_APPLICATION_VERSION "$SCORE_CUSTOM_APP_APPLICATION_VERSION "
140+ #define SCORE_CUSTOM_APP_ORGANIZATION_NAME "$APP_ORGANIZATION "
141+ #define SCORE_CUSTOM_APP_ORGANIZATION_DOMAIN "$APP_DOMAIN "
142+ #define SCORE_CUSTOM_APP_APPLICATION_NAME "$APP_NAME "
143+ #define SCORE_CUSTOM_APP_APPLICATION_VERSION "$APP_VERSION "
139144
140145EOF
141146
Original file line number Diff line number Diff line change @@ -322,6 +322,8 @@ export OUTPUT_DIR
322322export RELEASE_TAG
323323export LOCAL_INSTALLER
324324export WORK_DIR
325+ export SCRIPT_DIR
326+ export SCORE_SOURCE_DIR
325327
326328# Build for each platform
327329for platform in " ${PLATFORMS[@]} " ; do
You can’t perform that action at this time.
0 commit comments