From 5a13d20ce908fd907ff87ef54b74aedffc7bf2d0 Mon Sep 17 00:00:00 2001 From: IFcoltransG <47414286+IFcoltransG@users.noreply.github.com> Date: Tue, 28 Nov 2023 16:28:02 +1300 Subject: [PATCH] Add binkplayer 1.0.1 --- drivers/binkplayer_v1.0.1_runtime_driver | 11 +++++++++++ install_deps.py | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 drivers/binkplayer_v1.0.1_runtime_driver diff --git a/drivers/binkplayer_v1.0.1_runtime_driver b/drivers/binkplayer_v1.0.1_runtime_driver new file mode 100644 index 0000000..ba6327d --- /dev/null +++ b/drivers/binkplayer_v1.0.1_runtime_driver @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 + +import os +import sys +import shutil + +ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +PATH = os.path.join(ROOT, 'deps', 'binkplayer_v1.0.1', 'binkplayer') +ARGS = ["binkplayer"] + sys.argv[1:] +os.execv(PATH, ARGS) +sleep(2) diff --git a/install_deps.py b/install_deps.py index ef7b34f..c9d80e4 100755 --- a/install_deps.py +++ b/install_deps.py @@ -174,6 +174,20 @@ 'd9926f792723e44a7ddb6dfe0a98f4f2c7943fc0', 'all'), + # Binkplayer v1.0.0 + ('deps/binkplayer_v1.0.1.tgz', + 'https://github.com/bladecoder/blade-ink/releases/download/v1.0.0/binkplayer-v1.0.1-x86_64-macos.tar.gz', + 'f40aa5a081167f7fa198b2eabf1fc7f33c0b6de9', + 'darwin'), + ('deps/binkplayer_v1.0.1.tgz', + 'https://github.com/bladecoder/blade-ink-rs/releases/download/v1.0.1/binkplayer-v1.0.1-x86_64-linux.tar.gz', + 'cbcf157a246733ada2fe7664712410030ec77fcd', + 'linux'), + ('deps/binkplayer_v1.0.1.zip', + 'https://github.com/bladecoder/blade-ink-rs/releases/download/v1.0.1/binkplayer-v1.0.1-x86_64-windows.zip', + '68ecd70530020cecc5a31270879673b0d9e9c071', + 'windows'), + ] ROOT_DIR = os.path.dirname(os.path.abspath(__file__))