Skip to content
Snippets Groups Projects
Commit c4877cbe authored by Wumbo's avatar Wumbo
Browse files

Initial commit

parents
Branches
No related merge requests found
*.dll filter=lfs diff=lfs merge=lfs -text
*.ocx filter=lfs diff=lfs merge=lfs -text
*.mid filter=lfs diff=lfs merge=lfs -text
*.pwc filter=lfs diff=lfs merge=lfs -text
*.exe filter=lfs diff=lfs merge=lfs -text
*.db filter=lfs diff=lfs merge=lfs -text
*.x32 filter=lfs diff=lfs merge=lfs -text
*.hlp filter=lfs diff=lfs merge=lfs -text
*.sqlite filter=lfs diff=lfs merge=lfs -text
\ No newline at end of file
File added
File added
File added
File added
File added
File added
File added
File added
variables:
COMPONENT_NAME: "supportpack-asapwebshow"
NEXUS_REPO: "components"
META_NAME: "ASAP WebShow"
META_DESCRIPTION: "Contains files needed to play $META_NAME entries."
include:
- project: 'flashpoint/docker/nexus-deploy-action'
ref: main
file: '/docker-build.gitlab-ci.yml'
deploy:
stage: build
script: |
COMP_FILE=${COMPONENT_NAME}.zip
COMP_JSON=${COMPONENT_NAME}.json
zip -r $COMP_FILE ./ -x "./.**"
jq --null-input \
--arg name "$META_NAME" \
--arg desc "$META_DESCRIPTION" \
--arg date $(date +%s) \
--arg download $(du -b $COMP_FILE | awk '{print $1}') \
--arg install $(7z l $COMP_FILE | tail -n 1 | awk '{print $3}') \
--arg path "FPSoftware" \
--arg hash $(crc32 $COMP_FILE) \
'{
"title": $name,
"description": $desc,
"date-modified": $date,
"download-size": $download,
"install-size": $install,
"path": $path,
"crc32": $hash
}' > $COMP_JSON
zip artifact.zip $COMP_FILE $COMP_JSON
artifacts:
paths:
- artifact.zip
\ No newline at end of file
@ECHO OFF
PUSHD %~dp0
REM Necessary Fonts
powershell -executionpolicy bypass -File "Fonts\Install-Font.ps1" "Fonts\ASAP Webshow\ASAPGLF.TTF"
FlashpointSecurePlayer netscape "%~1"
IF %ERRORLEVEL% EQU -2 (
ECHO MsgBox "You cannot run multiple instances of Flashpoint Secure Player. Please close other Flashpoint games and animations that are open." > %TMP%\TMP.VBS
WSCRIPT /nologo %TMP%\TMP.VBS
DEL %TMP%\TMP.VBS
)
REM Uninstall fonts
powershell -executionpolicy bypass -File "Fonts\Uninstall-Font.ps1" "Fonts\ASAP Webshow\ASAPGLF.TTF"
POPD
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment