diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..068caa7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,27 @@ +kind: pipeline +type: docker + +environment: + BUILD_TYPE: "RC" + +steps: +- name: Windows Installer + image: sypingauto/gta5view-build:1.8-shared + environment: + BUILD_SCRIPT: "wininstall_build.sh" + QT_SELECT: "qt5-x86_64-w64-mingw32" + TCA_PASS: + from_secret: tca_pass + commands: + - .drone/drone.sh + +steps: +- name: Windows Portable + image: sypingauto/gta5view-build:1.8-static + environment: + BUILD_SCRIPT: "windows_build.sh" + QT_SELECT: "qt5-x86_64-w64-mingw32" + TCA_PASS: + from_secret: tca_pass + commands: + - .drone/drone.sh diff --git a/.drone/TelemetryClassAuthenticator.cpp.enc b/.drone/TelemetryClassAuthenticator.cpp.enc new file mode 100644 index 0000000..e905d2f Binary files /dev/null and b/.drone/TelemetryClassAuthenticator.cpp.enc differ diff --git a/.drone/drone.sh b/.drone/drone.sh new file mode 100644 index 0000000..b0d196f --- /dev/null +++ b/.drone/drone.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Decrypt Telemetry Authenticator +rm -rf tmext/TelemetryClassAuthenticator.cpp && \ +openssl aes-256-cbc -k ${TCA_PASS} -in .drone/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d -pbkdf2 + +# Check if build is not tagged +if [ "${DRONE_TAG}" == "" ]; then + export EXECUTABLE_TAG=-$(git rev-parse --short HEAD) +else + export EXECUTABLE_TAG= +fi + +# Check if package code is not set +if [ "${PACKAGE_CODE}" == "" ]; then + export PACKAGE_CODE=Drone +fi + +# Init Application Commit Hash +export APPLICATION_COMMIT=$(git rev-parse --short HEAD) + +# Start CI script and copying assets into base directory +.ci/ci.sh && \ +cp -Rf assets/* ./ diff --git a/.gitlab/gitlab.sh b/.gitlab/gitlab.sh index 4b0f4fe..87d2078 100755 --- a/.gitlab/gitlab.sh +++ b/.gitlab/gitlab.sh @@ -2,7 +2,7 @@ # Decrypt Telemetry Authenticator rm -rf tmext/TelemetryClassAuthenticator.cpp && \ -openssl aes-256-cbc -k $tca_pass -in .gitlab/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d +openssl aes-256-cbc -k ${tca_pass} -in .gitlab/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d # Check if build is not tagged if [ "${CI_COMMIT_TAG}" == "" ]; then diff --git a/res/gta5sync.qm b/res/gta5sync.qm new file mode 100644 index 0000000..be651ee --- /dev/null +++ b/res/gta5sync.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/res/gta5sync_es.qm b/res/gta5sync_es.qm new file mode 100644 index 0000000..9dad8df Binary files /dev/null and b/res/gta5sync_es.qm differ